aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Coop/mod/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Coop/mod/scripts')
-rw-r--r--Northstar.Coop/mod/scripts/vscripts/sh_sp_coop.gnut6
-rw-r--r--Northstar.Coop/mod/scripts/vscripts/sh_sp_coop_lobby.gnut19
2 files changed, 25 insertions, 0 deletions
diff --git a/Northstar.Coop/mod/scripts/vscripts/sh_sp_coop.gnut b/Northstar.Coop/mod/scripts/vscripts/sh_sp_coop.gnut
new file mode 100644
index 00000000..09293a70
--- /dev/null
+++ b/Northstar.Coop/mod/scripts/vscripts/sh_sp_coop.gnut
@@ -0,0 +1,6 @@
+global function IsSPCoopMode
+
+bool function IsSPCoopMode()
+{
+ return GAMETYPE == "solo" && GetCurrentPlaylistName() == "sp_coop"
+} \ No newline at end of file
diff --git a/Northstar.Coop/mod/scripts/vscripts/sh_sp_coop_lobby.gnut b/Northstar.Coop/mod/scripts/vscripts/sh_sp_coop_lobby.gnut
new file mode 100644
index 00000000..59a31ee8
--- /dev/null
+++ b/Northstar.Coop/mod/scripts/vscripts/sh_sp_coop_lobby.gnut
@@ -0,0 +1,19 @@
+global function SingleplayerCoopLobby_Init
+
+void function SingleplayerCoopLobby_Init()
+{
+ if ( !IsLobby() )
+ return
+
+ AddPrivateMatchMode( "sp_coop" )
+
+ AddPrivateMatchMap( "sp_training" )
+ AddPrivateMatchMap( "sp_crashsite" )
+ AddPrivateMatchMap( "sp_sewers1" )
+ AddPrivateMatchMap( "sp_boomtown_start" )
+ AddPrivateMatchMap( "sp_hub_timeshift" )
+ AddPrivateMatchMap( "sp_beacon" )
+ AddPrivateMatchMap( "sp_tday" )
+ AddPrivateMatchMap( "sp_s2s" )
+ AddPrivateMatchMap( "sp_skyway_v1" )
+} \ No newline at end of file