Raised This Month: $94 Target: $400
 23% 

Armoury Editor


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-16-2005 , 22: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 - 2133 views - 4.2 KB)
Johnny got his gun is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-16-2005 , 22:45  
Reply With Quote #2

Sounds intresting enough ill be first to get it
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-16-2005 , 22:52  
Reply With Quote #3

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.
Johnny got his gun is offline
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-17-2005 , 00:00  
Reply With Quote #4

Nice job Johnny ;)
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
Nath
New Member
Join Date: Jun 2005
Old 07-17-2005 , 02:06  
Reply With Quote #5

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.
Nath is offline
Send a message via MSN to Nath
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 07-17-2005 , 03:33  
Reply With Quote #6

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.

Thanks Johnny
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 07-17-2005 , 03:48  
Reply With Quote #7

nice, you always have some unique ideas =)
OneEyed is offline
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 07-17-2005 , 03:49  
Reply With Quote #8

Nice plugin. Very fun.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.
Blitz is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-17-2005 , 05:54  
Reply With Quote #9

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.
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.
Johnny got his gun is offline
B-v-G
Member
Join Date: Aug 2005
Old 01-14-2006 , 18:47  
Reply With Quote #10

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
B-v-G is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode