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

[L4D2] Last Man On Earth


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mortiegama
Senior Member
Join Date: Feb 2010
Plugin ID:
1691
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This will allow you to play the Last Man On Earth Mutation.
    Unapprover:
    Reason for Unapproving:
    I unapprove this for now, but maybe approve when the autor responds and rewrites some of the code.
    Old 05-28-2010 , 21:39   [L4D2] Last Man On Earth
    Reply With Quote #1

    Something I threw together really quick because I think this new mutation is garbage. I wanted to see if I could mimic it and prove how worthless it is, plus, with this plugin at least you can play in the co-op with a few other people.

    Cvars:
    sm_lastman_buffhp - Amount of extra buff health the Survivor revives with (Def 10)
    sm_lastman_pillsheal - Lets you use Pills to heal yourself like a Medkit
    sm_lastman_adrenheal - Lets you use Adrenaline to heal yourself like a Medkit
    Attached Files
    File Type: sp Get Plugin or Get Source (Last Man On Earth.sp - 833 views - 5.2 KB)
    __________________

    Last edited by Mortiegama; 05-28-2010 at 23:04.
    Mortiegama is offline
    dirka_dirka
    Veteran Member
    Join Date: Nov 2009
    Old 05-28-2010 , 22:10   Re: [L4D2] Last Man On Earth
    Reply With Quote #2

    you set the max incaps to 2.. which is what it normally is. it should be 1.

    you also clear out black and white on pill use - which it shouldnt.

    and why do you reset the common limits (and incap limit) multiple times every round - unless someone changes it elsewhere, on plugin start should be enough.

    you could just do a onputinserver to create that timer

    your plugin is even easier then lmoe - and im not even counting the extra players.
    dirka_dirka is offline
    Mortiegama
    Senior Member
    Join Date: Feb 2010
    Old 05-28-2010 , 22:55   Re: [L4D2] Last Man On Earth
    Reply With Quote #3

    Honestly this was just a speed run to see if I could lol. I might clean it up later to see if I can make it more playable. I did throw in some Cvars though if you want to stop the Pills/Adren healing, I just know in the LMOE you get more medkits spread out and I didn't feel like going into that. I also reduced the spawn time for infected so you'll see a lot more quicker.
    __________________

    Last edited by Mortiegama; 05-28-2010 at 23:05.
    Mortiegama is offline
    dirka_dirka
    Veteran Member
    Join Date: Nov 2009
    Old 05-28-2010 , 23:09   Re: [L4D2] Last Man On Earth
    Reply With Quote #4

    i think the more med kits are because theres only 1 person.. and the director is converting every pill into a kit. but i could be wrong

    you also dont (or didnt) remove boomers.. boomers dont spawn in lmoe - other then their scratch, they are useless
    dirka_dirka is offline
    DarrenToh
    Member
    Join Date: Mar 2010
    Old 05-30-2010 , 03:13   Re: [L4D2] Last Man On Earth
    Reply With Quote #5

    the new game mode is fun... not garbage.. keep your opinions to yourself.
    DarrenToh is offline
    quang20082008
    Member
    Join Date: Mar 2010
    Old 05-30-2010 , 04:54   Re: [L4D2] Last Man On Earth
    Reply With Quote #6

    It same Bonus Healing :@) made by You )
    quang20082008 is offline
    Mortiegama
    Senior Member
    Join Date: Feb 2010
    Old 05-30-2010 , 11:03   Re: [L4D2] Last Man On Earth
    Reply With Quote #7

    Quote:
    Originally Posted by DarrenToh View Post
    the new game mode is fun... not garbage.. keep your opinions to yourself.
    I hope you can appreciate the irony in your post.

    @Dirka Dirka - I left the Boomer in because it's just evil! Blinded and you can't see the next SI.

    @Quang - Yeah, I stole my own code and didn't give myself credit lol. Little different but very similar.
    __________________
    Mortiegama is offline
    rappinduke
    Member
    Join Date: Jul 2008
    Old 07-24-2010 , 21:06   Re: [L4D2] Last Man On Earth
    Reply With Quote #8

    Great idea...Is there any way to make this so it is a vs game?/ One on One??
    __________________

    rappinduke is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 01-25-2011 , 16:42   Re: [L4D2] Last Man On Earth
    Reply With Quote #9

    PHP Code:
    public IsValidClient(client)
    {
        if (
    client == 0)
            return 
    false;

        if (!
    IsClientConnected(client))
            return 
    false;
        
        if (!
    IsClientInGame(client))
            return 
    false;
        
        if (!
    IsPlayerAlive(client))
            return 
    false;

        if (!
    IsValidEntity(client))
            return 
    false;

        return 
    true;

    IsClientConnected and IsValidEntity are not necessary, also this plugin is not cleanly coded.

    I unapprove this for now, but maybe approve when the autor responds and rewrites some of the code.
    __________________
    Why reinvent the wheel ? Download smlib with over 350 useful functions.

    When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
    powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
    berni 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 04:08.


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