AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   AWP Armory To Scout (https://forums.alliedmods.net/showthread.php?t=48417)

AndraX2000 12-11-2006 14:31

AWP Armory To Scout
 
2 Attachment(s)
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.

godlike 12-11-2006 15:30

Re: AWP Armory To Scout
 
What about awp_map ?

AndraX2000 12-11-2006 16:55

Re: AWP Armory To Scout
 
Quote:

Originally Posted by godlike (Post 414050)
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.

XmINiX 12-11-2006 17:05

Re: AWP Armory To Scout
 
nice plugin

bloody 12-11-2006 20:50

Re: AWP Armory To Scout
 
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

GHW_Chronic 12-11-2006 21:11

Re: AWP Armory To Scout
 
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.

AndraX2000 12-11-2006 22:32

Re: AWP Armory To Scout
 
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.

GHW_Chronic 12-11-2006 22:35

Re: AWP Armory To Scout
 
wow, you are right about that. I can completely see that advantage. Didn't think of it like that before..

Reaper2331 12-11-2006 22:39

Re: AWP Armory To Scout
 
lol chronic but nice plugin +karma

SweatyBanana 12-11-2006 23:02

Re: AWP Armory To Scout
 
I know it is not the purpose of this plugin, but could you not refund the amount of money and change the weapon?


All times are GMT -4. The time now is 10:28.

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