Home   Help Search Login Register  

Author Topic: When I respawn can I have my weapons?  (Read 1418 times)

0 Members and 1 Guest are viewing this topic.

Offline John

  • Members
  • *
When I respawn can I have my weapons?
« on: 26 Jul 2006, 11:30:29 »
Hi there!

I made mp mission but when i get killed I respawn with only a m16 and 1 mag.....is it posible to make a respawn with all my weapons....and also how can i add satchell charges to a soldier and also to a ammo crate.

Cheers!

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: When I respawn can I have my weapons?
« Reply #1 on: 26 Jul 2006, 12:03:56 »
Respawn I can't technically help with (although I guess it's just a matter of checking the weapons before/adding them afterwards ; can't promise anything with the ammo count though).

Satchel charges = "pipebomb" ;

Adding to units, write this in a trigger, waypoint, init field or script : <unitname> addmagazine "pipebomb" (repeat as necessary, remember a satchel charge takes 2 inventory slots which you in most cases need to clear up first, for instance by <unitname> removemagazine "handgrenade")

Adding to ammo crates : <ammocratename> addmagazinecargo ["pipebomb", X] (X being the number of satchel charges)

Also, you can exchange <unitname/ammocratename> with this if you're writing the commands in the units' init field.

Might need to move this to mp editing though, what with the respawn.

Good luck!

/Wolfrug out.
"When 900 years YOU reach, look as good you will not!"