aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-31 23:14:58 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-31 23:14:58 +0100
commit9a96d0bff56f1969c68bb52a2f33296095bdc67d (patch)
tree4175928e488632705692e3cccafa1a38dd854615 /Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut
parent27bd240871b7c0f2f49fef137718b2e3c208e3b4 (diff)
downloadNorthstarMods-9a96d0bff56f1969c68bb52a2f33296095bdc67d.tar.gz
NorthstarMods-9a96d0bff56f1969c68bb52a2f33296095bdc67d.zip
move to new mod format
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut')
-rw-r--r--Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut36
1 files changed, 0 insertions, 36 deletions
diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut
deleted file mode 100644
index f3fbff28..00000000
--- a/Northstar.Custom/scripts/vscripts/gamemodes/sh_gamemode_tt.gnut
+++ /dev/null
@@ -1,36 +0,0 @@
-global function Sh_GamemodeTT_Init
-
-global const string GAMEMODE_TT = "tt"
-
-void function Sh_GamemodeTT_Init()
-{
- // create custom gamemode
- AddCallback_OnCustomGamemodesInit( CreateGamemodeTT )
-}
-
-void function CreateGamemodeTT()
-{
- GameMode_Create( GAMEMODE_TT )
- GameMode_SetName( GAMEMODE_TT, "#GAMEMODE_TT" )
- GameMode_SetDesc( GAMEMODE_TT, "#PL_tt_desc" )
- GameMode_SetGameModeAnnouncement( GAMEMODE_TT, "gnrc_modeDesc" )
- GameMode_SetDefaultScoreLimits( GAMEMODE_TT, 20, 0 )
- GameMode_SetDefaultTimeLimits( GAMEMODE_TT, 15, 0.0 )
- GameMode_AddScoreboardColumnData( GAMEMODE_TT, "#SCOREBOARD_SCORE", PGS_ASSAULT_SCORE, 2 )
- GameMode_AddScoreboardColumnData( GAMEMODE_TT, "#SCOREBOARD_TITAN_KILLS", PGS_TITAN_KILLS, 1 )
- GameMode_AddScoreboardColumnData( GAMEMODE_TT, "#SCOREBOARD_PILOT_KILLS", PGS_PILOT_KILLS, 2 )
- GameMode_SetColor( GAMEMODE_TT, [200, 40, 40, 255] )
-
- AddPrivateMatchMode( GAMEMODE_TT ) // add to private lobby modes
-
- #if SERVER
- GameMode_AddServerInit( GAMEMODE_TT, GamemodeTT_Init )
- GameMode_SetPilotSpawnpointsRatingFunc( GAMEMODE_TT, RateSpawnpoints_Generic )
- GameMode_SetTitanSpawnpointsRatingFunc( GAMEMODE_TT, RateSpawnpoints_Generic )
- #elseif CLIENT
- GameMode_AddClientInit( GAMEMODE_TT, ClGamemodeTT_Init )
- #endif
- #if !UI
- GameMode_SetScoreCompareFunc( GAMEMODE_TT, CompareAssaultScore )
- #endif
-} \ No newline at end of file