mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Debugstart can now force POSITION on
This commit is contained in:
parent
ec83b73ee9
commit
59b2db3129
2 changed files with 5 additions and 2 deletions
|
|
@ -786,7 +786,7 @@ consvar_t cv_kartdebughuddrop = OnlineCheat("debugitemdrop", "Off").on_off().des
|
||||||
extern CV_PossibleValue_t kartdebugitem_cons_t[];
|
extern CV_PossibleValue_t kartdebugitem_cons_t[];
|
||||||
consvar_t cv_kartdebugitem = OnlineCheat("debugitem", "None").values(kartdebugitem_cons_t).description("Force item boxes to only roll one kind of item");
|
consvar_t cv_kartdebugitem = OnlineCheat("debugitem", "None").values(kartdebugitem_cons_t).description("Force item boxes to only roll one kind of item");
|
||||||
|
|
||||||
consvar_t cv_kartdebugstart = OnlineCheat("debugstart", "Off").on_off().description("Skip POSITION");
|
consvar_t cv_kartdebugstart = OnlineCheat("debugstart", "-1").min_max(-1, 16).description("Override playercount for POSITION time calcs. -1 default, 0 skip");
|
||||||
consvar_t cv_kartdebugwaypoints = OnlineCheat("debugwaypoints", "Off").values({{0, "Off"}, {1, "Forwards"}, {2, "Backwards"}}).description("Make waypoints visible");
|
consvar_t cv_kartdebugwaypoints = OnlineCheat("debugwaypoints", "Off").values({{0, "Off"}, {1, "Forwards"}, {2, "Backwards"}}).description("Make waypoints visible");
|
||||||
|
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
|
|
|
||||||
|
|
@ -228,6 +228,9 @@ void K_TimerInit(void)
|
||||||
numPlayers++;
|
numPlayers++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cv_kartdebugstart.value > 0)
|
||||||
|
numPlayers = cv_kartdebugstart.value;
|
||||||
|
|
||||||
if (numPlayers < 2)
|
if (numPlayers < 2)
|
||||||
{
|
{
|
||||||
domodeattack = true;
|
domodeattack = true;
|
||||||
|
|
@ -256,7 +259,7 @@ void K_TimerInit(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cv_kartdebugstart.value || M_NotFreePlay() == false)
|
if (cv_kartdebugstart.value == 0 || M_NotFreePlay() == false)
|
||||||
{
|
{
|
||||||
starttime = 0;
|
starttime = 0;
|
||||||
introtime = 0;
|
introtime = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue