Update luastart & config

This commit is contained in:
D4rkl1ght3r
2025-06-23 19:40:00 +02:00
parent 22f6e1a4d2
commit 51a2b6463a
2 changed files with 22 additions and 2 deletions

View File

@@ -22,7 +22,11 @@ setglobal('rochester_gen', "origin")
setglobal('westpoint_gen', "origin") setglobal('westpoint_gen', "origin")
setglobal('toledo_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_fovh_gen', "29.5")
setglobal('li01_city_hvaspect_gen', "1.31") setglobal('li01_city_hvaspect_gen', "1.31")
@@ -30,12 +34,13 @@ setglobal('li01_city_nearplane_gen', "20")
setglobal('li01_city_farplane_gen', "7000") setglobal('li01_city_farplane_gen', "7000")
-- Li01 City Camera_0 -- Li01 City Camera_0 Widescreen "Fix"
-- fovh = 29.5, -- fovh = 29.5,
-- hvaspect = 1.31, -- hvaspect = 1.31,
-- nearplane = 20, -- nearplane = 20,
-- farplane = 7000 -- farplane = 7000
-- pos = { 59.65879, 46.31464, 97.57275 },
-- Li01 Bar Camera_0 -- Li01 Bar Camera_0
@@ -44,6 +49,14 @@ setglobal('li01_city_farplane_gen', "7000")
-- nearplane = 0.5, -- nearplane = 0.5,
-- farplane = 100 -- 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. -- 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.

View File

@@ -75,6 +75,13 @@ function modifyLuaConfig(filePath)
-- Change Li01 City Camera_0 to origin values -- 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 elseif line:find("setglobal%('li01_city_fovh_gen',") then
lines[i] = "setglobal('li01_city_fovh_gen', \"29.5\")" lines[i] = "setglobal('li01_city_fovh_gen', \"29.5\")"
elseif line:find("setglobal%('li01_city_hvaspect_gen',") then elseif line:find("setglobal%('li01_city_hvaspect_gen',") then