Raised This Month: $ Target: $400
 0% 

[DoD:S] Anticamp


Post New Thread Reply   
 
Thread Tools Display Modes
Author
GrossKopf
Senior Member
Join Date: Jun 2007
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:
    2 
    Plugin Description:
    Anticamp with beacon for players
    Old 05-16-2009 , 14:38   Re: [DoD:S] Anticamp
    Reply With Quote #1

    Yeah, because in the real world, soldiers don't ambush.
    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 #2

    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 #3

    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 #4

    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 #5

    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



    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 21:48.


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