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

[L4D2] Protect the President/Escort the VIP v1.0.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author
seattle_ice
Member
Join Date: Dec 2010
Plugin ID:
2270
Plugin Version:
1.0.4
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Your team must escort the President to the safe house without getting killed. His damage is your damage! He dies, you all die.
    Old 03-10-2011 , 18:25   [L4D2] Protect the President/Escort the VIP v1.0.4
    Reply With Quote #1

    Based very loosely on the old standby 'Escort the VIP' from CSS, this version has you protecting a teammate while trying to make the saferoom.

    This is for versus gameplay, so both teams get a try. Although people have been playing it on co-op successfully.

    Rules/Gameplay:
    • When the first player leaves the saferoom or start area, a random player is selected to be the president. (You can make it truly random, or exclude players that were it in previous rounds)
    • The president can move faster than the other players (configurable from 50% to 200%), default = 120%).
    • The president can have more health than the other players(50% to 500%), default = 150%.
    • The President can only carry a pistol/dual pistols, no other weapons (Configurable to allow Magnum)
    • The President cannot carry a medkit, or heal himself. He can still take pills and adrenaline (Configurable, off or on).
    • The damage to the president is also dealt to all team members. (Configurable from 0% to 500%).
    • All other players damage can be changed also(10% to 500%).
    • The president will have his skin color changed, and he will have a flashing custom glow color around him.
    • If the president dies, you have a limited time to defib him before the entire team dies also(0 seconds to 300 seconds).

    Most of the items are configurable within a range, including the colors of the president. All the colors are comma delimited RGB strings eg: "255,34,55".

    There is a admin console command "sm_selectprez <clientid>" to let an admin select one on demand, if needed or desired.


    Version 1.0.1 (Uses SDKHooks now!)
    [FIXED] - Glow staying on the wrong players after round change
    [ADDED] - Allow/Give the Prez a magnum ConVar
    [FIXED] - Prez being able to pick up dropped weapons

    Version 1.0.2
    [FIXED] - Change Prez if Prez disconnects.
    [FIXED] - Removed debugging Print lines

    Version 1.0.3
    [ADDED] - Allow Prez to carry gas cans, propane and oxygen tanks, and fireworks crates.
    [FIXED] - Players not always dying correctly when Prez dies (sometimes just get incapped).

    Version 1.0.31
    [ADDED] - Allow Prez to carry Ammo packs, Cola Bottles, and the Gnome.
    [FIXED] - Change the Prez if the existing one changes teams.

    Version 1.0.4
    [ADDED] - Saferoom Door gets locked open if Prez/VIP dies. Unlocked if he is revived.


    I uploaded the .smx since it will not compile due to the SDKHooks dependency.
    Attached Files
    File Type: smx l4d2_bwa_protecttheprez.smx (16.3 KB, 1884 views)
    File Type: sp Get Plugin or Get Source (l4d2_bwa_protecttheprez.sp - 1813 views - 26.3 KB)

    Last edited by seattle_ice; 03-18-2011 at 12:45. Reason: New Version
    seattle_ice is offline
    λlsnana(H λ l f l i f e)
    Member
    Join Date: Jun 2010
    Old 03-11-2011 , 03:41   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #2

    Good job!
    λlsnana(H λ l f l i f e) is offline
    Send a message via MSN to λlsnana(H λ l f l i f e)
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-11-2011 , 07:34   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #3

    Similar idea appeared in China long time ago (L4D1)

    There are a punishment if the survivor failed to protect the VIP.
    Freeze All Survivors for 10 seconds and spawn many Special Infected near them.
    I think you should add a cvar to allow different punishments
    __________________

    Last edited by alexip121093; 03-11-2011 at 07:45.
    alexip121093 is offline
    Send a message via MSN to alexip121093
    untalented893
    Senior Member
    Join Date: Oct 2009
    Old 03-12-2011 , 02:47   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #4

    Loads of fun with friends, Please continue support
    untalented893 is offline
    irogue
    Senior Member
    Join Date: Jan 2011
    Location: Australia
    Old 03-12-2011 , 15:16   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #5

    I had requested a game mode a little bit like this previously, i think no one read it or figured i was drunk: https://forums.alliedmods.net/showthread.php?t=147082

    This will be a real blast and spice up the game.

    Thanks
    irogue is offline
    seattle_ice
    Member
    Join Date: Dec 2010
    Old 03-12-2011 , 18:39   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #6

    Quote:
    Originally Posted by irogue View Post
    I had requested a game mode a little bit like this previously, i think no one read it or figured i was drunk: https://forums.alliedmods.net/showthread.php?t=147082

    This will be a real blast and spice up the game.

    Thanks
    I think the problem there was that it has become increasingly difficult to adjust the games scoring system without a great deal of effort, and without messing up the game.

    Last edited by seattle_ice; 03-12-2011 at 20:11.
    seattle_ice is offline
    GShock
    New Member
    Join Date: Mar 2011
    Old 03-12-2011 , 19:32   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #7

    Just registered on the forums here to say this. Great plugin!! I loaded this on my clan's server to play and we had a blast.

    I noticed one bug for you though, if a weapon is dropped(IE teir1 dropped to pickup tier 2) the president can pickup that dropped tier one to use.
    GShock is offline
    seattle_ice
    Member
    Join Date: Dec 2010
    Old 03-12-2011 , 20:10   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #8

    Quote:
    Originally Posted by GShock View Post
    Just registered on the forums here to say this. Great plugin!! I loaded this on my clan's server to play and we had a blast.

    I noticed one bug for you though, if a weapon is dropped(IE teir1 dropped to pickup tier 2) the president can pickup that dropped tier one to use.
    Thanks, and...

    I will check that out.
    seattle_ice is offline
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 03-13-2011 , 01:13   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #9

    Will work on COOP?
    Zbeer is offline
    seattle_ice
    Member
    Join Date: Dec 2010
    Old 03-13-2011 , 03:14   Re: [L4D2] Protect the President/Escort the VIP v1.0
    Reply With Quote #10

    Quote:
    Originally Posted by Zbeer View Post
    Will work on COOP?
    I never tried it. It seems like it would be too easy.

    I might try it out and see if it works and/or if it needs modifications to make it work soon.
    seattle_ice 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:32.


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