aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut19
1 files changed, 16 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut
index b1de4d4fb..6198c5db0 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_coliseum.nut
@@ -3,7 +3,20 @@ untyped
global function GamemodeColiseum_Init
global function GamemodeColiseum_CustomIntro
-bool hasShownIntroScreen = false
+// outro anims
+// winner anims are for the winner, loser anims are for the loser
+// the loss number refers to the number of rounds the winner lost
+const array<string> OUTROANIMS_WINNER_0LOSS = [ "pt_coliseum_winner_gunkick", "pt_coliseum_winner_compassion", "pt_coliseum_winner_drinking" ]
+const array<string> OUTROANIMS_WINNER_1LOSS = [ "pt_coliseum_winner_respect", "pt_coliseum_winner_headlock", "pt_coliseum_winner_authority" ]
+const array<string> OUTROANIMS_WINNER_2LOSS = [ "pt_coliseum_winner_punch", "pt_coliseum_winner_kick", "pt_coliseum_winner_stomp" ]
+
+const array<string> OUTROANIMS_LOSER_0LOSS = [ "pt_coliseum_loser_gunkick", "pt_coliseum_loser_compassion", "pt_coliseum_loser_drinking" ]
+const array<string> OUTROANIMS_LOSER_1LOSS = [ "pt_coliseum_loser_respect", "pt_coliseum_loser_headlock", "pt_coliseum_loser_authority" ]
+const array<string> OUTROANIMS_LOSER_2LOSS = [ "pt_coliseum_loser_punch", "pt_coliseum_loser_kick", "pt_coliseum_loser_stomp" ]
+
+struct {
+ bool hasShownIntroScreen
+} file
void function GamemodeColiseum_Init()
{
@@ -28,10 +41,10 @@ void function GamemodeColiseum_CustomIntro( entity player )
void function ShowColiseumIntroScreen()
{
- if ( !hasShownIntroScreen )
+ if ( !file.hasShownIntroScreen )
thread ShowColiseumIntroScreenThreaded()
- hasShownIntroScreen = true
+ file.hasShownIntroScreen = true
}
void function ShowColiseumIntroScreenThreaded()