thirtyg 0 Posted January 26, 2004 I'm sure that six months again when i was messing around with scripting for missions there was a way that you could change the default weapons load on a aircraft for a custom one. Just can't remember now. Only reference i can find is the COC torpedeos which uses a script to call the new weapons. Is there anyway to do it without the use of a script? For example i want to remove 2 of the GBU10's from an f111 and replace them with any other weapon ie, zini rocket launcher or mk82 tripple bomb rack + ammo. Any help is appreciated guys. Share this post Link to post Share on other sites
Balschoiw 0 Posted January 26, 2004 remove all weapons and ammo at init line and add the weapon loadout and ammo in this order to the vehicle. Check ComRef or FAQ or search for "unit custom loadout" here at forums. I´m sure you´ll find something proper for your question. Share this post Link to post Share on other sites
Beeralbion 0 Posted February 2, 2004 I have recently tried this but when i removeallweapons i am still left with the option to use them, although they have no ammo - the previous weapon names still appear in the list. How do i remove the names too? Share this post Link to post Share on other sites
Taurus 20 Posted February 2, 2004 I have recently tried this but when i removeallweapons i am still left with the option to use them, although they have no ammo - the previous weapon names still appear in the list. How do i remove the names too? It is not possible I think, as the "mounts" for the weapons are still there, nicely configured in the "config" file for the vehicle. or perhaps I'm wrong The difference between "removeAllWeapons" on vehicles and troops are that the troops have "proxy" models that you remove also with the "removeAllWeapons" Share this post Link to post Share on other sites
Beeralbion 0 Posted February 2, 2004 Thanks Taurus, you seem to know everything!!! Share this post Link to post Share on other sites
BraTTy 0 Posted February 6, 2004 Hmm, i make use of removing weapons on my planes: Helldiver bombay and Corsair canopy When the weapon is removed it no longer appears in the list and is no longer usable (even if you were using it at time) No need to remove the ammo (should if your not using anymore,could hit ammo limits after adding new) You sure you removed the weapons rather than the ammo? edit: I actually remove individual weapons rather than "removeallweapons" Share this post Link to post Share on other sites
thirtyg 0 Posted February 6, 2004 Bratty Are you adding weapons to the aircraft after you remove them? If so how. Share this post Link to post Share on other sites
Taurus 20 Posted February 6, 2004 BrattyAre you adding weapons to the aircraft after you remove them? If so how. with unit addWeapon "AnyWeapon" and unit addMagazine "AnyMagzine" However, be carefull with what weapons you are using, as OFP seems to crash if "odd" weapons is added to vehicles and bots(AI) use them. Share this post Link to post Share on other sites