Update Arc LuaMissions (not final)

This commit is contained in:
D4rkl1ght3r
2025-12-23 16:13:39 +01:00
parent dbdd2365de
commit b57131acc0

View File

@@ -4,98 +4,309 @@
-- Triggers: InitState (on mission start), BaseEnter (on docking), SpaceEnter (on launch)
-- Triggers change the config.lua
-- Tutorial Mission ===
--rem.mission.arc("Tutorial Liberty")
rem.mission.create("tutorial") -- Set mission name
rem.mission.missiontype("flyto") -- Set mission type to PVE
rem.mission.flyto_targetbase("Li01_10_Base") -- Target base (mission completes when docking here and confirming popup)
rem.mission.trigger("InitState") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_01_Base") -- Set mission startbase
rem.mission.thnconfig("manhattan_gen", "arc_tutorial") -- Set THN location and name
rem.mission.thntime(32) -- Set THN duration to x seconds
rem.mission.showpopup(475001, 475002) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 475003) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 475004) -- Show Mission Message after launch
rem.mission.trigger("SpaceEnter") -- Trigger: Activates when docking at target base
rem.mission.thnsave() -- Save the thn config
rem.mission.save() -- Finalize and save mission to the list
-- ======================================================================================
-- ARC: Manhattan Tutorial Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Create and configure the first mission
-- rem.mission.arc("StoryArc1")
rem.mission.create("rebus_liberty2") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type to PVE
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
rem.mission.startbase("Li01_12_base") -- Set mission startbase
rem.mission.pve_enemyfaction("li_p_grp") -- Set Enemy Faction to Xenos
rem.mission.pve_enemycount(4) -- 4 enemies per wave
rem.mission.pve_wavecount(2) -- 2 waves
rem.mission.pve_spawnmethod("fixed") -- NPC spawn Method set to fixed Location
rem.mission.pve_spawnpos(-50000, 0, 5000) -- NPC Spawn Position
rem.mission.thnconfig("buffalo_gen", "arc_rebus3") -- Set THN location and name
rem.mission.thntime(57) -- Set THN duration to 57 seconds
rem.mission.showpopup(459010, 459011) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 459012) -- Show Mission Message after Popup
-- Mission 01: Pilot License ===
rem.mission.create("Pilot License")
rem.mission.arc("Manhattan Tutorial Arc")
rem.mission.description("For Security reasons, the Liberty Security Force is monitoring all Pilot licenses. Start this Mission to meet King in the Manhattan Bar and gain your pilot license.")
rem.mission.missiontype("flyto")
rem.mission.flyto_targetbase("Li01_10_Base")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
-- Trigger: Start on Planet Manhattan
rem.mission.startbase("Li01_01_Base")
rem.mission.thnconfig("manhattan_gen", "arc_tutorial")
rem.mission.thntime(32)
rem.mission.showpopup(475001, 475002)
rem.mission.missionmessage("popup", 475003)
rem.mission.missionmessage("launch", 475004)
rem.mission.thnsave()
rem.mission.trigger("SpaceEnter")
rem.mission.thnsave()
rem.mission.save()
-- ======================================================================================
-- ARC: Manhattan Story Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Mission 01: The Reunion ===
rem.mission.create("The Reunion")
rem.mission.arc("Manhattan Story Arc")
rem.mission.description("Orillion disappeared some time ago. It might be a good idea to look around Manhattan finding someone who knows about the current situation. The Liberty Security Force seems to be assigned to find Orillion, so maybe Juni is at Manhattan.")
rem.mission.missiontype("pve")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.pve_enemyfaction("fc_n_grp")
rem.mission.pve_enemycount(4)
rem.mission.pve_wavecount(2)
rem.mission.pve_spawnmethod("fixed")
rem.mission.pve_spawnpos(-16419, 0, 74074)
-- Trigger: Start on Planet Manhattan
rem.mission.startbase("Li01_01_Base")
rem.mission.thnconfig("manhattan_gen", "arc_juni")
rem.mission.thntime(57)
rem.mission.showpopup(458770, 458771)
rem.mission.missionmessage("popup", 458772)
rem.mission.missionmessage("launch", 458773)
rem.mission.thnsave()
-- Trigger: Entering Space
rem.mission.trigger("SpaceEnter")
rem.mission.startbase("Li01_09_Base")
rem.mission.thnconfig("westpoint_gen", "arc_juni")
rem.mission.thntime(34)
rem.mission.showpopup(458770, 458774)
rem.mission.missionmessage("popup", 458775)
rem.mission.thnsave()
rem.mission.save()
-- Mission 02: Tour of Duty ===
rem.mission.create("Tour of Duty")
rem.mission.arc("Manhattan Story Arc")
rem.mission.description("Harrison is waiting at the Manhattan Landing Pads to offer a diplomatic mission regarding the Junkers.")
rem.mission.missiontype("pve")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.pve_enemyfaction("fc_x_grp")
rem.mission.pve_enemycount(4)
rem.mission.pve_wavecount(2)
rem.mission.pve_spawnmethod("fixed")
rem.mission.pve_spawnpos(-30763, 0, -60216)
-- Trigger: Start on Planet Manhattan
rem.mission.startbase("Li01_01_base")
rem.mission.thnconfig("manhattan_gen", "arc_harrison")
rem.mission.thntime(59)
rem.mission.showpopup(458760, 458761)
rem.mission.missionmessage("popup", 458762)
rem.mission.missionmessage("launch", 458763)
rem.mission.thnsave()
-- Trigger: Entering Space
rem.mission.trigger("SpaceEnter")
rem.mission.startbase("Li01_13_Base")
rem.mission.thnconfig("rochester_gen", "arc_harrison")
rem.mission.thntime(43)
rem.mission.showpopup(458760, 458766)
rem.mission.missionmessage("popup", 480000)
rem.mission.thnsave()
rem.mission.save()
-- ======================================================================================
-- ARC: Manhattan Exploration Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Mission 01: VanPelt's Remembrence ===
rem.mission.create("VanPelt's Remembrence")
rem.mission.arc("Manhattan Exploration Arc")
rem.mission.description("This is Juni. Its about an assignment concerning a very personal matter. Start this Mission to meet me in the Manhattan Bar.")
rem.mission.missiontype("solar")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.solar("depot_lod_debris01_sm", "depot_lod_debris01_sm_load")
rem.mission.solar_spawnmethod("fixed")
rem.mission.pve_spawnpos(0, 0, 0)
-- Trigger: Start on Planet Manhattan
rem.mission.startbase("Li01_01_Base")
rem.mission.thnconfig("manhattan_gen", "arc_juni_exp")
rem.mission.thntime(32)
rem.mission.showpopup(475001, 475002)
rem.mission.missionmessage("popup", 475003)
rem.mission.missionmessage("launch", 475004)
rem.mission.thnsave()
rem.mission.trigger("SpaceEnter")
rem.mission.thnsave()
rem.mission.save()
-- ======================================================================================
-- ARC: West Point Exploration Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Mission 01: Walker's Remembrence ===
rem.mission.create("Walker's Remembrence")
rem.mission.arc("West Point Exploration Arc")
rem.mission.description("This is Jacobi. You may noticed that we are organizing a farewell ceremony for Marcus Walker. Meet me in the West Point Academy Bar. We have to talk about an important matter.")
rem.mission.missiontype("solar")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.solar("li_cruiser_debris_frnt_sm", "li_cruiser_debris_front_wal_sm_load")
rem.mission.solar_spawnmethod("fixed")
rem.mission.pve_spawnpos(0, 0, 0)
-- Trigger: Start on West Point Academy
rem.mission.startbase("Li01_09_Base")
rem.mission.thnconfig("manhattan_gen", "arc_jacobi_exp")
rem.mission.thntime(32)
rem.mission.showpopup(475001, 475002)
rem.mission.missionmessage("popup", 475003)
rem.mission.missionmessage("launch", 475004)
rem.mission.thnsave()
rem.mission.trigger("SpaceEnter")
rem.mission.thnsave()
rem.mission.save()
-- ======================================================================================
-- ARC: Buffalo Story Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Mission 01: Inner Corruption ===
rem.mission.create("Inner Corruption")
rem.mission.arc("Buffalo Story Arc")
rem.mission.description("Received a cryptic message from an unknown contact regarding a rendezvous on Buffalo Station. The message contains also the specific location data for the meeting.")
rem.mission.missiontype("flyto")
rem.mission.flyto_targetbase("Li01_10_Base")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
-- Trigger: Start on Buffalo Station
rem.mission.startbase("Li01_12_base")
rem.mission.thnconfig("buffalo_gen", "arc_rebus1")
rem.mission.thntime(61)
rem.mission.showpopup(459000, 459001)
rem.mission.missionmessage("popup", 459002)
rem.mission.missionmessage("launch", 459003)
rem.mission.thnsave()
rem.mission.save()
-- Mission 02: Subversive Operation ===
rem.mission.create("Subversive Operation")
rem.mission.arc("Buffalo Story Arc")
rem.mission.description("The Rebus contacted me for another important mission. The message contains also the specific location data for the meeting.")
rem.mission.missiontype("pve")
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.pve_enemyfaction("li_p_grp")
rem.mission.pve_enemycount(4)
rem.mission.pve_wavecount(2)
rem.mission.pve_spawnmethod("fixed")
rem.mission.pve_spawnpos(-50000, 0, 5000)
-- Trigger: Start on Buffalo Station
rem.mission.startbase("Li01_12_base")
rem.mission.thnconfig("buffalo_gen", "arc_rebus3")
rem.mission.thntime(57)
rem.mission.showpopup(459010, 459011)
rem.mission.missionmessage("popup", 459012)
rem.mission.missionmessage("launch", 459013)
rem.mission.thnsave()
--rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
--rem.mission.thnconfig("buffalo_gen", "arc_rebus4") -- Set THN location and name
--rem.mission.thntime(20) -- Set THN duration to 20 seconds
--rem.mission.thnsave()
rem.mission.save()
-- === Rheinland Rebus Story Arc Mission 1 ===
-- rem.mission.arc("StoryArc5")
rem.mission.create("rebus_rheinland1") -- Set mission name
rem.mission.missiontype("flyto") -- Set mission type (pve, trade, flyto)
rem.mission.flyto_targetbase("Rh01_01_Base") -- Target base (mission completes when docking here and confirming popup)
rem.mission.trigger("InitState") -- Trigger: Starts immediately on mission acceptance
rem.mission.startbase("Rh05_04_Base") -- Starting base for THN
rem.mission.thnconfig("vogtland_gen", "arc_rebus1") -- THN location and name
rem.mission.thntime(67) -- THN duration in seconds
rem.mission.showpopup(471200, 471201) -- Infocard IDs for caption and content
rem.mission.missionmessage("popup", 471202) -- Message shown after popup
rem.mission.missionmessage("launch", 471203) -- Message shown after launch
rem.mission.thnsave() -- Save THN configuration
-- Optional: Second THN entity for SpaceEnter at target base
rem.mission.trigger("SpaceEnter") -- Trigger: Activates when docking at target base
rem.mission.startbase("Rh01_01_Base") -- Target base for THN
rem.mission.thnconfig("newberlin_gen", "arc_rebus1") -- THN location and name
rem.mission.thntime(46) -- THN duration in seconds
rem.mission.showpopup(471200, 471204) -- Infocard IDs for caption and content
rem.mission.missionmessage("popup", 471205) -- Message shown after popup
-- Mission 03: Data Fragment (Liberty) ===
rem.mission.create("Data Fragment (Liberty)")
rem.mission.description("Once ready to proceed I should contact and meet The Rebus on Buffalo Station. Now, that I am part of their initiative The Rebus has another Mission for me.")
rem.mission.repeatable(true)
-- ======================================================================================
-- ARC: Vogtland Story Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Mission 01: Dangerous Enigma ===
rem.mission.create("Dangerous Enigma")
rem.mission.arc("Vogtland Story Arc")
rem.mission.description("Received a cryptic message from an unknown contact regarding a rendezvous on Vogtland Base. The message contains also the specific location data for the meeting.")
rem.mission.missiontype("flyto")
rem.mission.flyto_targetbase("Rh01_01_Base")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
-- Trigger: Start on Vogtland Base
rem.mission.startbase("Rh05_04_Base")
rem.mission.thnconfig("vogtland_gen", "arc_rebus1")
rem.mission.thntime(67)
rem.mission.showpopup(471200, 471201)
rem.mission.missionmessage("popup", 471202)
rem.mission.missionmessage("launch", 471203)
rem.mission.thnsave()
-- Trigger: Entering Space
rem.mission.trigger("SpaceEnter")
rem.mission.startbase("Rh01_01_Base")
rem.mission.thnconfig("newberlin_gen", "arc_rebus1")
rem.mission.thntime(46)
rem.mission.showpopup(471200, 471204)
rem.mission.missionmessage("popup", 471205)
rem.mission.missionmessage("launch", 471206)
rem.mission.thnsave() -- Save THN configuration
rem.mission.thnsave()
rem.mission.save()
-- Create and configure the first mission
-- rem.mission.arc("StoryArc5")
rem.mission.create("rebus_rheinland2") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type to PVE
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
rem.mission.startbase("Rh05_04_Base") -- Set mission startbase
rem.mission.pve_enemyfaction("rh_p_grp") -- Set Enemy Faction to Xenos
rem.mission.pve_enemycount(4) -- 4 enemies per wave
rem.mission.pve_wavecount(2) -- 2 waves
rem.mission.pve_spawnmethod("fixed") -- NPC spawn Method set to fixed Location
rem.mission.pve_spawnpos(-8877, 0, -24804) -- NPC Spawn Position
rem.mission.thnconfig("vogtland_gen", "arc_rebus3") -- Set THN location and name
rem.mission.thntime(57) -- Set THN duration to 57 seconds
rem.mission.showpopup(471210, 471211) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 471212) -- Show Mission Message after Popup
-- Mission 02: Rheinland Assault ===
rem.mission.create("Rheinland Assault")
rem.mission.arc("Vogtland Story Arc")
rem.mission.description("The Rebus contacted me for another important mission. The message contains also the specific location data for the meeting.")
rem.mission.missiontype("pve")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.startbase("Rh05_04_Base")
rem.mission.pve_enemyfaction("rh_p_grp")
rem.mission.pve_enemycount(4)
rem.mission.pve_wavecount(2)
rem.mission.pve_spawnmethod("fixed")
rem.mission.pve_spawnpos(-8877, 0, -24804)
-- Trigger: Start on Vogtland Base
rem.mission.thnconfig("vogtland_gen", "arc_rebus3")
rem.mission.thntime(57)
rem.mission.showpopup(471210, 471211)
rem.mission.missionmessage("popup", 471212)
rem.mission.missionmessage("launch", 471213)
rem.mission.thnsave()
--rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
--rem.mission.thnconfig("vogtland_gen", "arc_rebus4") -- Set THN location and name
--rem.mission.thntime(20) -- Set THN duration to 20 seconds
--rem.mission.thnsave()
rem.mission.save()
-- Create and configure the first mission
-- rem.mission.arc("StoryArc3")
rem.mission.create("rebus_kusari1") -- Set mission name
rem.mission.missiontype("flyto") -- Set mission type to FlyTo
rem.mission.flyto_targetbase("Ku05_02_Base") -- Target base (mission completes when docking here and confirming popup)
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
-- Mission 03: Data Fragment (Rheinland) ===
rem.mission.create("Data Fragment (Rheinland)")
rem.mission.arc("Vogtland Story Arc")
rem.mission.description("Once ready to proceed I should contact and meet The Rebus on Vogtland Base. Now, that I am part of their initiative The Rebus has another Mission for me.")
rem.mission.repeatable(true)
-- ======================================================================================
-- ARC: Kyoto Story Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Mission 01: Shattered Empire ===
rem.mission.create("Shattered Empire")
rem.mission.arc("Kyoto Story Arc")
rem.mission.description("Received a cryptic message from an unknown contact regarding a rendezvous on Kyoto Base. The message contains also the specific location data for the meeting.")
rem.mission.missiontype("flyto")
rem.mission.flyto_targetbase("Ku05_02_Base")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
-- Trigger: Start on Kyoto Base
rem.mission.startbase("Ku06_01_base") -- Set mission startbase
rem.mission.thnconfig("kyoto_gen", "arc_rebus1") -- Set THN location and name
rem.mission.thntime(63) -- Set THN duration to 59 seconds
@@ -103,7 +314,8 @@ rem.mission.showpopup(471100, 471101) -- Set infocard IDs
rem.mission.missionmessage("popup", 471102) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 471103)
rem.mission.thnsave()
-- Optional: Second THN entity for SpaceEnter at target base
-- Trigger: Entering Space
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("ku05_02_base") -- Set mission startbase
rem.mission.thnconfig("ainu_gen", "arc_rebus1") -- Set THN location and name
@@ -112,178 +324,69 @@ rem.mission.showpopup(471100, 471104) -- Set infocard IDs
rem.mission.missionmessage("popup", 471105) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 471106)
rem.mission.thnsave() -- Save the thn config
-- rem.mission.startbase("ku05_02_base") -- Set mission startbase
-- rem.mission.thnconfig("kyoto_gen", "arc_rebus2") -- Set THN location and name
-- rem.mission.thntime(13) -- Set THN duration to 44 seconds
-- rem.mission.showpopup(471100, 471107) -- Set infocard IDs for caption and content
-- rem.mission.missionmessage("popup", 480000) -- Show Mission Message after Popup
-- rem.mission.thnsave() -- Save the thn config
rem.mission.save()
-- === PVE Mission ===
rem.mission.create("XenoHunt") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type (pve, trade, flyto)
rem.mission.pve_enemyfaction("fc_n_grp") -- Enemy faction
rem.mission.pve_enemycount(2) -- Enemies per wave (max 20, scaled by group size)
rem.mission.pve_wavecount(1) -- Enemy waves (max 6, scaled by group size)
rem.mission.pve_spawnmethod("fixed") -- Spawn position (fixed or dynamic)
rem.mission.pve_spawnpos(-29255, 0, -26907) -- Fixed position (x, y, z; required for fixed spawn)
rem.mission.pve_enemyship("co_hsp_li_freighter_d1") -- Optional: Specific enemy ship (defaults to hardest FIGHTER of faction)
rem.mission.trigger("InitState") -- Trigger: Starts immediately on mission acceptance
rem.mission.startbase("Li01_01_Base") -- Starting base for THN
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- THN location and name
rem.mission.thntime(56) -- THN duration in seconds
rem.mission.showpopup(458763, 458764) -- Infocard IDs for caption and content (one popup per THN)
rem.mission.missionmessage("popup", 458763) -- Message shown after popup
rem.mission.missionmessage("launch", 458763) -- Message shown after launch
rem.mission.thnsave() -- Save THN configuration
rem.mission.save() -- Finalize and save mission
-- Mission 02: Data Fragment (Kusari) ===
-- === Trade Mission ===
rem.mission.create("WaterTrade") -- Set mission name
rem.mission.missiontype("trade") -- Set mission type (pve, trade, flyto)
rem.mission.trade_targetbase("li02_02_base") -- Target base to sell goods (valid base nickname required)
rem.mission.trade_targetitem("commodity_water") -- Commodity to trade
rem.mission.trade_targetamount(100) -- Amount to sell (scaled by group size)
rem.mission.trigger("InitState") -- Trigger: Starts immediately on mission acceptance
rem.mission.startbase("Li01_01_Base") -- Starting base for THN
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- THN location and name
rem.mission.thntime(56) -- THN duration in seconds
rem.mission.showpopup(458790, 458791) -- Infocard IDs for caption and content
rem.mission.missionmessage("popup", 458792) -- Message shown after popup
rem.mission.missionmessage("launch", 458793) -- Message shown after launch
rem.mission.thnsave() -- Save THN configuration
rem.mission.save() -- Finalize and save mission
-- Mission 03: Data Fragment (Kusari) ===
rem.mission.create("Data Fragment (Kusari)")
rem.mission.arc("Kyoto Story Arc")
rem.mission.description("Once ready to proceed I should contact and meet The Rebus on Kyoto Base. Now, that I am part of their initiative The Rebus has another Mission for me.")
rem.mission.repeatable(true)
-- === FlyTo Mission ===
rem.mission.create("Westpoint") -- Set mission name
rem.mission.missiontype("flyto") -- Set mission type (pve, trade, flyto)
rem.mission.flyto_targetbase("Li01_09_Base") -- Target base (mission completes when docking here and confirming popup)
rem.mission.trigger("InitState") -- Trigger: Starts immediately on mission acceptance
rem.mission.startbase("Li01_01_Base") -- Starting base for THN
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- THN location and name
rem.mission.thntime(56) -- THN duration in seconds
rem.mission.showpopup(458763, 458764) -- Infocard IDs for caption and content
rem.mission.missionmessage("popup", 458772) -- Message shown after popup
rem.mission.missionmessage("launch", 458773) -- Message shown after launch
rem.mission.thnsave() -- Save THN configuration
-- Optional: Second THN entity for SpaceEnter at target base
rem.mission.trigger("SpaceEnter") -- Trigger: Activates when docking at target base
rem.mission.startbase("Li01_09_Base") -- Target base for THN
rem.mission.thnconfig("westpoint_gen", "arc_juni") -- THN location and name
rem.mission.thntime(35) -- THN duration in seconds
rem.mission.showpopup(458763, 458764) -- Infocard IDs for caption and content
rem.mission.missionmessage("popup", 458775) -- Message shown after popup
rem.mission.thnsave() -- Save THN configuration
rem.mission.save() -- Finalize and save mission
-- Create and configure the mission
rem.mission.arc("StoryArc2")
rem.mission.create("reunion") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type to PVE
rem.mission.trigger("InitState") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.pve_enemyfaction("fc_n_grp") -- Set Enemy Faction to Nomads
rem.mission.pve_enemycount(4) -- 4 enemies per wave
rem.mission.pve_wavecount(2) -- 1 wave
rem.mission.pve_spawnmethod("fixed") -- NPC spawn Method set to fixed Location
rem.mission.pve_spawnpos(-16419, 0, 74074) -- NPC Spawn Position
rem.mission.startbase("Li01_01_Base") -- Set mission startbase
rem.mission.thnconfig("manhattan_gen", "arc_juni") -- Set THN location and name
rem.mission.thntime(57) -- Set THN duration to x seconds
rem.mission.showpopup(458770, 458771) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 458772) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 458773) -- Show Mission Message after launch
rem.mission.thnsave() -- Save the thn config
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_09_Base") -- Set mission startbase
rem.mission.thnconfig("westpoint_gen", "arc_juni") -- Set THN location and name
rem.mission.thntime(34) -- Set THN duration to x seconds
rem.mission.showpopup(458770, 458774) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 458775) -- Show Mission Message after Popup
--rem.mission.missionmessage("launch", 458773) -- Show Mission Message after launch
rem.mission.thnsave() -- Save the thn config
rem.mission.save() -- Finalize and save mission to the list
-- Create and configure the first mission
rem.mission.arc("StoryArc2")
rem.mission.create("duty") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type to PVE
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
rem.mission.pve_enemyfaction("fc_x_grp") -- Set Enemy Faction to Xenos
rem.mission.pve_enemycount(4) -- 4 enemies per wave
rem.mission.pve_wavecount(2) -- 2 waves
rem.mission.pve_spawnmethod("fixed") -- NPC spawn Method set to fixed Location
rem.mission.pve_spawnpos(-30763, 0, -60216) -- NPC Spawn Position
rem.mission.startbase("Li01_01_base") -- Set mission startbase
rem.mission.thnconfig("manhattan_gen", "arc_harrison") -- Set THN location and name
rem.mission.thntime(59) -- Set THN duration to 59 seconds
rem.mission.showpopup(458760, 458761) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 458762) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 458763)
rem.mission.thnsave()
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_13_Base") -- Set mission startbase
rem.mission.thnconfig("rochester_gen", "arc_harrison") -- Set THN location and name
rem.mission.thntime(43) -- Set THN duration to 44 seconds
rem.mission.showpopup(458760, 458766) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 480000) -- Show Mission Message after Popup
rem.mission.thnsave() -- Save the thn config
rem.mission.save()
-- Create and configure the first mission
rem.mission.arc("StoryArc1")
rem.mission.create("rebus_liberty1") -- Set mission name
rem.mission.missiontype("flyto") -- Set mission type to PVE
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
rem.mission.startbase("Li01_12_base") -- Set mission startbase
rem.mission.thnconfig("buffalo_gen", "arc_rebus1") -- Set THN location and name
rem.mission.thntime(61) -- Set THN duration to 59 seconds
rem.mission.showpopup(459000, 459001) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 459002) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 459003)
rem.mission.thnsave()
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("Li01_12_Base") -- Set mission startbase
rem.mission.thnconfig("buffalo_gen", "arc_rebus2") -- Set THN location and name
rem.mission.thntime(43) -- Set THN duration to 44 seconds
rem.mission.showpopup(459000, 459004) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 480000) -- Show Mission Message after Popup
rem.mission.thnsave() -- Save the thn config
rem.mission.save()
-- ======================================================================================
-- ARC: Toledo Story Arc
-- TEST CASE: Dependency Chain & Repeatable
-- ======================================================================================
-- Create and configure the first mission
rem.mission.arc("StoryArc20")
rem.mission.create("relics") -- Set mission name
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
rem.mission.startbase("St01_01_base") -- Set mission startbase
rem.mission.thnconfig("toledo_gen", "arc_sinclair") -- Set THN location and name
rem.mission.thntime(40) -- Set THN duration to 40 seconds
rem.mission.showpopup(458780, 458781) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 458782) -- Show Mission Message after Popup
-- Mission 01: Forgotten Relic ===
rem.mission.create("Forgotten Relic")
rem.mission.arc("Toledo Story Arc")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
-- Trigger: Start on Planet Toledo
rem.mission.startbase("St01_01_base")
rem.mission.thnconfig("toledo_gen", "arc_sinclair")
rem.mission.thntime(40)
rem.mission.showpopup(458780, 458781)
rem.mission.missionmessage("popup", 458782)
rem.mission.missionmessage("launch", 458783)
rem.mission.thnsave() -- Save the thn config
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
rem.mission.startbase("St01_01_base") -- Set mission startbase
rem.mission.showpopup(458780, 458788) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 480000) -- Show Mission Message after Popup
rem.mission.thnsave()
-- Trigger: Entering Space
rem.mission.trigger("SpaceEnter")
rem.mission.startbase("St01_01_base")
rem.mission.showpopup(458780, 458788)
rem.mission.missionmessage("popup", 480000)
rem.mission.save()
-- Create and configure the first mission
rem.mission.arc("StoryArc21")
rem.mission.create("salvation") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type to PVE
rem.mission.trigger("InitState") -- Trigger to setup thnconfig
rem.mission.startbase("St01_01_base") -- Set mission startbase
rem.mission.pve_enemyfaction("fc_n_grp") -- Set Enemy Faction to Nomads
rem.mission.pve_enemycount(4) -- 4 enemies per wave
rem.mission.pve_wavecount(1) -- 2 waves
rem.mission.pve_spawnmethod("fixed") -- NPC spawn Method set to fixed Location
rem.mission.pve_spawnpos(-8000, 0, -15000) -- NPC Spawn Position
rem.mission.thnconfig("toledo_gen", "arc_sinclair3") -- Set THN location and name
rem.mission.thntime(201) -- Set THN duration to 40 seconds
rem.mission.showpopup(474100, 474101) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 474102) -- Show Mission Message after Popup
-- Mission 02: The Forsaken ===
rem.mission.create("The Forsaken")
rem.mission.arc("Toledo Story Arc")
rem.mission.missiontype("pve")
rem.mission.repeatable(true)
-- Trigger: Initialize Data
rem.mission.trigger("InitState")
rem.mission.pve_enemyfaction("fc_n_grp")
rem.mission.pve_enemycount(4)
rem.mission.pve_wavecount(1)
rem.mission.pve_spawnmethod("fixed")
rem.mission.pve_spawnpos(-8000, 0, -15000)
-- Trigger: Start on Planet Toledo
rem.mission.startbase("St01_01_base")
rem.mission.thnconfig("toledo_gen", "arc_sinclair3")
rem.mission.thntime(201)
rem.mission.showpopup(474100, 474101)
rem.mission.missionmessage("popup", 474102)
rem.mission.missionmessage("launch", 474103)
rem.mission.thnsave() -- Save the thn config
rem.mission.thnsave()
-- Trigger: Entering Space
rem.mission.trigger("SpaceEnter")
rem.mission.save()