Home   Help Search Login Register  

Author Topic: Magazine/weapon names?  (Read 714 times)

0 Members and 1 Guest are viewing this topic.

redmenace

  • Guest
Magazine/weapon names?
« on: 20 Nov 2005, 23:06:56 »
Is there somewhere I can get a list of all the magazine and weapon names for the addweapon and addmagazine commands?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Magazine/weapon names?
« Reply #1 on: 21 Nov 2005, 00:00:59 »
Yes, always check the Editors Depot first, try here.

There are all sorts of resources there.  :)


Planck
I know a little about a lot, and a lot about a little.

redmenace

  • Guest
Re:Magazine/weapon names?
« Reply #2 on: 21 Nov 2005, 02:11:28 »
Thanks. I have a follow up question: for some reason when I try to add any launcher to the crates it wont work. Are you not able to put launchers in crates? If not, how do I make one on the ground?

edit: also, for some reason I can't pick up launchers of any kind from dead enemies...any clue why?


edit 2: I figured out that the reason for all this was that civillians cant pick up machine guns or launchers. Is there a way to make it so they can? I don't want to have to make them resistance or west/east...
thanks
« Last Edit: 21 Nov 2005, 03:27:59 by redmenace »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Magazine/weapon names?
« Reply #3 on: 21 Nov 2005, 08:47:31 »
You'd need to edit the unit's configs. That means making a new addon of sorts so no.
Unless of course you want to make a new addon.

For crates you have to do this,

This AddMagazineCargo ["M16",5]; This AddWeaponCargo ["M16",1]

Etc,etc.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Magazine/weapon names?
« Reply #4 on: 21 Nov 2005, 10:49:00 »
To make a weapon lying on the ground you need a weaponholder.   Think of it an an invisible ammo crate.

From an init.sqs:-

weaponH1 = "weaponHolder" createVehicle getMarkerPos "WH"
weaponH1 addMagazineCargo ["kozliceball", 4]
weaponH1 addMagazineCargo ["kozliceshell", 4]
weaponH1 addWeaponCargo ["kozlice", 1]
weaponH1 setPos getMarkerPos "WH"
weaponH1 setDir 70
Plenty of reviewed ArmA missions for you to play