From 8cd6924c1112213442b755866a5b6811efae236c Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Sat, 11 Dec 2021 17:12:25 +0000 Subject: fixes from playtests --- .../mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Northstar.Custom/mod') diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut index af7aaced4..7b96cac75 100644 --- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut @@ -60,6 +60,8 @@ void function AddPlayerToHideAndSeekIntro( entity player ) if ( GetPlayerArrayOfTeam( HIDEANDSEEK_TEAM_SEEKER ).len() < wantedSeekers ) SetTeam( player, HIDEANDSEEK_TEAM_SEEKER ) + else + SetTeam( player, HIDEANDSEEK_TEAM_HIDER ) } ScreenFadeFromBlack( player, 1.0, 0.75 ) @@ -67,7 +69,7 @@ void function AddPlayerToHideAndSeekIntro( entity player ) if ( player.GetTeam() == HIDEANDSEEK_TEAM_HIDER ) { - player.kv.visibilityFlags = ENTITY_VISIBLE_TO_FRIENDLY + player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_FRIENDLY Highlight_ClearEnemyHighlight( player ) thread HiderIntroThread( player ) @@ -100,7 +102,7 @@ void function HiderIntroThread( entity player ) wait ( file.hidingStartTime + file.hidingTime ) - Time() - player.kv.visibilityFlags = ENTITY_VISIBLE_TO_EVERYONE // make sure everyone can see us again + player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_EVERYONE // make sure everyone can see us again } void function SeekerIntroThread( entity player ) @@ -124,7 +126,6 @@ void function DelayedRoleAnnounce( entity player ) void function GlobalSeekerIntroThread() { wait file.hidingTime - PlayMusicToAll( eMusicPieceID.GAMEMODE_1 ) foreach ( entity hider in GetPlayerArrayOfTeam( HIDEANDSEEK_TEAM_HIDER ) ) @@ -157,7 +158,7 @@ void function SetupHideAndSeekPlayer( entity player ) // set visibility flags if we're hiding, so seekers can't see us on intermission cam if ( Time() - file.hidingStartTime < file.hidingTime ) - player.kv.visiblityFlags = ENTITY_VISIBLE_TO_FRIENDLY + player.kv.VisiblityFlags = ENTITY_VISIBLE_TO_FRIENDLY // remove red outline, ideally should work tm Highlight_ClearEnemyHighlight( player ) -- cgit v1.2.3