Havoc302 Posted February 10, 2015 Report Share Posted February 10, 2015 Still can't seem to get the Hellcat to work, but if you want to add the Pawnee and Orca to your server you can remove the rockets with this script. In your init.sqf you'll need to put something like this: execVM "custom\remove_heli_rockets.sqf"; Then just make a new .sqf file named "remove_heli_rockets.sqf" and paste this into it. { if (typeOf _x == "B_Heli_Light_01_armed_F") then { _x removeWeaponGlobal "missiles_DAR"; }; } forEach vehicles; { if (typeOf _x == "O_Heli_Light_02_F") then { _x removeWeaponGlobal "missiles_DAGR"; }; } forEach vehicles; If you use Infistar you'll also need to remove those two helis from the forbidden vehicles list and the weapons and ammo they use, the 5000rnd 7.62 belt for the Pawnee and the 2000Rnd 6.5 for the Orca. Other than that, have fun gunning down your friends! DirtySanchez 1 Link to comment Share on other sites More sharing options...
Havoc302 Posted February 21, 2015 Author Report Share Posted February 21, 2015 Just a note that the rockets will only be removed at server start up, if you spawn the helis in they will be fully armed until next restart. Link to comment Share on other sites More sharing options...
OfficeGlenn Posted February 21, 2015 Report Share Posted February 21, 2015 Just to help out here and not steel Havoc302's thunder. Here is the full post from another thread that is tested and working on my server as well. Way to go Havoc302. So I'd really like to put the minigun armed versions of these choppers on my server to make it a little more interesting but they really need their rockets removed. This is what I came up with to do it but it's erroring and I can't think of any other way to do it and i can't work out why. Repurposing the code from something similar we used to do in ARMA 2 Epoch. private ["_object"]; if (isServer) then { if (_object isKindOf "O_Heli_Light_02_F") then { // PO-30 Orca _object removeWeapon "missiles_DAGR"; _object removeMagazine "12Rnd_PG_missiles"; _object removeMagazine "24Rnd_PG_missiles"; }; if (_object isKindOf "I_Heli_light_03_F") then { // WY-55 Hellcat _object removeWeapon "missiles_DAGR"; _object removeMagazine "12Rnd_PG_missiles"; _object removeMagazine "24Rnd_PG_missiles"; }; if (_object isKindOf "B_Heli_Light_01_armed_F") then { // AH-9 Pawnee _object removeWeapon "missiles_DAGR"; _object removeMagazine "12Rnd_PG_missiles"; _object removeMagazine "24Rnd_PG_missiles"; }; }; Wanted it to just run once, when the first person logs in to remove the weapons and ammo from those choppers rockets, unless someone can tell me a better method of doing it? Link to comment Share on other sites More sharing options...
Havoc302 Posted March 24, 2015 Author Report Share Posted March 24, 2015 Just to help out here and not steel Havoc302's thunder. Here is the full post from another thread that is tested and working on my server as well. Way to go Havoc302. So it's working for the Armed Hellcat on your server? oojerfink 1 Link to comment Share on other sites More sharing options...
Pato93 Posted June 8, 2015 Report Share Posted June 8, 2015 Okay so I have got this working so far in the editor this removeWeaponturret ["missiles_DAR", [-1]]; this removeMagazineTurret ["24Rnd_missiles", [-1]]; Link to comment Share on other sites More sharing options...
Halvhjearne Posted June 8, 2015 Report Share Posted June 8, 2015 there is a script from the blackmarket trader that does exactly this, you can use that to easily remove weapons from any vehicle you define... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now