mirror of
https://github.com/JezuzLizard/Public-BO2-Mods.git
synced 2025-06-08 19:18:06 -05:00
Merge branch 'master' of https://github.com/JezuzLizard/Public-BO2-Mods
This commit is contained in:
commit
6ff991e6ee
@ -296,15 +296,9 @@ gscRestart()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while ( 1 )
|
level waittill( "end_game" );
|
||||||
{
|
|
||||||
if ( level.intermission )
|
|
||||||
{
|
|
||||||
wait 20;
|
wait 20;
|
||||||
map_restart( false );
|
map_restart( false );
|
||||||
}
|
|
||||||
wait 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
emptyLobbyRestart()
|
emptyLobbyRestart()
|
||||||
@ -334,16 +328,10 @@ gscMapChange()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while ( 1 )
|
level waittill( "end_game" );
|
||||||
{
|
|
||||||
if ( level.intermission )
|
|
||||||
{
|
|
||||||
wait 20;
|
wait 20;
|
||||||
mapChange( location() );
|
mapChange( location() );
|
||||||
map_restart( false );
|
map_restart( false );
|
||||||
}
|
|
||||||
wait 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location()
|
location()
|
||||||
@ -500,6 +488,7 @@ spawnAllPlayers()
|
|||||||
players[ i ] [[ level.spawnplayer ]]();
|
players[ i ] [[ level.spawnplayer ]]();
|
||||||
thread refresh_player_navcard_hud();
|
thread refresh_player_navcard_hud();
|
||||||
players[ i ].score = 500;
|
players[ i ].score = 500;
|
||||||
|
players[ i ].downs = 0;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
**GriefFix Features:**
|
# GriefFix Features:
|
||||||
|
|
||||||
Added team balancing
|
Added team balancing
|
||||||
|
|
||||||
@ -12,23 +12,23 @@ Added map change option (only for farm, town, and bus depot)
|
|||||||
|
|
||||||
Added empty lobby restart
|
Added empty lobby restart
|
||||||
|
|
||||||
**Team Balancing:**
|
## Team Balancing:
|
||||||
|
|
||||||
Picks a team for a player on join based on how many players are on each team
|
Picks a team for a player on join based on how many players are on each team
|
||||||
|
|
||||||
CIA/Inmates are the default team if teams are equal
|
CIA/Inmates are the default team if teams are equal
|
||||||
|
|
||||||
**Game Start Delay and Quota:**
|
## Game Start Delay and Quota:
|
||||||
|
|
||||||
adjustable wait time
|
Adjustable wait time
|
||||||
|
|
||||||
adjustable quota
|
Adjustable quota
|
||||||
|
|
||||||
either the wait time and quota can be fully disabled by changing the value of 1 variable each
|
Either the wait time and quota can be fully disabled by changing the value of 1 variable each
|
||||||
|
|
||||||
**Randomized Game Settings:**
|
## Randomized Game Settings:
|
||||||
|
|
||||||
can be turned off by disabling the corresponding variables
|
Can be turned off by disabling the corresponding variables
|
||||||
|
|
||||||
**defaults:**
|
**defaults:**
|
||||||
|
|
||||||
@ -54,16 +54,18 @@ can be turned off by disabling the corresponding variables
|
|||||||
|
|
||||||
40% chance of electric doors being disabled
|
40% chance of electric doors being disabled
|
||||||
|
|
||||||
**Map Restart:**
|
## Map Restart:
|
||||||
|
|
||||||
after intermission the map restarts using map_restart instead of a normal restart
|
After intermission the map restarts using map_restart instead of a normal restart
|
||||||
|
|
||||||
this fixes the no sound bug on respawn
|
This fixes the no sound bug on respawn
|
||||||
|
|
||||||
but requires all other players except 1 player to be killed and respawned
|
But requires all other players except 1 player to be killed and respawned
|
||||||
|
|
||||||
**Map Rotate**
|
Player downs are reset after players respawn
|
||||||
|
|
||||||
the map can rotate between 3 locations
|
## Map Rotate
|
||||||
|
|
||||||
town, farm and bus depot
|
The map can rotate between 3 locations
|
||||||
|
|
||||||
|
Town, Farm and Bus Depot //requires one of these maps to be loaded initially and only works on tranzit
|
||||||
|
@ -28,15 +28,9 @@ init()
|
|||||||
|
|
||||||
gscRestart()
|
gscRestart()
|
||||||
{
|
{
|
||||||
while ( 1 )
|
level waittill( "end_game" );
|
||||||
{
|
|
||||||
if ( level.intermission )
|
|
||||||
{
|
|
||||||
wait 20; //20 is ideal
|
wait 20; //20 is ideal
|
||||||
map_restart( false );
|
map_restart( false );
|
||||||
}
|
|
||||||
wait 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
killAllPlayers()
|
killAllPlayers()
|
||||||
|
@ -68,3 +68,7 @@ Not exactly ideal, but it does mean all players can remain in the lobby and all
|
|||||||
-End game check is disabled just incase player[0] leaves during the respawn function its reenabled when players are respawned
|
-End game check is disabled just incase player[0] leaves during the respawn function its reenabled when players are respawned
|
||||||
|
|
||||||
-Fixed invisible player glitch hopefully for good
|
-Fixed invisible player glitch hopefully for good
|
||||||
|
|
||||||
|
-Players who were killed during the blackscreen have their downs set to 0
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user