aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Coop/mod
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-14 21:01:40 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-14 21:01:40 +0100
commit9a2778eabc7ba968968e41dda9f03525d6c5383d (patch)
tree6d1c5dc64754d542d68a7f47742a701a4eec9308 /Northstar.Coop/mod
parentc0a0c7e502f2bc99185d79a485b965f63de7a203 (diff)
downloadNorthstarMods-9a2778eabc7ba968968e41dda9f03525d6c5383d.tar.gz
NorthstarMods-9a2778eabc7ba968968e41dda9f03525d6c5383d.zip
oh fuck i forgot to commit for a while
Diffstat (limited to 'Northstar.Coop/mod')
-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