Jump to content
Sign in to follow this  
iceman11a

ammo crates and teammates

Recommended Posts

I made a sample map with one player and a ammo crate. I took every thing out of the crate by doing this.

clearWeaponCargo this;

clearMagazineCargo this;

Then I added a magazine and some ammo for a Javelin like this.

this addMagazineCargo ["Javelin",5];

this addWeaponCargo ["Javelin",1];

Then I run the mission. When I get close to the ammo crate. I should be able to get the weapon. and well That doesn't work. What am I missing.

Team Mates.

It's there a way to give orders to your team mates with out the player having to have to do it.

Share this post


Link to post
Share on other sites

try another box, maybe its no room.

recheck your weapon classnames.

Share this post


Link to post
Share on other sites

Hi,

your ammocrate should work so far.

Do you get the "gear" option in your actionmenu when testing?

When testing in editor you sometimes have to wait a few seconds until your soldier "recogises" the crate and gets the gear-action.

regarding teammates:

depends on what you want them to do.

you can, e.g. stop a unit at mission start by putting

doStop this;

in its initline

Share this post


Link to post
Share on other sites

Thanks guys, I spent the last few hours trying to figure this crap out. Ok, from what I learned. The player is all ready armed with some weapons at the start of the game.

Now in order to access the gear menu. You have to be near a ammo crate in order to change weapons or reload. Am I right or close. LOL, I new at this so bear with me.

or have an addaction option added to the menu for the player. This will let the user change weapons and rearm.

Ok, so my question is. How can I arm the player only with what I want to arm them with. and then add crates threw out the mission that they can rearm and reload and change weapons and all that crap.

The other thing is that I have to look right down at the crate before the gear menu pop's up. That sucks.

---------- Post added at 06:35 PM ---------- Previous post was at 06:01 PM ----------

Update.

I fount out how to add weapons and magazines to the player. When I tried some thing like this

in the players int;

removeAllWeapons this; this addMagazine "30Rnd_556x45_StanagSD"; this addWeapon "M4A1SD";

I got an error of no entry 'bin\config.bin/cfgweapons.m4a1sd'.

any one have an idea on what to do. I look for the cfgweapons in the guide F2k sent me and there's nothing about it in the guide. So ? now

Share this post


Link to post
Share on other sites
add crates threw out the mission

Lolwut? I had to read that out loud to make sense out of it. Being american you can't blame foreign language.

The other thing is that I have to look right down at the crate before the gear menu pop's up. That sucks.

For real? First time I've seen a complaint about that...

I got an error of no entry 'bin\config.bin/cfgweapons.m4a1sd'.

any one have an idea on what to do. I look for the cfgweapons in the guide F2k sent me and there's nothing about it in the guide. So ? now

Check for the classnames in one of the sticky threads?

Share this post


Link to post
Share on other sites

3) I did and I didn't find any thing related to that. How ever I did find out that it's a class that build in. So I figured it out that it was telling me the class is not available. That weapon may not be in Arma 2 OA.

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  

×