Jump to content
Sign in to follow this  
MattyDienhoff

How do I change what weapon a unit has when it respawns?

Recommended Posts

See the title. Please don't misunderstand my question, I know how to change what equipment a unit starts with at the beginning of the game, that's easy via the init field, but when the unit dies and respawns in a multiplayer game they always respawn with the default weapon for their side (West - M16, East - AK74, Guer - AK47...), and I'd like to know how to specify what equipment a player is given when they respawn.

Share this post


Link to post
Share on other sites

You can try the weapon respawn script from toadlife that is found on ofpec

http://www.ofpec.com/ed_depot/index.php?action=details&id=307&game=OFP

, as it allows to have an unit respawning with :

-the last weapon and ammos he was using before dying.

-the weapon and ammos he was starting with.

If you want to give specific weapons and ammo, you may just have to replace the part that give ammo and weapon in the script by your own selections.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×