User Tools

Site Tools


arma2:editor_modules:artillery_examples

ArmA 2 Artillery Examples

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

Artillery module examples

Magazine loads, run these on init line or init.sqf etc.

MLRS

this call {_m270mags = magazines _this; {_this removeMagazine _x} forEach _m270mags; _this addMagazine "ARTY_12Rnd_227mmHE_M270"};

M119

this call {_m119mags = magazines _this; {_this removeMagazine _x} forEach _m119mags; _this addMagazine "ARTY_30Rnd_105mmHE_M119"};

M252

this call {_m252mags = magazines _this; {_this removeMagazine _x} forEach _m252mags; _this addMagazine "ARTY_8Rnd_81mmHE_M252"};

D30

this call {_d30mags = magazines _this; {_this removeMagazine _x} forEach _d30mags; _this addMagazine "ARTY_30Rnd_122mmHE_D30"};

Podnos

this call {_podnosmags = magazines _this; {_this removeMagazine _x} forEach _podnosmags; _this addMagazine "ARTY_8Rnd_82mmHE_2B14"};

BM21

this call {_bm21mags = magazines _this; {_this removeMagazine _x} forEach _bm21mags; _this addMagazine "ARTY_40Rnd_120mmHE_BM21"};

Calling Arty from script

// _myBattery is the name of the Arty logic that's synchronized to the actual arty group leader
// _heTemplate is an array
/*
_targetPos is 3D, meaning altitude too!
_targetPos = getPosASL _targetUnit;
*/
 
_heTemplate = ["IMMEDIATE", "HE", 0, 15];
[_myBattery, _targetPos, _heTemplate] call BIS_ARTY_F_ExecuteTemplateMission;

List of magazines names.

M119

ARTY_30Rnd_105mmHE_M119
ARTY_30Rnd_105mmILLUM_M119
ARTY_30Rnd_105mmLASER_M119
ARTY_30Rnd_105mmSADARM_M119
ARTY_30Rnd_105mmSMOKE_M119
ARTY_30Rnd_105mmWP_M119

D30

ARTY_30Rnd_122mmHE_D30
ARTY_30Rnd_122mmILLUM_D30
ARTY_30Rnd_122mmLASER_D30
ARTY_30Rnd_122mmSADARM_D30
ARTY_30Rnd_122mmSMOKE_D30
ARTY_30Rnd_122mmWP_D30

M252

ARTY_8Rnd_81mmHE_M252
ARTY_8Rnd_81mmILLUM_M252
ARTY_8Rnd_81mmWP_M252

Podnos

ARTY_8Rnd_82mmHE_2B14
ARTY_8Rnd_82mmILLUM_2B14
ARTY_8Rnd_82mmWP_2B14

M270

ARTY_12Rnd_227mmHE_M270

BM21

ARTY_40Rnd_120mmHE_BM21
arma2/editor_modules/artillery_examples.txt · Last modified: 2024/08/01 20:56 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.