aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/levels
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/levels')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai.nut7
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai_fd.nut59
2 files changed, 65 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai.nut
index 345a86d9..76dbb310 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai.nut
@@ -24,4 +24,11 @@ void function FixBatterySpawns( entity spawn )
PowerUp powerupDef = GetPowerUpFromItemRef( expect string( spawn.kv.powerUpType ) )
if ( powerupDef.spawnFunc() )
spawn.SetOrigin( BATTERY_SPAWNS[file.batteryIndex++] )
+}
+global function CodeCallback_MapInit
+
+void function CodeCallback_MapInit()
+{
+ if(GameRules_GetGameMode()=="fd")
+ initFrontierDefenseData()
} \ No newline at end of file
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai_fd.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai_fd.nut
index 37b89169..bc68d794 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai_fd.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai_fd.nut
@@ -1 +1,58 @@
-//fuck \ No newline at end of file
+global function initFrontierDefenseData
+
+
+void function initFrontierDefenseData()
+{
+ shopPosition = < -3862.13, 1267.69, 1060.06>
+
+
+
+ array<WaveEvent> wave0
+ array<WaveEvent> wave1
+ array<WaveEvent> wave2
+ array<WaveEvent> wave3
+ array<WaveEvent> wave4
+
+
+
+ //wave0.append(createSmokeEvent(< -12, 1720, 1556>,30))
+ //wave0.append(createSmokeEvent(< -64, 964, 1556>,30))
+ //wave0.append(createWaitForTimeEvent(5))
+ wave0.append(createSuperSpectreEvent(< -64, 964, 1556>,<0,0,0>,""))
+ wave0.append(createArcTitanEvent(< -12, 1720, 1556>,<0,0,0>,""))
+ wave0.append(createDroppodGruntEvent(< -12, 1720, 1556>,""))
+
+ waveEvents.append(wave0)
+ waveEvents.append(wave1)
+ waveEvents.append(wave2)
+ waveEvents.append(wave3)
+ waveEvents.append(wave4)
+}
+
+/*
+void function initFrontierDefenseData()
+{
+ shopPosition =
+
+ SmokeEvent emptySmokeEvent
+ SpawnEvent emptySpawnEvent
+ WaitEvent emptyWaitEvent
+ SoundEvent emptySoundEvent
+
+ array<WaveEvent> wave0
+ array<WaveEvent> wave1
+ array<WaveEvent> wave2
+ array<WaveEvent> wave3
+ array<WaveEvent> wave4
+
+
+
+
+
+
+ waveEvents.append(wave0)
+ waveEvents.append(wave1)
+ waveEvents.append(wave2)
+ waveEvents.append(wave3)
+ waveEvents.append(wave4)
+}*/ \ No newline at end of file