Jump to content
Sign in to follow this  
-AL-

Newbie Mapper needs help

Recommended Posts

Ok be gentle, I'm new to this smile.gif

I am making a Co op MP map but I need some help with the finer points of some simple stuff.

I haven't found the answers to these questions in any tutorials so... here I am.

Question 1) Ammo boxes.

I can add weapons & ammo however.

Can someone tell me the command to empty the box before I add the weapons & ammo.

name addmagazinecargo ["m21", 10]; name addweaponcargo ["m21", 2]

What do I put before this to clear the ammo, Ammo boxes taken from the empty side option still seem contain nades & M16 ammo.

Question 2) More ammo boxes.

How much can an ammo box hold before it crashes you back to desktop when you test it ?

Question 3)

Does an ammo truck have the same ammo size limit as a crate ?

Question 4)

Can you load a jeep with ammo ? & once again, how much ?

How about a Jeep with M60 ?

For that matter, can you load any vehicle with ammo or just the trucks?

Atm these are the only things I haven't managed to find an answer for.

If anyone can help I would greatly appreciate it.

Thanks.

Al

Share this post


Link to post
Share on other sites

1:Try "removeallweapons this" (without the " of course)

I think that should do it.

If it doesn't take care off the nades, you'll have to manually remove each one...this removeweapon "HandGrenade"; this removemagazine "HandGrenade"; etc. There are about 10 of them in the default ammocrate IIRC. Same goes for satchels and mines, only there are about 6 of those.

Not too clear, but that's the direction you wanna go.

2: ? is there a limit, and why would you put so much into it?

They can certainly hold one of each weapon type, and the initial ammo to support it. Try and make the maps realistic, and if you need all that ammo, add some more boxes in stead. (copy and paste makes it easy)

3: see above. I would guess, yes.

4:You will need to get Kegety's addon for that. In the official game it can't.

Don't know if I was of much help, but there you go.

Share this post


Link to post
Share on other sites

1: No no NO. "removeallweapons" removes weapons from a soldier, use "clearWeaponCargo unit" and "clearMagazineCargo unit" instead.

Share this post


Link to post
Share on other sites

Thank you kindly.

I'll try the ammo clear stuff tonight.

The reason I want the large ammount of ammo & weapons in the crate is the soldiers will do the 1st part of the mission with M16s only, then I plan to Para drop the crate with Laws & Sniper rifles for the 2nd part.

If I can get it all in 1 crate it'll mean I only need to make 1 para drop.

Thanks again.

Al

Share this post


Link to post
Share on other sites

clearMagazineCargo name did the trick.

Also worked out what was crashing me in the crate, M16+ grenade ammo is called grenadelauncher, NOT M16grenadelauncher......

Thanks guys (girls ?).

Al

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  

×