Hey James, I'll post up my whole config.
//Remove Weapon SiothieGaming german Youtubechannel:
http://www.youtube.com/user/SiothieGaming
//Lines underneath are just a small tutorial
// the Number in the Bracket is Important, -1 means Pilot seat
//Try getting up with these numbers when you want to remove from another seat (e.g. gunner, front gunner, rear gunner etc. pp)
// For every seat you have to do something like i did
//_object magazinesTurret [-1];
//_object removeMagazinesTurret ["14Rnd_FFAR",[-1]]; If you want to remove something from another seat at the same time you need to do something like this:
// _object magazinesTurret [1];
//_object removeMagazinesTurret ["14Rnd_FFAR",[1]]; I'm not completly sure now which number is which seat. I only know that -1 is pilot seat.
{
//## Helicopters
//AH6J_EP1 remove weapons
//if (_object isKindof "AH6J_EP1") then {
// _object magazinesTurret [-1];
// _object removeMagazinesTurret ["14Rnd_FFAR",[-1]];
// _object WeaponsTurret [-1];
// _object removeWeapon "FFARLauncher_14";
//};
if (_object isKindOf "AH6J_EP1") then {
_object removeWeapon "FFARLauncher_14";
};
//AH64D remove weapons and add a M2 and a M240
if (_object isKindOf "AH64D") then {
_object removeWeapon "M230";
_object removeWeapon "HellfireLauncher";
_object removeWeapon "FFARLauncher";
_object removeWeapon "SidewinderLaucher_AH64";
_object removeMagazine "38Rnd_FFAR";
_object removeMagazine "28Rnd_FFAR";
_object removeMagazine "8Rnd_Hellfire";
_object removeMagazine "1200Rnd_30x113mm_M789_HEDP";
_object removeMagazine "8Rnd_Sidewinder_AH64";
_object addWeapon "M2";
_object addWeapon "M240_veh";
};
//Mi24_D remove weapons and add a DSHKM and a PKT
if (_object isKindOf "Mi24_D") then {
_object removeWeapon "YakB";
_object removeWeapon "AT2Launcher";
_object removeWeapon "57mmLauncher_128";
_object removeMagazine "64Rnd_57mm";
_object removeMagazine "128Rnd_57mm";
_object removeMagazine "4Rnd_AT2_Mi24D";
_object removeMagazine "1470Rnd_127x108_YakB";
_object addWeapon "DSHKM";
_object addWeapon "PKT";
};
//AH1Z remove weapons and add a M134
if (_object isKindOf "AH1Z") then {
_object removeWeapon "M197";
_object removeWeapon "HellfireLauncher";
_object removeWeapon "FFARLauncher";
_object removeWeapon "SidewinderLaucher_AH1Z";
_object removeMagazine "750Rnd_M197_AH1";
_object removeMagazine "8Rnd_Hellfire";
_object removeMagazine "38Rnd_FFAR";
_object removeMagazine "2Rnd_Sidewinder_AH1Z";
_object addWeapon "M134";
};
//AW159 Lynx add a gun
if (_object isKindOf "AW159_Lynx_BAF") then {
_object addWeapon "M240_veh";
};
//if (_object isKindof "AH6J_EP1") then {
// _object removeMagazinesTurret "14Rnd_FFAR";
// _object removeMagazinesTurret "4000Rnd_762x51_M134";
// _object removeWeapon "FFARLauncher_14";
// _object removeWeapon "TwinM134";
// _object addWeapon "M134";
//};
//THIS IS STILL IN TESTING PHASE, IT COULD SCREW UP YOUR WHOLE SERVER
//Just put the Classname of the Vehicle there and it should disable thear vision.
// For example my server runs fine with it (Epoch Panthera) but a friend of mine screwed up his whole database
//if (_object isKindof "AH64D") then {
// _object disableTIEquipment true;
//};
//TESTING STUFF END
} forEach vehicles; //Not completly necessary, it just makes sure no vehicle is left out during the process (e.g. high server load)
As you can see I've commented some stuff out too.