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

[CSS] Deathmatch Lite Respawn - Now with Spawn and GunGame LevelUp Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Plugin ID:
1770
Plugin Version:
2.9
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    Gives deathmatch respawn to Counter Strike: Source
    Old 06-28-2010 , 08:03   [CSS] Deathmatch Lite Respawn - Now with Spawn and GunGame LevelUp Protection
    Reply With Quote #1

    Description
    Gives deathmatch respawn to Counter Strike: Source.
    Optionally sets player's money on respawn, removes ground weapons and defuser kits,
    provides spawn and Gun-Game level-up protection, ragdoll dissolve, and removal of player collisions.

    This plugin allows you to have what used to require finding, downloading, and configuring several plugins.
    Configuration is kept to a minimum to simply installation. Tweaks to colors, timings, etc. can be
    accomplished by recompiling. PM me if you need help.

    Players won't respawn between round_end and round_start.
    Teleports players up who spawn buried (a log message is generated for this rare event).
    Removes ragdoll of players who spectate.
    Spawn and Gun-Game level-up protection is canceled if the player fires his weapon.
    Will not dissolve ragdolls after round end (should mitigate map change issue).
    As of 2011, the game engine now removes ragdoll on respawn, team change (including spectate), and
    disconnect. Dissolve will beat respawn.

    Servers using this mod: GameTracker sm_dmlite_version

    Installation:
    Place compiled plugin (sm_dmlite.smx) into your plugins folder.
    The configuration file (dmlite.cfg) is generated automatically.
    Changes to dmlite.cfg are read at map/plugin load time.
    Changes to cvars made in console take effect immediately.

    Complimentary Plugins:
    Ammo Replenishment Lite
    Gun Menu Pawn

    Upgrade Notes:
    Added sm_dmlite_money as of v2.5; add this to dmlite.cfg if you wish to use it.
    Added sm_dmlite_protect as of v2.6; add this to dmlite.cfg if you wish to disable it.
    Added sm_dmlite_dissolve as of v2.6; add this to dmlite.cfg if you wish to enable it.
    Added sm_dmlite_noblock as of v2.6; add this to dmlite.cfg if you wish to disable it.
    Replace sm_dmlite_protect with sm_dmlite_spawn_time and sm_dmlite_level_time as of v2.7; update dmlite.cfg appropriately.
    Alternatively, you can delete the old dmlite.cfg and a replacement, with all of the
    cvars provided, will be created when the next map loads.

    Problems, Bug Reports, Feature Requests, and Compliments:
    Please send me a private message at http://forums.alliedmods.net/private.php?do=newpm&u=46596
    Include a detailed description of how to reproduce the problem. Information about your server,
    such as dedicate/listen, platform (win32/linux), game, and ip address may be useful.

    I prefer to keep the plugin thread cleared so people don't have to wade through pages of fodder.
    The community will be given a chance to address any bug reports that are posted in the plugin thread.
    If you want a direct response from me, send a private message.

    Compliments are always welcomed in the thread.

    Background:
    Originally created by TechKnow. See http://forums.alliedmods.net/showthread.php?t=81787
    Spawn Protection derived from Spawn Protection v1.5 by Fredd. See http://forums.alliedmods.net/showthread.php?t=68139
    Ragdoll Dissolve derived from Dissolve (player ragdolls) by L. Duke
    See http://forums.alliedmods.net/showthread.php?t=71084
    No Block derived from NoBlock v1.4.2 by altex and Meng
    See http://forums.alliedmods.net/showthread.php?t=91617
    and http://forums.alliedmods.net/showthread.php?t=107619

    Files:
    • cstrike/addons/sourcemod/plugins/sm_dmlite.smx
    • cstrike/cfg/sourcemod/dmlite.cfg
    • cstrike/cfg/server.cfg

    Configuration Variables (Change in dmlite.cfg):
    • sm_dmlite_delay - Number of seconds before respawing player. 0 Disables respawn. (Default: "3.0")
    • sm_dmlite_money - Player respawn money. 0 Disables account adjustment. (Default: "0")
    • sm_dmlite_cleanup - Enable/Disable weapon cleanup. (Default: "1")
    • sm_dmlite_spawn_time - Spawn Protection time in seconds. 0 Disables Spawn Protection. (Default: "0.85")
    • sm_dmlite_level_time - GG Levelup Protection time in seconds. 0 Disables Levelup Protection. (Default: "0.60")
    • sm_dmlite_dissolve - Enable/Disable Ragdoll Dissolve. (Default: "1")
    • sm_dmlite_noblock - Enable/Disable Removal of Player Collisions. (Default: "1")

    Server Configuration Variables (Change in server.cfg):
    • mp_startmoney - Set this to match sm_dmlite_money
    • mp_buytime - Set this to allow late buying (50000 is longer than a month)
    • mp_ignore_round_win_conditions - Set this to prevent round end

    To-Do:
    Option to give C4 when mp_ignore_round_win_conditions 1
    Option to remove map objectives
    Add spawn points

    Changelog:
    Code:
    2.9 [-] 2012 - 01/12 LumiStance
    Correct team check in RespawnAllDead
    2.8 [-] 2011 - 11/13 LumiStance (337 downloads)
    Add CS_TEAM constant labels
    Remove Ragdoll spam; game now removes ragdolls
    Moved CheckClientSpawnHeight call to Event_PlayerSpawn
    2.7 [-] 2011 - 01/10 LumiStance (1990 downloads)
    Add code to cancel protection on weapon firing
    Replace sm_dmlite_protect with sm_dmlite_spawn_time and sm_dmlite_level_time
    Cache m_hOwnerEntity
    2.6 [-] 2010 - 11/20 LumiStance
    Added Spawn Protection and Gun Game Level-Up protection and sm_dmlite_protect cvar
    Added Ragdoll Dissolve and sm_dmlite_dissolve cvar
    Added No Block and sm_dmlite_noblock cvar
    Removed respawn spam
    Added code to work around A2S_RULES bug in linux orange box
    Added code to find (every 15s) dead players that didn't fire player_death event
    2.5 [-] 2010 - 09/11 LumiStance
    Added code to reset player's account at respawn
    Added code to Event_BombExploded check g_RespawnDelay
    Refactored redundant code
    Added CheckClientSpawnHeight to find players spawned into the ground
    Added code to block respawn at round end
    2.4 [-] 2010 - 09/06 LumiStance
    Corrected usage of MaxClients in RespawnAllDead and StripGroundWeapons
    Added code to Event_PlayerTeam to ignore players who weren't on a team
    2.3 [-] 2010 - 09/02 LumiStance
    Added code to remove defusers with owners - defusers don't exist when equiped
    Stripped IsClientConnected when IsClientInGame was also checked
    2.2 [-] 2010 - 07/20 LumiStance
    Added code to remove ragdoll when player joins spectators
    2.1 [-] 2010 - 07/06 LumiStance
    Added code to find players killed by C4
    2.0 [-] 2010 - 06/28 LumiStance
    Finalize Rebranding and Release with TechKnow's blessing
    1.9 [-] 2010 - 06/27 LumiStance
    Replaced AutoTimer with joinclass command hook
    Cleaned up code
    Change Chat Message to before delay
    1.8 [-] 2010 - 06/26 LumiStance
    Revise Weapon Cleanup code
    1.7 [-] 2010 - 06/25 LumiStance
    Replaced SDKCall for RoundRespawn with CS_RespawnPlayer
        This removes dependency on gamedata.txt and make compatible with Source 2010 Update
    Clean up whitespace
    Added documentation
    1.6 [-] 2008 - 12/11 TechKnow
    Added map weapons removal at round start, replaces the need for plugin Buyitdamnit.
    1.5
    Repaired Autospawn timmer multiple starts.
    1.4
    Removed chat command !spawn and spawn and replaced them with a total AUTO-Spawn because players
    are too stupid to type !spawn or spawn in chat.
    1.3
    Added Remove weapons on players death to prevent other players from picking up the wrong weapon
    and to stop server from lagging when a long round is leaving MANY guns/weapons loose on the
    ground. and cvar to control on or off.
    The scripting of removal of weapons was made by Kigen, a MASTER scripter.
    1.2
    Repaired client chat message saying..
    [GGDM]You can not spawn because you are already alive.
    or
    [GGDM]You can not spawn because you are not on a team.
    Eevry time you typed weather you typed spawn or !spawn or NOT.
    1.1
    Added so players can spawn themselves if they join in the middle of a round so they dont have to
    wait for next round to be spawned.
    1.0
    released
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_dmlite.sp - 8002 views - 21.1 KB)
    __________________

    Last edited by LumiStance; 01-12-2012 at 16:09. Reason: Release v2.9
    LumiStance is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 06-28-2010 , 14:43   Re: [CSS] Deathmatch Lite - Compatible with GunGame (GG - GGDM) and Source 2010 Updat
    Reply With Quote #2

    What about adding spawn protection and making it so people can still buy weapons in the buyzones after mp_buytime is over cause a DM round can last a long time?

    Also, is there an on/off cvar?
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    LumiStance
    AlliedModders Donor
    Join Date: Jan 2009
    Location: Northern California
    Old 06-28-2010 , 16:17   Re: [CSS] Deathmatch Lite - Compatible with GunGame (GG - GGDM) and Source 2010 Updat
    Reply With Quote #3

    Quote:
    Originally Posted by Xp3r7 View Post
    What about adding spawn protection and making it so people can still buy weapons in the buyzones after mp_buytime is over cause a DM round can last a long time?

    Also, is there an on/off cvar?
    Cvars noted above:
    Setting to 0 disables

    Update: v2.5 has respawn money and checks for buried players
    Update: v2.6 has spawn protection, gun-game level-up protection, dissolve, and noblock
    __________________

    Last edited by LumiStance; 11-20-2010 at 21:31.
    LumiStance is offline
    DeLsTer
    New Member
    Join Date: Jul 2010
    Old 07-23-2010 , 04:10   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #4

    Great job works nice, only sumtimes players view is messed up (you see like your half under ground).

    And could please check it with this dissolve plugin, it doesnt work for me.
    DeLsTer is offline
    ThorsHammer
    Junior Member
    Join Date: Aug 2010
    Old 08-24-2010 , 04:40   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #5

    Does this death Match mod come with the Death Mach menu or is it made just for re-spawning?? I'm running an RPG Scoutzknivez server that I would like to be a death match server, minus the DM gun menu..
    ThorsHammer is offline
    Send a message via Yahoo to ThorsHammer
    LumiStance
    AlliedModders Donor
    Join Date: Jan 2009
    Location: Northern California
    Old 08-24-2010 , 10:26   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #6

    There is no menu. I may add a simple menu in future, and have option to disable it.
    __________________
    LumiStance is offline
    ThorsHammer
    Junior Member
    Join Date: Aug 2010
    Old 08-24-2010 , 20:57   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #7

    This seems to be exactly what I'm looking for!
    Thanks,
    Thor
    ThorsHammer is offline
    Send a message via Yahoo to ThorsHammer
    LumiStance
    AlliedModders Donor
    Join Date: Jan 2009
    Location: Northern California
    Old 09-08-2010 , 02:03   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #8

    Quote:
    Originally Posted by DeLsTer View Post
    Great job works nice, only sumtimes players view is messed up (you see like your half under ground).

    And could please check it with this dissolve plugin, it doesnt work for me.
    Update: v2.5 has respawn money and checks for buried players
    Update: v2.6 has spawn protection, gun-game level-up protection, dissolve, and noblock
    __________________

    Last edited by LumiStance; 11-20-2010 at 21:31.
    LumiStance is offline
    Arzuz
    New Member
    Join Date: Sep 2010
    Location: Riihimäki, Finland
    Old 09-11-2010 , 08:51   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #9

    On our css-server, we have standard maps and gungame maps configured so that gungame is switched on for gg_ maps and off for de_ and cs_ maps. Also dmlite is switched on and off by 'sm_dmlite_delay 0/3'. The problem is that on de_ maps where dmlite is switched off, it still respawns players right after a bomb explosion. Did I miss something or is this a bug? Otherwise the plugin works perfectly and is exactly what we needed for our server.

    Thanks!
    Arzuz is offline
    Switchie
    Senior Member
    Join Date: Mar 2006
    Location: Belgium
    Old 09-11-2010 , 11:30   Re: [CSS] Deathmatch Lite Respawn - Works w/ GunGame, GG, GGDM and Source 2010 Update
    Reply With Quote #10

    Does this disables the mp_roundtime cvar ?
    Endless roundtime.
    __________________
    Switchie 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 03:46.


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