Arma 3
Not enough ratings
A3AE Custom Skeletons
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod, Server
File Size
Posted
132.656 KB
8 Aug @ 9:41am
1 Change Note ( view )

Subscribe to download
A3AE Custom Skeletons

Description
An extender for Antistasi Community that allows template makers to use custom skeletons in their templates.
Custom skeletons work by instead of spawning a default rifleman, spawning a custom unit like a Spartan from OPTRE. That unit then is equipped with a loadout as usual.
To make a certain unit (specific role and quality) use a specific base class, modify the _unitTypes array in the tempate to add nils and the type of base unit, following the below example:
private _unitTypes = [ ["SquadLeader", _squadLeaderTemplate, nil, nil, "OPTRE_Spartan3_Soldier_TeamLeader"], ["Rifleman", _riflemanTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Rifleman_AR"], ["Medic", _medicTemplate, [["medic", true]], nil, "OPTRE_Spartan3_Soldier_Corpsman"], ["Engineer", _engineerTemplate, [["engineer", true]], nil, "OPTRE_Spartan3_Soldier_Engineer"], ["ExplosivesExpert", _explosivesExpertTemplate, [["explosiveSpecialist", true]], nil, "OPTRE_Spartan3_Soldier_Rifleman_AR"], ["Grenadier", _grenadierTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Rifleman_AR"], ["LAT", _latTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Rifleman_AT"], ["AT", _atTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Rifleman_AT"], ["AA", _aaTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Rifleman_AR"], ["MachineGunner", _machineGunnerTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Automatic_Rifleman"], ["Marksman", _marksmanTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Marksman"], ["Sniper", _sniperTemplate, nil, nil, "OPTRE_Spartan3_Soldier_Scout_Sniper"] ];

The first nil is the traits (so only present on some units) and the second is the number of loadouts to make, which isnt relevant for most use cases. The fifth parameter is the classname of the base unit you want to spawn instead of "A3A_unit_west" or whatever.

If you want to test, load the mod with OPTRE and enable A3 Debug. There will be a new template you can load and test spawning SpecOps