Add Lua globals rochester_gen & westpoint_gen
This commit is contained in:
@@ -18,9 +18,10 @@ setglobal('anm_gen', "stand")
|
|||||||
-- MISSIONS Settings
|
-- MISSIONS Settings
|
||||||
|
|
||||||
setglobal('manhattan_gen', "origin")
|
setglobal('manhattan_gen', "origin")
|
||||||
setglobal('lismallstation_gen', "origin")
|
setglobal('rochester_gen', "origin")
|
||||||
|
setglobal('westpoint_gen', "origin")
|
||||||
setglobal('toledo_gen', "origin")
|
setglobal('toledo_gen', "origin")
|
||||||
|
|
||||||
-- This Config File effecting Character Animation References, Planet & Station Enviorments and Mission Cutscenes
|
-- This Config File effecting Character Animation References, Planet & Station Enviorments and Mission Cutscenes.
|
||||||
-- Files in DATA\SCRIPTS GCS,BASES and EXTRAS using these defined globals
|
-- Files in DATA\SCRIPTS GCS, BASES and EXTRAS using these defined globals.
|
||||||
-- Included with dofile('..\\EXE\\REM\\Lua\\DYNAMIC\\config.lua') in .thn scripts
|
-- Included with dofile('..\\EXE\\REM\\Lua\\DYNAMIC\\config.lua') in .thn scripts.
|
||||||
@@ -54,7 +54,7 @@ rem.mission.thnsave() -- Save THN configuration
|
|||||||
-- Optional: Second THN entity for SpaceEnter at target base
|
-- Optional: Second THN entity for SpaceEnter at target base
|
||||||
rem.mission.trigger("SpaceEnter") -- Trigger: Activates when docking 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.startbase("Li01_09_Base") -- Target base for THN
|
||||||
rem.mission.thnconfig("lismallstation_gen", "arc_juni") -- THN location and name
|
rem.mission.thnconfig("westpoint_gen", "arc_juni") -- THN location and name
|
||||||
rem.mission.thntime(35) -- THN duration in seconds
|
rem.mission.thntime(35) -- THN duration in seconds
|
||||||
rem.mission.showpopup(458763, 458764) -- Infocard IDs for caption and content
|
rem.mission.showpopup(458763, 458764) -- Infocard IDs for caption and content
|
||||||
rem.mission.missionmessage("popup", 458775) -- Message shown after popup
|
rem.mission.missionmessage("popup", 458775) -- Message shown after popup
|
||||||
@@ -79,7 +79,7 @@ rem.mission.missionmessage("launch", 458773) -- Show Mission Message afte
|
|||||||
rem.mission.thnsave() -- Save the thn config
|
rem.mission.thnsave() -- Save the thn config
|
||||||
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
|
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
|
||||||
rem.mission.startbase("Li01_09_Base") -- Set mission startbase
|
rem.mission.startbase("Li01_09_Base") -- Set mission startbase
|
||||||
rem.mission.thnconfig("lismallstation_gen", "arc_juni") -- Set THN location and name
|
rem.mission.thnconfig("westpoint_gen", "arc_juni") -- Set THN location and name
|
||||||
rem.mission.thntime(34) -- Set THN duration to x seconds
|
rem.mission.thntime(34) -- Set THN duration to x seconds
|
||||||
rem.mission.showpopup(458770, 458774) -- Set infocard IDs for caption and content
|
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("popup", 458775) -- Show Mission Message after Popup
|
||||||
@@ -104,7 +104,7 @@ rem.mission.missionmessage("popup", 458762) -- Show Mission Message after
|
|||||||
rem.mission.thnsave()
|
rem.mission.thnsave()
|
||||||
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
|
rem.mission.trigger("SpaceEnter") -- Trigger to setup thnconfig (InitState, BaseEnter, SpaceEnter)
|
||||||
rem.mission.startbase("Li01_13_Base") -- Set mission startbase
|
rem.mission.startbase("Li01_13_Base") -- Set mission startbase
|
||||||
rem.mission.thnconfig("lismallstation_gen", "arc_harrison") -- Set THN location and name
|
rem.mission.thnconfig("rochester_gen", "arc_harrison") -- Set THN location and name
|
||||||
rem.mission.thntime(43) -- Set THN duration to 44 seconds
|
rem.mission.thntime(43) -- Set THN duration to 44 seconds
|
||||||
rem.mission.showpopup(458760, 458764) -- Set infocard IDs for caption and content
|
rem.mission.showpopup(458760, 458764) -- Set infocard IDs for caption and content
|
||||||
rem.mission.thnsave() -- Save the thn config
|
rem.mission.thnsave() -- Save the thn config
|
||||||
|
|||||||
@@ -62,12 +62,14 @@ function modifyLuaConfig(filePath)
|
|||||||
elseif line:find("setglobal%('anm_gen',") then
|
elseif line:find("setglobal%('anm_gen',") then
|
||||||
lines[i] = "setglobal('anm_gen', \"stand\")"
|
lines[i] = "setglobal('anm_gen', \"stand\")"
|
||||||
|
|
||||||
-- Change manhattan_gen, lismallstation_gen, toledo_gen to "origin"
|
-- Change manhattan_gen, rochester_gen, westpoint_gen and toledo_gen to "origin"
|
||||||
|
|
||||||
elseif line:find("setglobal%('manhattan_gen',") then
|
elseif line:find("setglobal%('manhattan_gen',") then
|
||||||
lines[i] = "setglobal('manhattan_gen', \"origin\")"
|
lines[i] = "setglobal('manhattan_gen', \"origin\")"
|
||||||
elseif line:find("setglobal%('lismallstation_gen',") then
|
elseif line:find("setglobal%('rochester_gen',") then
|
||||||
lines[i] = "setglobal('lismallstation_gen', \"origin\")"
|
lines[i] = "setglobal('rochester_gen', \"origin\")"
|
||||||
|
elseif line:find("setglobal%('westpoint_gen',") then
|
||||||
|
lines[i] = "setglobal('westpoint_gen', \"origin\")"
|
||||||
elseif line:find("setglobal%('toledo_gen',") then
|
elseif line:find("setglobal%('toledo_gen',") then
|
||||||
lines[i] = "setglobal('toledo_gen', \"origin\")"
|
lines[i] = "setglobal('toledo_gen', \"origin\")"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user