aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-11 17:12:25 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-11 17:12:25 +0000
commit8cd6924c1112213442b755866a5b6811efae236c (patch)
tree6c04cf94d86e5f7977105f4e8e5a1d64282a44b0 /Northstar.Custom/mod/scripts/vscripts/gamemodes
parentb3f0e4598c5c573b0e79a8a9307966d2c07f5e4a (diff)
downloadNorthstarMods-8cd6924c1112213442b755866a5b6811efae236c.tar.gz
NorthstarMods-8cd6924c1112213442b755866a5b6811efae236c.zip
fixes from playtests
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut9
1 files changed, 5 insertions, 4 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hs.gnut
index af7aaced..7b96cac7 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 )