Anyone have a Littlebird gun script?

So i know there are scripts out there to attach m240's to biplanes but what about for little birds? anyone know where i could find one for DayZ 1.8.0.3
 
Last edited:
The same way of adding M240s to AN2's will work the same for anything, be it a tank, boat, or bicycle, you just need to change the classname from AN2 to whatever you want.
 
can someone post part of the code how it should go in server_monitor.sqf please tryed to add guns to bi planes yesterday a few times and nothing maybe im putting code in wrong place or something. if you could please post part of the code where it goes cheers guys...
 
in server_monitor.sqf
I added weapons to alot of vehicles gut I couldnt get them on the little bird
I even put guns on a quad..
just change to the classname that you want to add weapons too.


if (_damage < 1) then {
diag_log("Spawned: " + str(_idKey) + " " + _type);

_object = createVehicle [_type, _pos, [], 0, "CAN_COLLIDE"];
_object setVariable ["lastUpdate",time];

// Don't set objects for deployables to ensure proper inventory updates
if (_ownerID == "0") then {
_object setVariable ["ObjectID", str(_idKey), true];
} else {
_object setVariable ["ObjectUID", _worldspace call dayz_objectUID2, true];
};

_object setVariable ["CharacterID", _ownerID, true];

clearWeaponCargoGlobal _object;
clearMagazineCargoGlobal _object;


//M1135_ATGMV_EP add 8 wheeler weapons
if (_object isKindOf "M1135_ATGMV_EP") then {
_object addWeapon "2A42";
_object addMagazine "250Rnd_30mmHE_2A42";
_object addWeapon "MK19";
_object addMagazine "48Rnd_40mm_MK19";
_object addWeapon "M2";
_object addMagazine "100Rnd_127x99_M2";
_object addWeapon "M230";
_object addMagazine "1200Rnd_30x113mm_M789_HEDP";
_object addWeapon "80mmLauncher";
_object addMagazine "40Rnd_80mm";
_object addMagazine "40Rnd_S8T";
 
Back
Top