Arma 3 Virtual Arsenal Init



  • 1Category:

Audio

Jan 18, 2018 Save player`s loadout after closing arsenal in Arma 3. How to script an artillery piece to fire on a certain position in Arma 3. How to have a jet or helicopter fly by a position at a certain time. How to create a proper random spawning of enemies with Arma 3. Start a mortar strike on an enemy position in Arma 3. Posted: January 18, 2018. Support Provider: Artillery (Virtual) Support Provider: CAS (Bombing Run) Support Provider: CAS (Bombing Run, Virtual) Support Provider: CAS (Helicopter Attack) Support Provider: CAS (Helicopter Attack, Virtual) Support Provider: Helicopter Transport; Support Provider: Helicopter Transport (Virtual) Support Provider: Supply Drop.

  • Play Radio Message - Zeus

Effects

  • Bubbles
  • Cartridges
  • Chem Light
  • Close Air Support (CAS) - Zeus
  • Fire
  • Flare - Zeus
  • IR Grenade - Zeus
  • Ordnance - Zeus
  • Plankton
  • Smoke
  • Smoke Grenade
  • Tracers

Environment

  • Post-Process - Zeus
  • Skip time
  • Time acceleration - Zeus
  • Weather

Events

  • Date
  • Generic radio message
  • Radio Chat
  • Save Game
  • Volume

Gameplay Modes

  • Defend
  • Game Master - Zeus
  • Sector Control - Zeus
  • Seize
  • Support - Helicopters
  • Support: Base - Helicopters

Group Modifiers

  • Combat Get In
  • Set Callsign

Intel

  • Create Diary Record
  • Headquarters Entity
  • Set Task Description
  • Set Task Destination
  • Set Task State

Misc

  • Animals - Zeus
  • Cover Map - Zeus
  • Create Radio Channel - Zeus
  • Friendly Fire
  • High Command - Commander
  • High Command - Subordinate
  • Live Feed - Effects
  • Live Feed - Init
  • Live Feed - Set Source
  • Live Feed - Set Target
  • Live Feed - Terminate
  • Military Symbols
  • Posters
  • Skirmish: Trigger
  • Sling Load - Helicopters
  • Spawn Ai - Helicopters
  • Spawn AI: Options- Helicopters
  • Spawn AI: Sector Tactic - Helicopters
  • Spawn AI: Spawnpoint - Helicopters
  • Trident
  • Unlock Area
  • Unlock Object
  • Zone Restriction

Multiplayer

  • Respawn Position
  • Sector
  • Sector (Dummy)
  • Vehicle Respawn

Object Modifiers

  • Add Rating / Score
  • Open / Close Doors
  • Set AI Mode
  • Set Ammo
  • Set Character Damage
  • Set Mode
  • Set Position / Rotation
  • Set Rank
  • Set Skill
  • Set Vehicle Damage
  • Set Vehicle Fuel
  • Show / Hide
  • Simulation Manager

Objectives

  • Race - Check Point
  • Race - Finish
  • Race - Lineup

Scenario Flow

Arsenal
  • Bleed Tickets
  • Countdown
  • End Scenario
  • Respawn Tickets
  • Scenario Name
  • Zone Protection

Sites

  • Animals
  • BLUFOR Site
  • Empty Stie
  • Indepenant Site
  • Minefield
  • OPFOR Site
  • Random Patrol

Strategic

  • Custom Image
  • Mssion
  • Open Strategic Map
  • ORBAT Group
  • Strategic Map

Supports

  • Support Provider: Artillery
  • Support Provider: Artillery (Virtual)
  • Support Provider: CAS (Bombing Run)
  • Support Provider: CAS (Bombing Run, Virtual)
  • Support Provider: CAS (Helicopter Attack)
  • Support Provider: CAS (Helicopter Attack, Virtual)
  • Support Provider: Helicopter Transport
  • Support Provider: Helicopter Transport (Virtual)
  • Support Provider: Supply Drop
  • Support Provider: Supply Drop (Virtual)
  • Support Requester

Zeus

  • Add Camera Area
  • Add Editable Objects
  • Add Editing Area
  • Add Icon
  • Game Master
  • Manage Addons
  • Manage Resources
  • Restrict Editing Around Players
  • Set Attributes - Groups
  • Set Attributes - Markers
  • Set Attributes - Objects
  • Set Attributes - Players
  • Set Attributes - Waypoints
  • Set Camera Position
  • Set Costs (Default)
  • Set Costs (Side)
  • Set Costs - Objects
  • Set Costs - Soldiers & Vehicles
  • Set Editing Area Type
  • Set Editing Costs
  • Zeus Lightning Bolt
Retrieved from 'http://wiki.benargee.com/index.php?title=Modules_(Arma_3)&oldid=219'
Perhaps the biggest thing you are going to want to change is your weapon. The current selection of guns in the Arma 3 beta is fairly slim, however the addition of a multiple attachment system allows for those weapons to be used in multiple, different scenarios. So what kind of weapons and attachments are available?
As of the Beta, there are now sniper rifles and sub-machine guns in addition to the original arsenal of LMG's, DMR's, assault rifles and sidearms. No shotguns up to yet sadly. The silver lining is that every weapon has four attachment slots:
Sight/Optics (Top)
Laser Sight/IR Pointer (Side)
Silencer (Muzzle)
Magazine (Mag well)
These slots allow you to customise your weapon to suit your play style or scenario. The assault rifles also have a variant that uses a grenade launcher, again with many varying ammo types. So how can these weapons be used? It is in fact extremely similar to customising the players outfit and gear.
All lines of code will be entered here, in the unit's INIT line:

The format of the line used is like so:
unit addWeapon 'Classname';

In this case we will be using this to replace the unit portion, that will result in the currently selected soldier to be affected. addWeapon Armais the portion of the code that is the actual command and tells the engine to apply the following item to the desired unit. 'Classname' is the actual item to be added, as with all previous items, the names aren't as simple as 'MXM' or 'M4';
Here is an actual line of code that will add the MXM rifle to the current unit:
this addWeapon 'arifle_MXM_F';
Now that the rifle is assigned, it will need to be configured for the battlefield. For this instance the soldier will be a silent marksman tasked with ranged target acquisition and supporting fire. So here is a breakdown of what he will need for his task;
Long Range Optic
Silencer
IR Pointer

Arma 3 Virtual Arsenal Init Server

Now to add them. The command to add attachments to the soldier's primary or secondary weapon are as follows:
unit addPrimaryWeaponItem 'Classname';
unit addSecondaryWeaponItem 'Classname';

Depending on the command the attachment will be added to either the primary weapon or the secondary respectively. Now to add the items, here is what the gun looks like before the attachments are added:


But that is pretty plain and boring, so here is what it looks like after the attachments have been added through the code below:
this addPrimaryWeaponItem 'optic_SOS';
this addPrimaryWeaponItem 'muzzle_snds_B';
Much better, now the soldier is ready for some stealthy long range action. Whilst the options for side rails are limited, it is good to know that there are many different types of scopes in Arma 3 beta, some even have different holo light variants allowing the little bit extra customisation.
It is worth noting, however, that silencers or suppressors are very picky. Each caliber of weapon has it's ownsuppressor type. For instance, this rifle, the MXM, uses 7.62mm rounds and therefore requires the 'muzzle_snds_B' type. Below is a full list of the suppressors and their related caliber types:
muzzle_snds_B used on 7.62mm weapons
muzzle_snds_H used on 6.5mm NATO weapons
muzzle_snds_H_MG used on 6.5mm NATO LMG's
muzzle_snds_L used on 9mm weapons
So now the weapon is fully kitted out for the soldier's mission. Except for one thing. Ammo. The ammo classnames are extremely annoying and complicated. There are also many, many different types of ammunition types for all the different calibers as well special ammo types such as flare rounds for the grenade launcher. The type of ammo that is needed for this rifle is 7.62mm rounds. Here is the code for adding ammuntion.
unit addMagazine 'Classname';
So here is the specific code needed to add ammo for the MXM rifle that is currently being used:
this addMagazine '20Rnd_762x45_Mag';
This will add a single 20 round magazine for the MXM rifle (or any other weapon that uses 7.62mm rounds). In order to add more magazines, simply copy and paste the line of code for as many magazines is required.

_______________________________________________________________________________
unit addWeapon 'Classname';
Code to add the MXM rifle:

unit addPrimaryWeaponItem 'Classname';
unit addSecondaryWeaponItem 'Classname';

Code to add different attachments:

Arma 3 Ace Arsenal Script


this addPrimaryWeaponItem 'optic_SOS';
this addPrimaryWeaponItem 'muzzle_snds_B';
The add magazine format:

Arma 3 Virtual Arsenal Init Hack


this addMagazine '20Rnd_762x45_Mag';

Arma 3 Virtual Arsenal Initials



Arsenal

Arma 3 Arsenal Box Script

So now the soldier's are kitted out with all the weapons and attachments they need along with enough ammunition to fight a small war. Next topic is how to create customised gear boxes for use in missions.