BiPlane With M240? Oh Yes....

Markk311

Member
Add this to your server_monitor.sqf in the dayz_server.pbo right after it clears weapon and magazine cargo. Should be around line 85

You can not add ammo to it, but it will reload if you add extra mags. The example below has 2 mags. Or for some real fun put in some of these :) "1200Rnd_762x51_M240"

if (_object isKindOf "AN2_DZ") then {

_object addWeapon "M240_veh";
_object addMagazine "100Rnd_762x51_M240";
_object addMagazine "100Rnd_762x51_M240";
};
 
As long as you can edit your dayz_server.pbo It should work. All it does is intercept the an2 when its spwaning and adds the gun and ammo to it. There is no gun model added to the plane. The pilot can shoot it with any key bound to fire. I am not adding anything else to this as its a just for fun type thing.
 
Guys to do this go here http://www.armaholic.com/page.php?id=16369 and get the pbo manager then go into your server directory go into @dayzcc click on addons then open dayz_server.pbo with the pbo manager hit the little plus sighn and go into system then open server_monitor.sqf look for this line of code
clearWeaponCargoGlobal _object;
clearMagazineCargoGlobal _object;

under it put this

if (_object isKindOf "AN2_DZ") then {

_object addWeapon "M240_veh";
_object addMagazine "100Rnd_762x51_M240";
_object addMagazine "100Rnd_762x51_M240";
};

and then it should work:)

and i use crosiers server control center to host
 
i dont think so but im preety sure you could just change _object addMagazine "100Rnd_762x51_M240"; to _object addMagazine "99999Rnd_762x51_M240"; and have unlimited ammo....also you can do this
_object addWeapon "M240_veh";
_object addMagazine "100Rnd_762x51_M240";
_object addMagazine "100Rnd_762x51_M240";
};
and everytime you add

_object addMagazine "100Rnd_762x51_M240";
it adds another mag to the gun :p
 
i dont think so but im preety sure you could just change _object addMagazine "100Rnd_762x51_M240"; to _object addMagazine "99999Rnd_762x51_M240"; and have unlimited ammo....also you can do this
_object addWeapon "M240_veh";
_object addMagazine "100Rnd_762x51_M240";
_object addMagazine "100Rnd_762x51_M240";
};
and everytime you add

_object addMagazine "100Rnd_762x51_M240";
it adds another mag to the gun :p
In theory changing "100Rnd_762x51_M240"; to _object addMagazine "99999Rnd_762x51_M240"; would work, but I think since there is no 99999 roung magazine so it wouldn't work, that's just a guess though I could be totally wrong and just sound like an idiot :D
 
In theory changing "100Rnd_762x51_M240"; to _object addMagazine "99999Rnd_762x51_M240"; would work, but I think since there is no 99999 roung magazine so it wouldn't work, that's just a guess though I could be totally wrong and just sound like an idiot :D
yea i dont know if it will work just taking a guess:p
 
Back
Top