Home   Help Search Login Register  

Author Topic: How do we use every addon available in editor?  (Read 1587 times)

0 Members and 1 Guest are viewing this topic.

Offline Chammy

  • Members
  • *
  • I'm a llama!
How do we use every addon available in editor?
« on: 04 Apr 2007, 23:21:29 »
I was wondering, since there are a ton more addons available , like the FAL, G3, G36, Styer, and countless other addons, how do we call the up or try them out in the editor when they are not even listed in the editor?

Offline D_P_

  • Members
  • *
  • YAY! I'm a lama again! ...oh wait.
    • ArmaAddons
Re: How do we use every addon available in editor?
« Reply #1 on: 05 Apr 2007, 00:24:02 »
You can find out the Class-Name of a unit, magazine or Weapon by typing this in the init field of the unit:
 
For Unit:         Â Hint format["%1",typeOf(this)]
For Magazine: Hint format ["%1",magazines this]
For Weapon:   Hint format ["%1",weapons this]

Bohemia lists the weapons available.....
http://community.bistudio.com/wiki/Armed_Assault:_Weapons

You can implement them via the unit's init field:
Code: [Select]
removeallweapons this; this addmagazine "15Rnd_9x19_M9";; this addmagazine "15Rnd_9x19_M9"; this addweapon "M9";
Or via a script if you want to load units or created units with your custie weapon config.
Place this in the unit's init:
Code: [Select]
[] exec "Rearm.sqs"
And the script:
Code: [Select]
_unit = _this select 0
removeallweapons _unit ;
_unit addmagazine "30Rnd_545x39_AK";
_unit addmagazine "30Rnd_545x39_AK";
_unit addmagazine "30Rnd_545x39_AK";
_unit addweapon "ak74";
_unit addmagazine "8Rnd_9x18_Makarov";
_unit addmagazine "8Rnd_9x18_Makarov";
_unit addmagazine "8Rnd_9x18_Makarov";
_unit addweapon "Makarov";
_unit selectweapon "Makarov";
exit

Keep in mind you need to add the magazine info before the weapon info or you end up with no mag in the chamber and the unit has to reload before firing.
There's much fun to be had adding the wrong weapons to units and vehicles...WW3!!! :D
(I hope this was your question? lol....as always - dunno if it's the right way - but it works for meso :P)
just setpos & forgetpos!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: How do we use every addon available in editor?
« Reply #2 on: 05 Apr 2007, 03:45:55 »
Quote
FAL, G3, G36, Styer

These weapons were available in OFP, they are not available in ArmA........yet.    :D


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

Offline satexas69

  • Members
  • *
Re: How do we use every addon available in editor?
« Reply #3 on: 05 Apr 2007, 14:32:52 »
Most, if not all, of those weapons can be found in VILAS addons, if you really need them.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: How do we use every addon available in editor?
« Reply #4 on: 07 Apr 2007, 21:04:30 »
ArmA Weapons list can be found on this website in a better more clearer form : In The COMREF