Add Tutorial Mission

This commit is contained in:
D4rkl1ght3r
2025-07-26 01:13:42 +02:00
parent 5d54d242c0
commit 7ae4345984
9 changed files with 60 additions and 0 deletions

View File

@@ -4,6 +4,22 @@
-- Triggers: InitState (on mission start), BaseEnter (on docking), SpaceEnter (on launch)
-- Triggers change the config.lua
-- Tutorial Mission ===
rem.mission.create("tutorial") -- Set mission name
rem.mission.missiontype("flyto") -- Set mission type to PVE
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(31) -- Set THN duration to x seconds
rem.mission.showpopup(465001, 465002) -- Set infocard IDs for caption and content
rem.mission.missionmessage("popup", 465003) -- Show Mission Message after Popup
rem.mission.missionmessage("launch", 465004) -- 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_10_Base") -- Set mission startbase
rem.mission.thnsave() -- Save the thn config
rem.mission.save() -- Finalize and save mission to the list
-- === PVE Mission ===
rem.mission.create("XenoHunt") -- Set mission name
rem.mission.missiontype("pve") -- Set mission type (pve, trade, flyto)