OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bigdog632 on 31 Jan 2003, 03:34:29

Title: changing loadouts
Post by: bigdog632 on 31 Jan 2003, 03:34:29
ok im kinda stupid so i dont know how to setup a ammobox but is there a command you can do when you set up a soldier to give him diff weapons and magazines?
Title: Re:changing loadouts
Post by: O Neil on 31 Jan 2003, 05:37:55
RemoveAllWeapons this; this AddMagazine "M16"; this AddMagazine "M16"; this AddMagazine "M16"; this AddMagazine "M16"; this AddWeapon "M16"; this SelectWeapon "M16"; this AddMagazine "LAWLauncher"; AddMagazine "LAWLauncher"; this AddMagazine "HandGrenade"; this AddMagazine "HandGrenade"; this AddWeapon "Binocular"

Hope your smart enough to figure out what is what
Title: Re:changing loadouts
Post by: macguba on 31 Jan 2003, 13:02:36
There is a weapons and ammo listing in the Ed Depot.

Always add a magazine first, then the weapon.     If you add the weapon first it will not be loaded when the mission starts.

Use the file description.ext if you want to offer the player gear selection in the briefing.    Check out the Ed Depot - OFP file formats if you are not familiar with description.ext.

you can add/remove weapons to a solder, ammobox or vehicle in the same way.
Title: Re:changing loadouts
Post by: bigdog632 on 31 Jan 2003, 14:53:46
Hope your smart enough to figure out what is what





yeah i figured that out finally i had seen that somewhere but couldnt remember it and an addon finally had it again so yeah i got that working  ty