[DoD:S] Anticamp
3 Attachment(s)
Hello all,
The campers who piss off, do not have more than to be well held. http://i61.servimg.com/u/f61/11/01/71/36/antica10.jpg That pissed off to me the campers with their tents. Thus, I adapted Mod of Counter Source to DoDs, and there he is plainly brilliant. There was many job, because this Mod is totallement incompatible. I thus redid it profoundly, and now it works ! The plugin is quite simple, when a player arrives at the spawn it has certain number of second before the release of a timer which is going to verify the movements of the player. If the player stays in the same place, he will have a blue beacon. If the player begins re-moving in a regular way in a radius superior to 200 (around him), he haven't beacon. I redid the sound of Beacon, it is very close to the ancient sound that one. I have worked the blue beacon, so that it is rather beautiful when it spreads(diffuses) around us. We would almost want the credit note all the time ^^. Still thanks to FeuerSturm to have me to help to understand and to resolve the logs errors. 2 news Cvar for MG and SNIPER: - If 'sm_anticamp_mg_enable = 0' then MG can camp (Condition : If MG does not once fire, then beacon) - If 'sm_anticamp_sniper_enable= 0' then SNIPER can camp (Condition : If SNIPER does not once fire, then beacon) Command: - No command Installation: - Put anticamp.smx in " dod / addons / sourcemod / plugins " - Put anticamp.phrases in " dod / addons / sourcemod / translations " - Put sounds in the file "dod / sound/ anticamp " - Relaunch the server CHANGELOG: - 16.12.2008 Version 2.0 - Enable/disable DoD:S anticamp for MG (Only if MG fire) - Enable/disable DoD:S anticamp for SNIPER (Only if SNIPER fire) - 17.12.2008 Version 2.1 - A message informs the player about its situation Version 2.1.1 - Add Enable/disable slap after 3 beacons Version 2.1.2 - Translation in English, Deutch and French (Thanks to Ragou42 to have done this translations) Version 2.1.3 - Add a discount of 3 seconds before the beacon that the player see on the screen Version 2.1.4 - Add Cvar for enable/disable discount of 3 seconds before the beacon Version 2.1.6 (NEW) - Light version of this plugin with optimisation of code, and without cvar of SNIPERS and MG. - The plugin is activate (timer of camp) as soon as the player makes his first shooting. Version 2.1.7 (NEW) - Full version of this plugin with optimisation of code, cvar of SNIPERS and MG. - The plugin is activate (timer of camp) as soon as the player makes his first shooting. REPORTED BUGS: - No bug for a long time WARNING: this plugin was creates for a long time, it has no known bug and already works on numerous servers. Her author wishes to make it share to the community, but will make modifications above only if need be. SERVERS RUNNING THIS PLUGIN: http://www.game-monitor.com/search.p...&type=variable |
Re: [DoD:S] Anticamp
Please post plugin here
|
Re: [DoD:S] Anticamp
Yeah, because in the real world, soldiers don't ambush. :cry:
|
Re: [DoD:S] Anticamp
Hi, I have loaded your plugin in my dods server today.
After loading the plugin it has not created a cfg file with cvars. Is that OK? Regards, Pablo. |
Re: [DoD:S] Anticamp
Hi Guardia,
It's normally. You have just put : Installation: - Put anticamp.smx in " dod / addons / sourcemod / plugins " - Put anticamp.phrases in " dod / addons / sourcemod / translations " - Put sounds in the file "dod / sound/ admin_plugin /actions " - Relaunch the server You can just modify in anticamp.sp : a_CvarLowHealth = CreateConVar("sm_anticamp_low_health_level", "15", "Set to the health level below which camping is OK"); a_CvarRadius = CreateConVar("sm_anticamp_radius", "170", "The radius to check for camping"); a_CvarPollCount = CreateConVar("sm_anticamp_poll_count", "7", "the amount of times a suspected camper is checked for"); a_CvarAnticamp_mg_Enable = CreateConVar("sm_anticamp_mg_enable", "1", "Enable/disable DoD:S anticamp for MG", FCVAR_PLUGIN); a_CvarAnticamp_sniper_Enable = CreateConVar("sm_anticamp_sniper_enable", "1", "Enable/disable DoD:S anticamp for SNIPER", FCVAR_PLUGIN); a_CvarAnticamp_Notify = CreateConVar("sm_anticamp_notify", "1", "Whether or not arriving clients are informed about ANTICAMP", FCVAR_PLUGIN); a_CvarAnticamp_slap_Enable = CreateConVar("sm_anticamp_slap_enable", "1", "Enable/disable slap after beacon", FCVAR_PLUGIN); a_CvarAnticamp_Discount_Enable = CreateConVar("sm_anticamp_discount_enable", "1", "Enable/disable discount of 3 seconds before the beacon", FCVAR_PLUGIN); Cordially |
Re: [DoD:S] Anticamp
Thanks misery. I should add the cvars information in your first post as usual.
Most of plugins create a cfg file first time they are loaded. That is nice for admins and simple to use instead of create a cfg file manually, add cvars and modify the server.cfg Just a request. I made a test using the default value: sm_anticamp_low_health_level 15 I stayed in the same place without movement. My health was decreasing 100...15, 10. I think you could camp with health 15 according to the cvar. How much health is decreased in every slap? 5 I guess. What about a cvar for that? sm_anticamp_poll_count is in seconds? Can you set the time in seconds without movement to consider a player camping? Screenshot of your plugin running on DoD:S http://xs140.xs.to/xs140/09244/dod_f...373.jpg.xs.jpg Best regards, Pablo. |
Re: [DoD:S] Anticamp
Hi,
It is true that I made this plugin long ago. And what it works rather by cycle than by very real seconds. And it would be hard to put it exclusively in real second because I would be obliged to do all the plugin. Thus, I leave it like that for the moment. Health is decreased of 5 slap, yes. The code is : Code:
SlapPlayer(client, 5, true);Misery |
Re: [DoD:S] Anticamp
1 Attachment(s)
Russian translation update
|
Re: [DoD:S] Anticamp
3 Attachment(s)
[DoD:S] Anticamp v2.1.8
Fixed compilation errors for SourceMod v1.11 and 1.12. The plugin no longer uses sounds and sprites to warn the player. After a few seconds, he transfers the camper to the spectators. |
| All times are GMT -4. The time now is 21:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.