aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-17 22:29:19 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-17 22:29:19 +0100
commit0f71d94b6c968ddb34ec611d898cceea02638f99 (patch)
tree03e7c78025495430d1f82dcb20abeef63deb8144 /Northstar.CustomServers/mod/scripts/vscripts/gamemodes
parent6b07fb30fb7380b1d61af6a620ec72c9066753e2 (diff)
downloadNorthstarMods-0f71d94b6c968ddb34ec611d898cceea02638f99.tar.gz
NorthstarMods-0f71d94b6c968ddb34ec611d898cceea02638f99.zip
finish burncard impl, add forced 1p fp sequences and classic rodeo
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-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 b1de4d4f..6198c5db 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()