SERVER/CLIENT: Adjust Round time delay

This commit is contained in:
cypress 2023-11-03 10:58:01 -04:00
parent 897bf79f09
commit 7f28370db6
2 changed files with 9 additions and 8 deletions

View file

@ -561,7 +561,7 @@ void(float width, float height) HUD_Rounds =
if (endroundchange > time) if (endroundchange > time)
{ {
blinking = ((int)(time*1000)&510) - 255; blinking = ((int)(time*475)&510) - 255;
blinking = fabs(blinking); blinking = fabs(blinking);
} }
else else
@ -628,8 +628,10 @@ void(float width, float height) HUD_Rounds =
x_offset = x_offset + roundwidth_num - (8*width/480); x_offset = x_offset + roundwidth_num - (8*width/480);
} }
if (endroundchange == 0) if (endroundchange == 0) {
endroundchange = time + 2; endroundchange = time + 7.5;
blinking = 0;
}
} }
else if (rounds_change == 5)//blink white else if (rounds_change == 5)//blink white
{ {
@ -696,9 +698,8 @@ void(float width, float height) HUD_Rounds =
endroundchange = 0; endroundchange = 0;
color_shift_init = 0; color_shift_init = 0;
blinking = ((int)(time*1000)&510) - 255; blinking += frametime*500;
if (blinking > 255) blinking = 255;
blinking = fabs(blinking);
if (rounds > 0 && rounds < 11) if (rounds > 0 && rounds < 11)
{ {

View file

@ -146,7 +146,7 @@ void() EndRound =
} else { } else {
playSoundAtPlayers("sounds/rounds/eround.wav"); playSoundAtPlayers("sounds/rounds/eround.wav");
} }
round_changetime = time + 5; round_changetime = time + 10;
// No Perks? No Problem & Abstinence Program // No Perks? No Problem & Abstinence Program
if (rounds >= 10) { if (rounds >= 10) {
@ -320,7 +320,7 @@ void() Round_Core =
} }
if (Remaining_Zombies < 1 && !Delay_Time) { if (Remaining_Zombies < 1 && !Delay_Time) {
Delay_Time = time + 2; Delay_Time = time + 1;
rounds_change = 3; rounds_change = 3;
} else if (Delay_Time && Delay_Time < time) { } else if (Delay_Time && Delay_Time < time) {
Delay_Time = 0; Delay_Time = 0;