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

[L4D2] Hard Game Mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ispirto
Junior Member
Join Date: Apr 2010
Plugin ID:
1639
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Hard game mods
    Old 05-04-2010 , 08:49   [L4D2] Hard Game Mode
    Reply With Quote #1

    Hello,

    This is my first plugin. I didnt code much, I just took some plugins and mixed them and edited them a bit. I've coded this plugin to make versus games more hard.

    I've used the codes of these plugins:
    http://forums.alliedmods.net/showthread.php?t=113492
    http://forums.alliedmods.net/showthread.php?t=111367
    http://forums.alliedmods.net/showthread.php?t=110674

    I hope the authors won't get mad at me I just wanted to improve and mix their codes.

    You need to install SDK hooks to get this plugin working.

    Here are my cVars:

    // New value for tank health.
    // -
    // Default: "6000"
    l42_edit_tank_health "6000"

    // Enable hardcore witch (Witch kills you with one shot).
    // -
    // Default: "1"
    l42_hardcore_witch "1"

    // New value for ammo for hunting rifles (works only Switch T2 and T3 weapons with T1 enabled)
    // -
    // Default: "150"
    l4d2_HRMaxAmmo "150"

    // New value for ammo for SMG weapons (works only Switch T2 and T3 weapons with T1 enabled)
    // -
    // Default: "650"
    l4d2_SMGMaxAmmo "650"

    // New value for ammo for shotguns (works only Switch T2 and T3 weapons with T1 enabled)
    // -
    // Default: "56"
    l4d2_ShotgunMaxAmmo "56"

    // What to do with defibs? (0 = Keep them, 1 = Remove all of them, 2 = Replace all of them with pills, 3 = Replace the ones out of saferoom with pills, 4 = Keep them but make defibbed player black and white).
    // -
    // Default: "2"
    l4d2_edit_defibs "2"

    // What to do with medkits? (0 = Keep them, 1 = Remove all of them, 2 = Replace all of them with pills, 3 = Replace the ones out of saferoom with pills).
    // -
    // Default: "2"
    l4d2_edit_medkits "2"

    // New value for survival bonus for each player.
    // -
    // Default: "100"
    l4d2_edit_survival_bonus "100"

    // New value for tie breaker bonus for team.
    // -
    // Default: "100"
    l4d2_edit_tie_bonus "100"

    // Force tank and witch on every round.
    // -
    // Default: "1"
    l4d2_force_tank_and_witch "1"

    // Infected spawn delay. (secs)
    // -
    // Default: "20"
    l4d2_infected_spawn_delay "20"

    // Plugin Version.
    // -
    // Default: "1.0"
    l4d2_ispirto_Version "1.0"

    // Enable Plugin.
    // -
    // Default: "1"
    l4d2_ispirto_enabled "1"

    // Remove M60 rifles.
    // -
    // Default: "1"
    l4d2_m60 "1"

    // Remove ammo upgrades.
    // -
    // Default: "1"
    l4d2_remove_ammo_upgrades "1"

    // Remove Chainsaws.
    // -
    // Default: "1"
    l4d2_remove_chainsaw "1"

    // Remove Laser Sights.
    // -
    // Default: "1"
    l4d2_remove_laser "1"

    // Remove grenade launchers.
    // -
    // Default: "1"
    l4d2_remove_launcher "1"

    // Switch T2 and T3 weapons with T1
    // -
    // Default: "1"
    l4d2_switch_T2_and_T3 "1"

    Let me know if you find bugs. I can also take suggestions.
    Attached Files
    File Type: sp Get Plugin or Get Source (ispirto.sp - 3817 views - 17.7 KB)
    File Type: smx ispirto.smx (9.7 KB, 1322 views)

    Last edited by ispirto; 05-04-2010 at 09:49.
    ispirto is offline
    paradinon
    Junior Member
    Join Date: Apr 2010
    Old 05-04-2010 , 09:19   Re: [L4D2] Hard Game Mode
    Reply With Quote #2

    Sounds good...Gonna try it out
    paradinon is offline
    Nataraja
    Member
    Join Date: Jan 2010
    Old 10-16-2010 , 08:57   Re: [L4D2] Hard Game Mode
    Reply With Quote #3

    Not works with tank health, it's always 9000
    Nataraja is offline
    JackieChan
    AlliedModders Donor
    Join Date: Nov 2009
    Old 10-16-2010 , 22:55   Re: [L4D2] Hard Game Mode
    Reply With Quote #4

    Quote:
    Originally Posted by Nataraja View Post
    Not works with tank health, it's always 9000
    The cvar is for Campaign. It needs a "_vs" at the end of it in the source.
    JackieChan is offline
    SAON
    New Member
    Join Date: Apr 2011
    Old 04-06-2011 , 05:11   Re: [L4D2] Hard Game Mode
    Reply With Quote #5

    Quote:
    Originally Posted by JackieChan View Post
    The cvar is for Campaign. It needs a "_vs" at the end of it in the source.
    these cvars wont work in vs:

    Code:
    l42_edit_tank_health "6000"
    l42_edit_tank_health_vs "6000"
    l42_versus_tank_health "6000"
    how is the right cvar for power up the tank?

    Last edited by SAON; 04-06-2011 at 05:35.
    SAON is offline
    MMikeRUS
    Junior Member
    Join Date: Oct 2011
    Old 10-14-2011 , 10:10   Re: [L4D2] Hard Game Mode
    Reply With Quote #6

    hi.maybe i'm stupid,but i have problem with medkits. i need 4 medkits in saferoom, other must be pills.but there is ONLY PILLS. why?
    MMikeRUS is offline
    Newbie_Sexy
    Member
    Join Date: Aug 2016
    Location: Vietnam
    Old 05-18-2017 , 08:45   Re: [L4D2] Hard Game Mode
    Reply With Quote #7

    Quote:
    Originally Posted by MMikeRUS View Post
    hi.maybe i'm stupid,but i have problem with medkits. i need 4 medkits in saferoom, other must be pills.but there is ONLY PILLS. why?
    Have you changed l4d2_edit_medkits to "3" ?
    Newbie_Sexy 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:45.


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