Page 1 of 1

Automatic Respawns

Posted: Sun Mar 10, 2019 7:33 pm
by Zehra
Here's a small and simple modification which allows you to respawn automatically.

Head over to 'LocalPlayer.cxx' and find this section of code:

Code: Select all

setStatus(PlayerState::DeadStatus);
	location = Dead;
	if (isAutoPilot()) {
	  CMDMGR.run("restart");
	}
      }
Change it to the code below:

Code: Select all

setStatus(PlayerState::DeadStatus);
	location = Dead;
	if (1) { // Always true, so always automatically respawn
	  CMDMGR.run("restart");
	}
      }
And that's how to have automatic respawns.

-Zehra