Raised This Month: $154 Target: $400
 38% 

[DoD:S] Anticamp


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Misery59
Junior Member
Join Date: Jul 2008
Plugin ID:
881
Plugin Version:
Version 2.1.7
Plugin Category:
Server Management
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Anticamp with beacon for players
    Old 05-15-2009 , 04:15   [DoD:S] Anticamp
    Reply With Quote #1

    Hello all,

    The campers who piss off, do not have more than to be well held.



    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


    Attached Files
    File Type: zip anticamp_light.zip (45.1 KB, 509 views)
    File Type: zip anticamp_full.zip (45.7 KB, 978 views)

    Last edited by Misery59; 11-20-2009 at 03:42. Reason: New version : Light and Full
    Misery59 is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 05-15-2009 , 11:17   Re: [DoD:S] Anticamp
    Reply With Quote #2

    Please post plugin here
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    GrossKopf
    Senior Member
    Join Date: Jun 2007
    Old 05-16-2009 , 14:38   Re: [DoD:S] Anticamp
    Reply With Quote #3

    Yeah, because in the real world, soldiers don't ambush.
    __________________

    Left 4 Dead servers $.99/slot! Left 4 Dead 2 servers $1.49/slot!
    GrossKopf is offline
    Guardia Republicano
    Member
    Join Date: Dec 2006
    Location: Buenos Aires, Argentina
    Old 06-10-2009 , 15:28   Re: [DoD:S] Anticamp
    Reply With Quote #4

    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.
    __________________
    Guardia Republicano is offline
    Misery59
    Junior Member
    Join Date: Jul 2008
    Old 06-11-2009 , 08:11   Re: [DoD:S] Anticamp
    Reply With Quote #5

    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
    Misery59 is offline
    Guardia Republicano
    Member
    Join Date: Dec 2006
    Location: Buenos Aires, Argentina
    Old 06-11-2009 , 09:28   Re: [DoD:S] Anticamp
    Reply With Quote #6

    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



    Best regards,
    Pablo.
    __________________

    Last edited by Guardia Republicano; 06-11-2009 at 17:45. Reason: Screenshot added
    Guardia Republicano is offline
    Misery59
    Junior Member
    Join Date: Jul 2008
    Old 06-12-2009 , 04:21   Re: [DoD:S] Anticamp
    Reply With Quote #7

    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);
    Cordially,
    Misery
    Misery59 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 05:45.


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