[HELP] Instant revive?

Results 1 to 3 of 3
  1. #1
    Account Upgraded | Title Enabled! dNi3L is offline
    MemberRank
    Nov 2014 Join Date
    IllinoisLocation
    237Posts

    [HELP] Instant revive?

    Yes I have used search and read the threads..they mainly revolve around reduction of revive time..But how to make it instant/no revive time? Where do I need to look? I'm no coding genius but I had tried commenting the function out,and tried putting "0" for the revive time..but gave me errors when compiling.Any help is fully appreciated..

    btw..Using clean source..


  2. #2
    Account Upgraded | Title Enabled! GetRektBambi is offline
    MemberRank
    Oct 2015 Join Date
    268Posts

    Re: [HELP] Instant revive?

    FrontEndWarZ.cpp

    Search
    var[2].SetBoolean(timeLeftToRevive<=(timeToReviveInSec-0)); // show revive button after 0 minutes after death to prevent abuse
    Replace with
    var[2].SetBoolean(true);
    This will allow for Instant Revive.. i believe..

    Either that or you can edit the Function in the Database to return timeToReviveInSec as 0 always regardless. This is probably more sensible.

  3. #3
    Account Upgraded | Title Enabled! dNi3L is offline
    MemberRank
    Nov 2014 Join Date
    IllinoisLocation
    237Posts

    Re: [HELP] Instant revive?

    you are the man dude..thank you..changed the database..I hadn't used "0" there because using it in the FrontEndWarZ caused errors..which could've been something I overlooked..but it works fine now..much appreciated GetRekt!!!


    note/question
    I had already had my revive button enabled..my question being now..disabling the timer?
    Would changing the (60-int (time) here to zero cancel it out..or am I looking in the wrong place?
    if(bDead)
    {
    float time = r3dGetTime() - TimeOfDeath;
    int t = R3D_MAX(60-int(time), 0);
    hudMain->updateDeadTimer(t);
    }

    {
    float bloodAlpha = 1.0f-R3D_MIN(r3dGetTime()-lastTimeHit, 1.0f);
    hudMain->setBloodAlpha(bloodAlpha);
    }
    Last edited by dNi3L; 24-12-15 at 07:00 PM.



Advertisement