From 51a2b6463a56c67f8ac32775f7f100d3c5b2bdd3 Mon Sep 17 00:00:00 2001 From: D4rkl1ght3r <86805404+D4rkl1ght3r@users.noreply.github.com> Date: Mon, 23 Jun 2025 19:40:00 +0200 Subject: [PATCH] Update luastart & config --- EXE/REM/Lua/DYNAMIC/config.lua | 17 +++++++++++++++-- EXE/REM/Lua/luastart.lua | 7 +++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/EXE/REM/Lua/DYNAMIC/config.lua b/EXE/REM/Lua/DYNAMIC/config.lua index 3f1432ef..2b7f2a9f 100644 --- a/EXE/REM/Lua/DYNAMIC/config.lua +++ b/EXE/REM/Lua/DYNAMIC/config.lua @@ -22,7 +22,11 @@ setglobal('rochester_gen', "origin") setglobal('westpoint_gen', "origin") setglobal('toledo_gen', "origin") --- CAMERA Settings +-- CAMERA_0 Settings + +setglobal('li01_city_posX_gen', "59.65879") +setglobal('li01_city_posY_gen', "46.31464") +setglobal('li01_city_posZ_gen', "97.57275") setglobal('li01_city_fovh_gen', "29.5") setglobal('li01_city_hvaspect_gen', "1.31") @@ -30,12 +34,13 @@ setglobal('li01_city_nearplane_gen', "20") setglobal('li01_city_farplane_gen', "7000") --- Li01 City Camera_0 +-- Li01 City Camera_0 Widescreen "Fix" -- fovh = 29.5, -- hvaspect = 1.31, -- nearplane = 20, -- farplane = 7000 +-- pos = { 59.65879, 46.31464, 97.57275 }, -- Li01 Bar Camera_0 @@ -44,6 +49,14 @@ setglobal('li01_city_farplane_gen', "7000") -- nearplane = 0.5, -- farplane = 100 +-- Li01 City Camera_0 Vanilla + +-- fovh = 29.5, +-- hvaspect = 1.333333, +-- nearplane = 20, +-- farplane = 7000 +-- pos = { 59.65879, 56.31464, 97.57275 } + -- 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. -- Included with dofile('..\\EXE\\REM\\Lua\\DYNAMIC\\config.lua') in .thn scripts. \ No newline at end of file diff --git a/EXE/REM/Lua/luastart.lua b/EXE/REM/Lua/luastart.lua index bfd8d067..40a7cb66 100644 --- a/EXE/REM/Lua/luastart.lua +++ b/EXE/REM/Lua/luastart.lua @@ -74,6 +74,13 @@ function modifyLuaConfig(filePath) lines[i] = "setglobal('toledo_gen', \"origin\")" -- Change Li01 City Camera_0 to origin values + + elseif line:find("setglobal%('li01_city_posX_gen',") then + lines[i] = "setglobal('li01_city_posX_gen', \"59.65879\")" + elseif line:find("setglobal%('li01_city_posY_gen',") then + lines[i] = "setglobal('li01_city_posY_gen', \"46.31464\")" + elseif line:find("setglobal%('li01_city_posZ_gen',") then + lines[i] = "setglobal('li01_city_posZ_gen', \"97.57275\")" elseif line:find("setglobal%('li01_city_fovh_gen',") then lines[i] = "setglobal('li01_city_fovh_gen', \"29.5\")"