Home   Help Search Login Register  

Author Topic: Adding Weapons  (Read 1166 times)

0 Members and 1 Guest are viewing this topic.

Top_Gun

  • Guest
Adding Weapons
« on: 31 Aug 2005, 21:23:59 »
Hi!

It's my first post here.

My problem is i've downloaded the M82 Barrett addon but i can't find it in any of the ammo/weapons crate.

The Readme says if i want to use the weapons only the names are...

PYP_m82a1

and for ammo..

PYP_m82a1mag

However i don't know where to add it in?

Any suggestions would be appreciated!

Cheers

Offline 456820

  • Contributing Member
  • **
Re:Adding Weapons
« Reply #1 on: 31 Aug 2005, 21:30:59 »
well first of all welcome
and secondly

crate_name AddMagazineCargo ["PYP_m82a1mag", 5]

that will add 5 magazines for the Barret M82A1 into the ammo crate named crate_name change it to suit your needs
oh and to add more magazines to the crate change the number 5 to what you need

to add the weapon use

crate_name AddWeaponCargo ["PYP_m82a1", 1]

that will add 1 weapon to the crate you can change it t suit your needs there you go hope that helps

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Adding Weapons
« Reply #2 on: 31 Aug 2005, 21:33:30 »
Welcome to the forum!

In the init field of the crate write something like:-


this addWeaponCargo ["PYP_m82a1", 2]; this addMagazineCargo ["PYP_m82a1mag", 25]

Check out the commands in the online comref in the Editors Depot.


Edit:  beaten by 456820!  Oh the ignominy!!
« Last Edit: 31 Aug 2005, 21:35:04 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Adding Weapons
« Reply #3 on: 31 Aug 2005, 23:17:14 »
Yeah... and beaten by 2 minutes 31 seconds. You're getting slow Mac  ;D
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Adding Weapons
« Reply #4 on: 31 Aug 2005, 23:31:12 »
It's the combination of old age and piles.
Plenty of reviewed ArmA missions for you to play

funkster

  • Guest
Re:Adding Weapons
« Reply #5 on: 01 Sep 2005, 04:28:17 »
I might just highjack this thread, because Ive been meaning to ask:

Where do you find the exact names for weapons, say you want to addMagazine or addWeapon, you need to know the exact name to type or it wont woprk. The comref says see CFGWeapons, but I cannot find that file ANYWHERE!??

Thx.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Adding Weapons
« Reply #6 on: 01 Sep 2005, 08:16:23 »
try this.

funkster

  • Guest
Re:Adding Weapons
« Reply #7 on: 01 Sep 2005, 10:34:32 »
Wow, thanks a million, that helps heaps!  8)
Hope you didnt mind that Top_Gun (great movie!)

Top_Gun

  • Guest
Re:Adding Weapons
« Reply #8 on: 25 Oct 2005, 22:43:39 »
Wow, thanks a million, that helps heaps!  8)
Hope you didnt mind that Top_Gun (great movie!)

No worries mate :), yeah Top Gun's not a bad film you know ;)

Thanks for the suggestions, and cheers for the welcome too! It took me a while to figure out the 'Barrett' problem. I didn't realise you needed to type 'this' before each command! Although i have another query!

I've downloaded the 'USMC MARPAT' addon pack. Which included a 'USMC Force Recon Weapons Crate', 'USMC Weapons Crate' & 'USMC Ammo Can' & a squad of USMC marines.

Now there are two USMC units that have weapons i want, one's a 'USMC Assaultman SMAW'  the other is a 'USMC AT Assault Javelin'. I'd like to add the SMAW & Javelin to a weapons crate along with magazines of course. Problem is i don't know the proper name of the weapons, nor can i find them in the 'addon' folder. Any suggestions?

Any further help would be greatly appreciated!
« Last Edit: 25 Oct 2005, 23:23:34 by Top_Gun »