Hello,
I have a question on how to change the revive times or to just get rid of it completely.
Thanks
Printable View
Hello,
I have a question on how to change the revive times or to just get rid of it completely.
Thanks
@Darkiriah
What source are you using?
For Community edition it seems to me that what you are looking for is located in WZ\src\EclipseStudio\Sources\UI\FrontEndWarZ.cpp
timeToReviveInSec -> the value is in seconds and is later multiplied by two as seen in timeToReviveInSec *= 2;Quote:
if(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].Alive == 0) // dead
{
// for now, use hard coded revive time
int timeToReviveInSec = 1800; // (currently set to one hour)
if (gUserProfile.ProfileData.isPremium)
timeToReviveInSec = 900;
timeToReviveInSec *= 2;
Scaleform::GFx::Value var[3];
int timeLeftToRevive = R3D_MAX(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].SecToRevive - int(r3dGetTime() - gTimeWhenProfileLoaded), 0);
var[0].SetInt(timeLeftToRevive);
int perc = 100-int((float(timeLeftToRevive)/float(timeToReviveInSec))*100.0f);
var[1].SetInt(perc);
//#ifdef FINAL_BUILD
// var[2].SetBoolean(timeLeftToRevive==0);
//#else
var[2].SetBoolean(true);
//#endif
gfxMovie.Invoke("_root.api.updateDeadTimer", var, 3);
}