Victim9l3 11 Posted July 21, 2013 I've been searching scripting topics to find the correct way to do this. Bi has gone a little crazy with mounting GL on vehicles making them really overpowered. I'm having Madrid apcs land on a beach taking on Green fortifications. Since the Madrid is the only amphibious opfor, I can't just use another vehicle. Having it's default weapon be a GL makes AI destroy everything in it's way. Multiple grenades hitting one fortified section kills any units a big area and behind walls. Basically I want my greenfor guys to stand a chance. How can I disable the GL so that AI will only used the MG? And/or (hopefully and) what code do I use to remove the ammo for that gun so they won't use it either. Thanks. I can't get my victim913 to work anymore so I am now victim9l3 Share this post Link to post Share on other sites
DysAlan 1 Posted July 21, 2013 You are looking for the removeMagazinesTurret You will have to look through the config viewer in the editor to find out the appropriate turret/ammo type it uses. Share this post Link to post Share on other sites
tryteyker 28 Posted July 21, 2013 (edited) Try playing around with removeMagazinesTurret. To check what kind of path you need to use, use weaponsTurret. Example: copyToClipBoard (str(vehicleName weaponsTurret [turretPath (-1, 0, 1, 2)])); Above should work. Open up notepad and press CTRL + V to see all the data, you'll be able to use it directly. And use the example provided in a "Radio Alpha" trigger. I'll just double-check it works. // OK, just got done checking. Works. Correct turret path, syntax and magazine name to disable the GMG: vehicleName removemagazinesturret ["96Rnd_40mm_G_belt",[0]]; Had to use magazinesTurret to check for correct magazine name, weaponsTurret did nothing. Edited July 21, 2013 by tryteyker Share this post Link to post Share on other sites
V-zwo_Null 10 Posted July 21, 2013 And how can i add a new/other weapon? Share this post Link to post Share on other sites
Victim9l3 11 Posted July 21, 2013 Thank you very much. ----you can't add another weapon. It's part of the model. You might be able to add or change the type of ammo, but I don't think there is another type of ammo for that weapon. Like mortars and artillery comes with standard ammo, but I think you can give it different shells. Like smoke, smoke color, HE rounds, etc. but you might have to wait for official game for that. Share this post Link to post Share on other sites