Thread: Armoury Editor
View Single Post
Plugin Info:     Modification:          Category:          Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-16-2005 , 21:41   Armoury Editor
Reply With Quote #1

Tired of the AWM w****s on fy_iceworld?

With this plugin you can exchange all onground AWMs to Scouts using a single command.
Actually you can exchange any weapon type to another weapon type.
Actually you can convert a weapon type into several weapon types.
If you have a map with a couple of HE grenades like fy_pool_day,
you can have the HE grenades be randomly converted into flashbangs, vesthelms, smokegrenades and some can remain he grenades...

Examples:

"amx_setarmoury 10 8" - will make all AWPs into Scouts.
"amx_setarmoury 15 14 15 17 18" - will make a HE grenade randomly into a flashbang, a HE grenade, a vesthelm or a smoke grenade.
"amx_setarmoury 0 17" - will make all MP5s into armor + helmet.
"amx_setarmoury 4 3 1" - will make all AK47s into Mac10s or TMPs.

So the syntax is:
amx_setarmoury <from> <to> [to2 and so on]
Where <from> is the weapon/item type to be converted, and the following (at least one) to:s are the weapon/item types to be converted into.
If you only specify one <to>, the from will always be converted into this. Else each <from> is randomly converted into one of the <to>:s.

You can only use weapon/item types that CS itself supports.
All numbers are listed in plugin source. Look for the CSA_* defines.

Before you ask: To support other weapon types like all pistols etc, a new plugin will have to be written in a (more or less) completely different manner.
Attached Files
File Type: sma Get Plugin or Get Source (armouryeditor.sma - 2700 views - 4.2 KB)
Johnny got his gun is offline