PDA

View Full Version : crates



sprucemoose
Nov 5 2001, 16:07
can someone give me a copy of their crate script for weapons in the init field

fanks

p.s yes im lazy http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif

(Edited by sprucemoose at 7:08 pm on Nov. 5, 2001)

Rob
Nov 5 2001, 16:20
i tried adding the line this addweaponcargo ["m21", "10"], this addmagazinecargo ["m21", "10"]
but it don't seem to work in 1.29 have i done it wrong?

sprucemoose
Nov 5 2001, 16:24
have u put the ; after the "",ie this addweapon "m21";etc etc?

Rob
Nov 5 2001, 16:30
, and ; dont normally make a difference but i will try it now.

Rob
Nov 5 2001, 16:31
no that dont work. it may be another stupid bug with v 1.29

russin
Nov 5 2001, 17:15
no man it works your script is wrong

this addweaponcargo ["M21,10"];this addmagazinecargo ["M21,100"]

try that it will give ya 10 sniper rifles and a 100 rounds in a ammo

InqWiper
Nov 5 2001, 20:45
Almost right russin its:
This addweaponcargo ["M21", 10]

Dunno if it works Ur way too but probably not.

Nuku
Nov 6 2001, 04:13
And don't forget, you have to use a particular TYPE of crate. The side must be "empty". Not West, not East, not even Civilian.

InqWiper
Nov 6 2001, 09:41
The side cant be west east or resistance, U have to have it on empty or it wound show in the list, the side of the crate is chosen where U chose Unit --> Ammo Crates II (west)

Cyrus-The-Virus
Nov 6 2001, 10:42
its : this addweaponcargo ["m21,10"], this addmagazinecargo ["m21,10"]

InqWiper
Nov 6 2001, 10:50
No its not Cyrus, I tried Ur way and it didnt work, type like I did and it will work

this addweaponcargo ["M21", 10]

this is the one that works I tried while typing this message. If U type it the way Cyrus and russin said it will work until Ur in game and find that theres no weapon in the crate, it wount tell U that U have typed wrong it will just not a weapon in the crate. trust me.

Cyrus-The-Virus
Nov 6 2001, 10:53
hhhmmm, ok, just tested it myself and it didnt work..... http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif

inqwiper is right....

InqWiper
Nov 6 2001, 17:47
:-D

Dingo
Nov 7 2001, 11:23
t5 addmagazinecargo ["m21",15]; t5 addmagazinecargo ["m60",20]; t5 addmagazinecargo ["m4",20]; t5 addmagazinecargo ["lawlauncher",6]; t5 addweaponcargo ["sebm4gl",6]; t5 addweaponcargo ["m60",3]; t5 addmagazinecargo ["handgrenade",4]; t5 addmagazinecargo ["hk",15]; t5 addweaponcargo ["hkcommando",5]; t5 addmagazinecargo ["pipebomb",8]; t5 addweaponcargo ["m16grenadelauncher",2]; t5 addmagazinecargo ["grenadelauncher",10]; t5 addmagazinecargo ["flare",6]; t5 addmagazinecargo ["aalauncher",2]; t5 addweaponcargo ["aalauncher",4];

This crate has some unofficial weapon addons in it but this is how much i pack into crates and truckes vulcan etc I like to take the extra ammo for all occasions http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/wow.gif

sprucemoose
Nov 8 2001, 11:52
fankz dingo http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/smile.gif