Raised This Month: $12 Target: $400
 3% 

Enforce Team Play


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dalto
Veteran Member
Join Date: Jul 2007
Plugin ID:
178
Plugin Version:
0.8
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Enforces team play by punishing players who do not stick together
    Old 09-03-2007 , 23:55   Enforce Team Play
    Reply With Quote #1

    Enforce Team Play

    Current Version: 0.8

    Description:
    Enforces team play by punishing players who do not stick together.
    The idea behind this plugin is to force players to stick together no matter what, if you stray from your team mates for too long, your health will begin to deplete, the health can not go below 1 HP, and the health can not be regenerated, so stick together.

    CVARS:
    • sm_enforce_team_play_enable
      • Enables/Disables ETP
    • sm_enforce_team_play_radius
      • The radius to check for a player being away from team mates
    • sm_enforce_team_play_poll_count
      • the amount of times a players position is polled
    • sm_enforce_team_play_polls_needed
      • The number of times he is found outside of the radius to be punished
    • sm_enforce_team_play_poll_time
      • The polling interval
    • sm_enforce_team_play_punish_interval
      • The frequency of the punishment
    • sm_enforce_team_play_damage_amount
      • The amount of damage to do

    Planned Features:
    • Add more flexible punishment options
    • Add rewards for sticking together
    • Broaden definition of team play, advice needed
    Credits:
    The idea and design of this plugin came from FlyingMongoose.

    Changelog:


    0.8: Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (enforceteamplay.sp - 2191 views - 6.4 KB)

    Last edited by FlyingMongoose; 10-02-2007 at 22:38.
    dalto is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 09-03-2007 , 23:58   Re: Enforce Team Play
    Reply With Quote #2

    You should ad healing so long as you're within the radius of a team mate. (x per second) but don't go over the max hp, in fact you may want to store HP value on player_hurt and only heal to the health from after player_hurt.

    add a cvar to allow for a slay if the player's health could end up below or equal to 0!
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers

    Last edited by FlyingMongoose; 09-04-2007 at 00:03.
    FlyingMongoose is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 09-05-2007 , 13:50   Re: Enforce Team Play
    Reply With Quote #3

    A bit more description to the plugin would help (the description is a bit vague).
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 10-03-2007 , 18:42   Re: Enforce Team Play
    Reply With Quote #4

    There I updated the description and first post a bit for you but only cuz I want to see this thing succeed (eventually)
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    darkghost9999
    Member
    Join Date: Aug 2006
    Old 06-30-2008 , 20:07   Re: Enforce Team Play
    Reply With Quote #5

    It's still pretty vague. What does the poll count/time/need do?

    Also: Does anyone know how to edit this plugin so that you can "set" your own values? The plugin seems to continuously set to whatever the default is. I can't turn it off, because the default is 1 and I can't change any of the value without it going back to default.

    Last edited by darkghost9999; 06-30-2008 at 23:37.
    darkghost9999 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 06:10.


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