OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: madmaxjunior on 15 Jun 2005, 19:37:10

Title: List of weapons?
Post by: madmaxjunior on 15 Jun 2005, 19:37:10
Does anyone out there know of a list of all the short code thingys (the ones used in the editor to change waepons loadouts)? Because im trying to do a mission and having serious trouble cause OFP keeps on closing everytime i use the wrong code which is VERY anoying?
        I know its probably not possible to have one for ALL the weapons availible but atleast for non-addon ones that are actually from flashpoint. i've looked around and cant find one so thought it was best to just ask!


P.S. sorry if this is in the wrong forumn but i encountered it while making a mission so figured it was the best place!
Title: Re:List of weapons?
Post by: bedges on 15 Jun 2005, 20:07:04
look long enough - and in the right places (http://www.ofpec.com/editors/resource_view.php?id=443) - and you'll find it ;)
Title: Re:List of weapons?
Post by: madmaxjunior on 15 Jun 2005, 20:11:35
Thankyou!  
Where might i suggest that there be a facility on the site for people to compile these for ALL WEAPONS including the ones they make? i mean it wouldnt be too much more effort for the makers and would save everyone making their own lists for every addon they download!
Title: Re:List of weapons?
Post by: bedges on 15 Jun 2005, 21:19:38
suggestions for things you'd like to see on ofpec go in the comments board (http://www.ofpec.com/yabbse/index.php?board=4) - seems like a reasonable idea, but would have to be updated almost as frequently as a new weapon comes out - which is pretty frequent ;)

i'm sure most editors keep an extendable list of their own, as addons usually come with instructions on how to use them. the good ones do at any rate....  ::)
Title: Re:List of weapons?
Post by: Sui on 16 Jun 2005, 07:16:58
Welcome to the forums, madmax :)

Generally weapons names for addons will be listed in the readme (if they're not then the author has missed finishing off the addon properly).

Failing that, you can get any weapon or magazine name by placing a trigger in the mission editor with the following properties:

Trigger

Radius: 0,0
Condition: radio Alpha (repeatedly)
Condition Field: this
OnActivation: hint format ["%1\n\n%2", weapons unit , magazines unit ]


By pressing radio alpha (0-0-1), that will give you a list of the editor names of all the weapons that unit has in their posession. The line below that will list all the editor names of the magazines that unit has ;)

This works on vehicles as well as men...
Title: Re:List of weapons?
Post by: madmaxjunior on 16 Jun 2005, 07:23:41
thx 4 that, you guys have both definatly saved me a lot of time! Thx!