Raised This Month: $32 Target: $400
 8% 

[HL2DM] Tag/freeze


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Alienmario
Senior Member
Join Date: Aug 2013
Plugin ID:
4277
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fun Melee-only Gamemode
    Old 07-12-2014 , 19:19   [HL2DM] Tag/freeze
    Reply With Quote #1

    Introduction
    This is a fun standalone gamemode based on the kids game freeze tag. It supports both 'teamplay' and 'free for all' settings. The goal of the mode is to freeze/tag your opponents (crowbar them) while avoiding getting frozen yourself.
    1. Free for all
      There is only one player tagged at a time and game ends when the time runs out.
      When someone becomes tagged he freezes and unfreezes after few seconds.
    2. Teamplay is round based.
      When one team completely freeze the other team, they win the round. You can unfreeze your teammates the same way you tag. Map changes after five rounds.

    Features
    • Configurable
    • Prevents cheating
    • Waits for everyone to load in team mode
    • Has a minimum players check
    • Tested on real server

    CVAR List
    Quote:
    • sm_tagfreeze_min_players / 2 / Minimum players needed for the game to start
    • sm_tagfreeze_beacon_delay / 1 / How fast is the beacon (less=faster)
    • sm_tagfreeze_beacon_radius / 650.0 / How far the beacon travels
    • sm_tagfreeze_beacon_makesound / 1 / Should beacon make sound?
    • sm_tagfreeze_beacon_enable / 1 / Enable beacon
    • sm_tagfreeze_low_msg_enable / 1 / Show HUD message when there aren't enough players to start
    • sm_tagfreeze_chosen_msg_enable / 1 / Show HUD message when someone gets tagged
    • sm_tagfreeze_chosen_chat_enable / 1 / Show chat message when someone gets tagged
    • sm_tagfreeze_freeze_time / 6.0 / How long should newly tagged player be frozen
    • sm_tagfreeze_freeze_beacon_radius / 600 / Sets the radius of beacon when someone is tagged
    • sm_tagfreeze_unfreeze_message / You are unfrozen. Go tag someone! / Message sent to unfrozen player
    • sm_tagfreeze_points_attacker / 5 / How many points does the 'attacker' get. Negative values allowed
    • sm_tagfreeze_points_victim / -1 / How many points does the 'victim' or new 'it' get. Negative values allowed
    • sm_tagfreeze_points_hit_it / 1 / How many points does player get, when he/she attacks 'it'
    • sm_tagfreeze_points_get_hit / -1 / How many points does player get, when he/she's 'it' and gets crowbared. Negative values allowed
    • sm_tagfreeze_points_help_it / 1 / How many points does player get, when he/she helps a teammate in teamplay mode
    • sm_tagfreeze_deaths_victim / 1 / How many deaths does the 'victim' or new 'it' get. Negative values allowed
    • sm_tagfreeze_points_endlooser / 0 / How many points does the looser get on game end. Negative values allowed
    • sm_tagfreeze_endlooser_hudmsg_enable / 1 / Enable hud message on game end, showing who lost and points taken
    • sm_tagfreeze_endlooser_hudmsg_text / / Message on game end; Example: 'You loose NAME LINE POINTS points' ;; NAME = the IT's name; LINE = new line; POINTS = points lost. These are case sensitive and will be automatically replaced.
    • sm_tagfreeze_beacon_volume / 70 / Volume of the beacon in dB, 0=NONE, 180=ROCKET, more at: docs.sourcemod.net/api/index.php?fastload=file&id=34&"
    • sm_tagfreeze_freeze_volume / 0.3 / Volume of the freeze sound, 0.0=min, 1.0=Normal
    • sm_tagfreeze_carrier_selfkill_msg / Good luck with that / Reply message when the carrier tries to kill himself using console
    • sm_tagfreeze_takepoints_sec / 30 / How long until take -1 points from players being it
    The owner of the plugin is Ade and gave me the permission to post it.




    Installation instructions
    Just copy the smx to addons/sourcemod/plugins
    Optionally configure the convars

    Uses SDKHooks
    NoBlock is highly recommended
    Attached Files
    File Type: sp Get Plugin or Get Source (tag_freeze.sp - 637 views - 26.1 KB)

    Last edited by Alienmario; 07-12-2014 at 19:57.
    Alienmario 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 16:40.


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