Home   Help Search Login Register  

Author Topic: weapons  (Read 604 times)

0 Members and 1 Guest are viewing this topic.

lampie

  • Guest
weapons
« on: 29 Dec 2002, 21:04:56 »
hi there,i got ofp 1 year now but this is my first try at editing can someone tell my how to put some new weapons in the ammo crates,i know that there is a line for it but i can't remember it. it start with this word i think,remove all weapons that's al i can remember if you can help me pleasse do.

                      p.s. sorry for my bad english
                             i am from holland ;)

PsyWarrior

  • Guest
Re:weapons
« Reply #1 on: 29 Dec 2002, 22:44:12 »
I have a feeling that this thread is going to be moved to a scripting board...  :-\
to add a g36a and a steyr with 4 magazines for each you need to type this in the "init" field of the crate.
Code: [Select]
this addweaponcargo ["steyr", 1]; this addmagazinecargo ["steyrmag", 4]; this addweaponcargo ["g36a", 1]; this addmagazinecargo ["g36amag", 4]
the first thing in the brackets is the weapon or magazine (eg "M16") and the second is how many you want to put in the crate (eg 4). They must have a comma between them.

Good luck with your editing 'career'  ;D

===============
PsyWarrior
-------------------
End Transmission
===============