SpecialAttack Zones
1 Attachment(s)
This plugin regularly checks player locations. If found to be in one of the user configurable zones, players are then filtered by team and class. If a player passes the filters, a given command is executed (from the server console).
sm_spa_zones_enabled (0/1, def 1) Enable/disable player location checking. sm_spa_zones_file (def "configs/zones.txt") The configuration file to load. sm_spa_zones_interval (def 10) Time (in seconds) between checking player locations. sm_spa_zones_debug (1/0, def 0) Enable/disable debug output (to file & server console). By default the plugin reads the configuration from the file configs/zones.txt, which has the following format: Code:
"Zones" Red = 4, Blu = 8 Sum up the numbers corresponding to the teams you want to be affected (Red+Blu=12). Classes Scout = 1, Soldier = 2, Pyro = 4, ... Sum up the numbers corresponding to the classes you want to be affected (Scout+Pyro=5).. Command The command field can contain the following tolkens: {CLIENT_NAME}, {CLIENT_STEAMID}, {CLIENT_USERID}, {CLIENT_LONG_ID}. Changelog
|
Re: SpecialAttack Zones
It is odd to see nobody post reply here ;;
Thanks for creating great plugin. I really want to use this plugin but I don't know how to get positions (x,y,z min max) in the map. anyone please help me :) |
Re: SpecialAttack Zones
type in console: "cl_showpos 1"
then it will show your x,y,z in top of the screen. |
Re: SpecialAttack Zones
Very nice plugin you have here. I am trying to get it to do something specific, but I can't figure out why it isn't working. Basically, I want to give players Godmode when they enter the spawn zone of a specific map and take it away when they leave the predefined area. Unfortunately, instead of giving the players godmode, it just says "Console: /god ...." in the chat. Also it would be cool if you added support for only executing the command when the players' zone position changes from one zone to another. Thanks.
-MacBot |
Re: SpecialAttack Zones
The thing with god mode is that you'd need to have sv_cheats set to 1 and then make the client execute the command. This plugin though makes the server execute a certain command.
What you would need would be a plugin that implements a command like "sm_activate_godmode [client]", which activates godmode on a certain client and then use this command instead |
Re: SpecialAttack Zones
So... what you're saying is.. The server doesn't have the power to execute admin commands? Then how do RTD mods work?
|
Re: SpecialAttack Zones
I am saying that there is no standard command to activate godmode on a player from the serverside, it is easy to implement such a command, but you need a extra plugin for that (correct me if I'm wrong and there is in fact such a command)
|
Re: SpecialAttack Zones
I got all excited when I found this plugin, installed it on my server, and wrote a ton of zones specific to the needs of my server/map.
Unfortunately, if multiple targets meet the criteria set, only one of them is affected. For example, this script forces all heavies in a given area to take out their melee weapons.
Spoiler
Should more than 1 Heavy be present within those coordinates, only the Heavy with the lowest UserID will be affected. This problem is not localized to sm_forcecmd; the issue occurs with all commands, even stock Sourcemod ones. It is an issue with SpA-Zones. Are there perhaps alternatives to this plugin? Or does someone have the time and interest to fix this one? I don't think the original author visits this site anymore. |
All times are GMT -4. The time now is 22:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.