Jump to content
Sign in to follow this  
Kct

AMMO BOX\'S

Recommended Posts

can i edit whats inside an ammo box like put flares and stuff inside?

Share this post


Link to post
Share on other sites

Yes you can, here is an example of one that I use

All this is placed in the init of the ammo box

removeALLWeapons e_ammo_a; ClearMagazineCargo e_ammo_a; this addweaponcargo ["AALauncher",2]; this addmagazinecargo ["AALauncher",10]; this addweaponcargo ["M21",2];  this addmagazinecargo ["M21",10]; this addweaponcargo ["M60",2]; this addmagazinecargo [""M60"",10]; this addweaponcargo ["Pipebomb",12]; this addmagazinecargo ["Pipebomb",12]

Hope this helps

(Edited by Ice Rhino at 8:56 am on Dec. 7, 2001)

Share this post


Link to post
Share on other sites

No need to use addweaponcargo["Pipebomb",12]. That works but it has no effect. All you need is the addmagazinecargo -part for pipebombs.

Share this post


Link to post
Share on other sites

is it possible to acctually have the ammo boxes respawn? like if they blow up, or can the contents be able to respawn?

Share this post


Link to post
Share on other sites

what do i put it in? i dont know what the init is. what do i do?

(Edited by Kct at 2:07 am on Dec. 9, 2001)

Share this post


Link to post
Share on other sites

There are a lot of mission editing FAQ's out there, and this topic is covered in every one of them. Anyway, I'll help you out.

OK, when you place an ammo crate to map with the editor, double click it to open the Edit Unit -window. You should see a field called "Initialization" approximately in the middle of the window.

Say, if you want to put two M16s, two M21's, ten M16 clips, twenty M21 clips and six hand grenades to the crate, this is what you should type in the Initialization -field:

this AddMagazineCargo ["M16",10]; this AddMagazineCargo ["M21",20]; this AddWeaponCargo ["m16",2]; this AddWeaponCargo ["m21",2]; this AddMagazineCargo ["Handgrenade",6]

The crate has some satchels and magazines in it as a default, so if you want to remove those you should put "ClearMagazineCargo this" in the BEGINNING of the init field.

All weapon and ammo abbreviations in v1.30 can be found from here:

<a href="http://www.ofpediting.net/weapons.html

That" target="_blank">http://www.ofpediting.net/weapons.html

That</a> should get you started.

(Edited by Spitfire at 9:34 pm on Dec. 9, 2001)

Share this post


Link to post
Share on other sites

You guys are being nicer than I would. This information is on every tutorial on the net. If he can't find that out for himself, he'll be in here every 5 minutes with this kind of question.

I don't have a problem helping people out. I've answered a few queries here myself, but if this guy can't be bothered to find out the most simple basics for himself, Im d*amned if I'm goona spoon feed him.

Share this post


Link to post
Share on other sites

i would use a tut if i knew where they were. this is the only site about ofp that i go on.

btw thanks for helping me

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  

×