Templates classname structure - official-antistasi-community/A3-Antistasi GitHub Wiki
units
loadouts_${faction}_${type}_${unitType}
replacing ${x} with its apropriate alternatives
- faction:
occ
,inv
,rebel
,civ
- type:
militia
,police
,military
,SF
,other
etc... - unitType:
SquadLeader
,Rifleman
,Medic
,Engineer
etc...
in templates you can see examples of type and unitType like this,
where _prefix = "militia"
would be our type militia
and in _unitTypes = [...
we see the strings "SquadLeader"
etc. theses would be our unitTypes like Squadleader
with this we can then compose our 'classname' for an occupant military squadleader as loadouts_occ_military_Squadleader
vehicles
to use the vehicles of the faction you need to get it from the faction templates
to give an example, say you want to get the basic vehicles from a faction you would do
private _basicVehicles = faction_${faction} getVariable ["vehiclesBasic", []];
replacing ${faction} with one off these: occ
, inv
, rebel
, or civ
all templates vehicles are supplied as arrays, and currently we only use the first ellement of this array, so add select 0
to the end of the line to replicate current antistasi behavior.
as you can see from the picture above for vanilla nato you would get an array with the blufor quadbike in it.