You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The introduced game mode "Busters" should take into account that some maps might contain game_player_equip entity that might give weapon_egon... Since the "Buster" is decided by the ownership of weapon_egon, if game_player_equip contain weapon_egon you might end up in unplayable situation where every player joining the server will be "Buster" and no ghosts to fight will be present...
while ( pWeaponEntity = UTIL_FindEntityByClassname( pWeaponEntity, "game_player_equip" ))
To be changed to:
// not in busting game...
if (!IsBustingGame())
{
while ( pWeaponEntity = UTIL_FindEntityByClassname( pWeaponEntity, "game_player_equip" ))
{
pWeaponEntity->Touch( pPlayer );
addDefault = FALSE;
}
}
As additional option, a cvar can be added to override / disable the "game_player_equip" entity, to give more control of the server administrators of Half-Life.
The text was updated successfully, but these errors were encountered:
The introduced game mode "Busters" should take into account that some maps might contain
game_player_equip
entity that might giveweapon_egon
... Since the "Buster" is decided by the ownership ofweapon_egon
, ifgame_player_equip
containweapon_egon
you might end up in unplayable situation where every player joining the server will be "Buster" and no ghosts to fight will be present...Here's demonstration of the issue:
The fix is simple:
On line:
halflife/dlls/multiplay_gamerules.cpp
Line 503 in b1b5cf5
add
Then this one:
halflife/dlls/multiplay_gamerules.cpp
Line 518 in b1b5cf5
To be changed to:
As additional option, a cvar can be added to override / disable the "game_player_equip" entity, to give more control of the server administrators of Half-Life.
The text was updated successfully, but these errors were encountered: