AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Armoury Editor (https://forums.alliedmods.net/showthread.php?t=15368)

Johnny got his gun 07-16-2005 21:41

Armoury Editor
 
1 Attachment(s)
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.

Xanimos 07-16-2005 21:45

Sounds intresting enough ill be first to get it

Johnny got his gun 07-16-2005 21:52

I haven't gotten around to test this on CZ, just curious if this works for that mod as well as CS...
For the techies: this incorporates a new (?) "magic" offset of armoury_entity:s. It just seems to set what weapon the armoury is. The numbers used weren't any I've seen before... they don't correspond to CSW_* named constants.

VanillA Ice 07-16-2005 23:00

Nice job Johnny ;)

Nath 07-17-2005 01:06

Whoa.

This is awesome. Could you possibly make a plugin that lets you spawn weapons, like the one Twilight made for TS?

If you could, that'd pwn. :D

XxKpAznGuyxX 07-17-2005 02:33

I must say WOW! I love like all of your plugins.. there all useful in many ways. I love it how everyone joins my server, when its like fy_pooL_day and see how its different than all the other servers and well balanced. 8)

Thanks Johnny :wink:

OneEyed 07-17-2005 02:48

nice, you always have some unique ideas =)

Blitz 07-17-2005 02:49

Nice plugin. Very fun.

Johnny got his gun 07-17-2005 04:54

Quote:

Originally Posted by Nath
Whoa.

This is awesome. Could you possibly make a plugin that lets you spawn weapons, like the one Twilight made for TS?

If you could, that'd pwn. :D

As I said:
Quote:

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.
But of course it is possible, however it will take a plugin written differently, where I guess I would just make fake armoury_entity:s, and then it could support any weapon, including pistols.

B-v-G 01-14-2006 17:47

why cant you make that its auto for iceworld, like a ini file there you add the maps where it should chane weapon to scout


All times are GMT -4. The time now is 06:44.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.