Results 1 to 12 of 12
  1. #1
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115

    (diehard last stand?) Last stand question

    Would it be possible to give a special player last stand (final stand? never remember what is what)
    I mean the perk, but without having to die any times for it.
    So when you normally 'die', you go into final stand where people can revive you, or someone else kill you. You know what I mean.

  2. #2
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    my idea to revive is to suicide and spawn right where u were down
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  3. #3
    GoDZeN's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    150
    Reputation
    10
    Thanks
    1
    Lol spawning in last stand should by funny^^

  4. #4
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Diehard mode will make people be able to revieve (And everyone spawns with last stand, check class.gsc)
    Anyways...
    If you don't want that, just use the perk...

    Code:
    self maps\mp\perks\_perks::givePerk( "specialty_pistoldeath" );
    It's that simple xD

  5. #5
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Meh.. no, its not that simple.
    The question was, if there was a way to make it so other people can revive you. Not use a perk.
    Also just realized, the ability to be revived but die after like 30 seconds would be what I want..

    Also Epic,
    self setPerk("specialty_pistoldeath"); is so much cleaner.

  6. #6
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    oh so u mean that, in every time u will "die"
    it will force you to DieHard?

  7. #7
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Oh I get what you mean

    Well, I will check the gsc files later to find more about the diehard mode xD

    But here's somenthing quick I made up from my mind (Of course it wont work, just to show you)

    Code:
    self waittill("death");
    setClientDvar( "player_lastStandDebug", 1 ); //Or Setdvar?
    //Add some Cvar effect here, for example shellshock one
    Now to find more about the diehard mode xD

    Btw, why not just use Diehard? xD

  8. #8
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    I havent tried diehard, but I think that you die after some time,

  9. #9
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Quote Originally Posted by EpicPlayer View Post
    Btw, why not just use Diehard? xD
    You don't follow my project, man?
    Can't have diehard zombiemode <___<
    Its for quick revive.

  10. #10
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by Arasonic View Post
    You don't follow my project, man?
    Can't have diehard zombiemode <___<
    Its for quick revive.
    Oh, then it's easy , remove the last stand perk in "if scr_diehard 1" in class.gsc

    And then give the perk when the player gets quick revieve

    (Else, player gets final stand, not revieve able)

  11. #11
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    _class.gsc?
    All I found in it was
    Code:
    if ( level.dieHardMode )
                    self maps\mp\perks\_perks::givePerk( "specialty_pistoldeath" );

  12. #12
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Quote Originally Posted by Arasonic View Post
    _class.gsc?
    All I found in it was
    Code:
    if ( level.dieHardMode )
                    self maps\mp\perks\_perks::givePerk( "specialty_pistoldeath" );
    Yeah, remove self maps\mp\perks\_perks::givePerk( "specialty_pistoldeath" );
    From that...
    That's how diehard mode works, everyone gets the last stand perk on spawn
    However, if you remove that, no one will get the perk on spawn... but the lobby will still be diehard (Revieve able)
    So... if the player buy quick revieve he gets the last stand perk ;D

    I hope you understand what I mean... xD

    Btw, remember that I told you that sound editing works?
    It does, but only for Alteriw...
    (Cause of IWD files)
    And that I told you about the power switch, there's some "Power boxes" or whatever it is on a few maps (Or laptops if there aren't any)... use that for the power switch (invisible model/box on that place)

    For example:
    (Quarry)

    (Storm)

  13. The Following User Says Thank You to EpicPlayer For This Useful Post:

    YuDi21 (01-23-2011)