aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp
diff options
context:
space:
mode:
authorRoyalBlue1 <malte.hoermeyer@web.de>2022-02-21 00:54:52 +0100
committerRoyalBlue1 <malte.hoermeyer@web.de>2022-02-21 00:54:52 +0100
commit5579adf02f42513eb881fbf536fdea009ea79f83 (patch)
tree20da2ff78587ca73d18bbaa09b1738c2a3458df6 /Northstar.CustomServers/mod/scripts/vscripts/mp
parent5fe2f99b4ac67163463ce1034566d9770f92b011 (diff)
downloadNorthstarMods-5579adf02f42513eb881fbf536fdea009ea79f83.tar.gz
NorthstarMods-5579adf02f42513eb881fbf536fdea009ea79f83.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')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai.nut8
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_forwardbase_kodai_fd.nut59
2 files changed, 65 insertions, 2 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 37b89169..94dce470 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
@@ -1 +1,7 @@
-//fuck \ No newline at end of file
+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