Raised This Month: $100 Target: $400
 25% 

AWP Armory To Scout


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   GHW_Chronic (70)
AndraX2000
Member
Join Date: Mar 2006
Location: 3957' N 8314' W
Old 12-11-2006 , 15:31   AWP Armory To Scout
Reply With Quote #1

This plugin shores up a common hole in the other AWP restriction scripts. On maps like fy_iceworld, which have an AWP lying on the ground, it converts these AWPs to Scouts.

Code:
/*
 * This plugin converts AWP armoury_entities into Scout armoury_entities.
 *
 * Changelog
 * 1.2 Fixed an errant set_task, thanks VEN
 * 1.1 Added ML support
 * 1.0 Now changes the model when the AWP is still on the ground
 * 0.9 Added DEBUG compile directives and messages
 * 0.1 Original code version. Will not work on 1.70 Linux unless a slight
 * change is made in cstrike.h and then cstrike_amx_i386.soo is
 * recompiled.
 *     See http://www.amxmodx.org/forums/viewtopic.php?t=27323
 */

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
Place eawp2scout.txt in you data/lang directory.

What it does:
Converts AWPs that spawn on the map into Scouts

What is does not do:
Prevent you from buying an awp
Make you drop the awp
Change an awp that you buy into a scout

I run a no awp server, and by combining this very simple plugin with the standard weapons restriction, I can completely eliminate the awp without any need for the more complex plugins that are available.
Attached Files
File Type: txt eawp2scout.txt (142 Bytes, 586 views)
File Type: sma Get Plugin or Get Source (eawp2scout.sma - 1576 views - 1.6 KB)
__________________
Get maps at http://www.counter-strike-maps.net
Shoot me at:


Last edited by AndraX2000; 12-12-2006 at 13:18. Reason: version 1.2
AndraX2000 is offline
godlike
Senior Member
Join Date: Apr 2005
Old 12-11-2006 , 16:30   Re: AWP Armory To Scout
Reply With Quote #2

What about awp_map ?
__________________
Read the rules before posting something stupid: click here

Any questions about amxx PM me
godlike is offline
AndraX2000
Member
Join Date: Mar 2006
Location: 3957' N 8314' W
Old 12-11-2006 , 17:55   Re: AWP Armory To Scout
Reply With Quote #3

Quote:
Originally Posted by godlike View Post
What about awp_map ?
I'm not sure I understand your question.

If you have this plugin enabled than any AWPs on the ground on awp_map will be converted to scouts.

If this is not what you want, you could not install this plugin, or you could disable the plugin for that map.
__________________
Get maps at http://www.counter-strike-maps.net
Shoot me at:

AndraX2000 is offline
XmINiX
Senior Member
Join Date: Nov 2006
Location: Your basement
Old 12-11-2006 , 18:05   Re: AWP Armory To Scout
Reply With Quote #4

nice plugin
__________________
+Karma me if i am helpful!
XmINiX is offline
Send a message via AIM to XmINiX Send a message via MSN to XmINiX Send a message via Yahoo to XmINiX
bloody
Member
Join Date: Dec 2006
Old 12-11-2006 , 21:50   Re: AWP Armory To Scout
Reply With Quote #5

was just wondering what was the differnt btwn this plugin to this http://forums.alliedmods.net/showthread.php?t=1938 only thing change was that the awp spawn just chang eto a scoutz
bloody is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 12-11-2006 , 22:11   Re: AWP Armory To Scout
Reply With Quote #6

Your plugin:
Only converts awps on ground, i believe the player could still buy an awp.

Other plugin:
Has to go through the process of dropping them down 2k untis to drop the awp, i don't know how that would look on the player's screen.


Both seem to have flaws. There is a way that would be most efficient to do everything we want with no bad effects. (force awp drop on pickup, delete awp entity, give scout). Make this plugin and I would personally guarentee an approval (if it were of good quality).

Unfortunately, as for this specific plugin, I will have to unnapprove it. If you want to do my idea, repost as a new plugin. If you need help PM Email or IM me.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
AndraX2000
Member
Join Date: Mar 2006
Location: 3957' N 8314' W
Old 12-11-2006 , 23:32   Re: AWP Armory To Scout
Reply With Quote #7

I probably wouldn't make the plugin you describe because it would cause a money imbalance. If someone buys an awp, they spend more money than buying a scout, and then they have the awp dropped and a scout given. Isn't it just easier to use weapon restrict? It also creates a visual anomaly on the map. A player would see an awp laying on the ground, but they would pick up a scout. I have some regulars on my server who would notice that and complain. This plugin gets around that by replacing the entity and the world model.

There is also the instance where someone may want to eliminate awp armoury_entities but still allow players to buy. We play a few maps that only have buy zones in hard to reach places, so it is fun to not have any awps at the spawn but still have them buyable.
__________________
Get maps at http://www.counter-strike-maps.net
Shoot me at:

AndraX2000 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 12-11-2006 , 23:35   Re: AWP Armory To Scout
Reply With Quote #8

wow, you are right about that. I can completely see that advantage. Didn't think of it like that before..
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 12-11-2006 , 23:39   Re: AWP Armory To Scout
Reply With Quote #9

lol chronic but nice plugin +karma
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-12-2006 , 00:02   Re: AWP Armory To Scout
Reply With Quote #10

I know it is not the purpose of this plugin, but could you not refund the amount of money and change the weapon?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
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 11:51.


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