aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/levels
diff options
context:
space:
mode:
authorRoyalBlue1 <malte.hoermeyer@web.de>2022-02-21 00:54:52 +0100
committerRoyalBlue1 <malte.hoermeyer@web.de>2022-03-25 19:59:02 +0100
commitc56e68e17c7f525a69311e36ba76a6aad3e27ee4 (patch)
tree13e07deccbdbb96593e7bda795f0912a821eb0cc /Northstar.CustomServers/mod/scripts/vscripts/mp/levels
parentbc47d316929fcad6f9e39309bf1ad9bcebf4bd2b (diff)
downloadNorthstarMods-c56e68e17c7f525a69311e36ba76a6aad3e27ee4.tar.gz
NorthstarMods-c56e68e17c7f525a69311e36ba76a6aad3e27ee4.zip
Added wave event logic
added some first Events created method to get 9 most spawned enemies for client ui split Harvester Fx to make shield disappear when down
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