From 29c999387b3b61dbd26502532bc01afd262dddac Mon Sep 17 00:00:00 2001 From: D4rkl1ght3r <86805404+D4rkl1ght3r@users.noreply.github.com> Date: Sun, 10 Aug 2025 00:13:22 +0200 Subject: [PATCH] Add voice & animation globals --- EXE/REM/Lua/DYNAMIC/config.lua | 3 ++- EXE/REM/Lua/luastart.lua | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/EXE/REM/Lua/DYNAMIC/config.lua b/EXE/REM/Lua/DYNAMIC/config.lua index c4f22242..045bae3b 100644 --- a/EXE/REM/Lua/DYNAMIC/config.lua +++ b/EXE/REM/Lua/DYNAMIC/config.lua @@ -12,7 +12,8 @@ setglobal('gcs_state', "off") -- CHARACTER Settings setglobal('char_gen', "trent") -setglobal('gcs_voice', "trent") +setglobal('voice_gen', "Trent") +setglobal('anm_id', "MLBODY") setglobal('anm_gen', "stand") -- MISSIONS Settings diff --git a/EXE/REM/Lua/luastart.lua b/EXE/REM/Lua/luastart.lua index 58404e56..c174d762 100644 --- a/EXE/REM/Lua/luastart.lua +++ b/EXE/REM/Lua/luastart.lua @@ -55,8 +55,12 @@ function modifyLuaConfig(filePath) lines[i] = "setglobal('char_gen', \"trent\")" -- Change gcs_voice to "trent" - elseif line:find("setglobal%('gcs_voice',") then - lines[i] = "setglobal('gcs_voice', \"trent\")" + elseif line:find("setglobal%('voice_gen',") then + lines[i] = "setglobal('voice_gen', \"Trent\")" + + -- Change gcs_voice to "trent" + elseif line:find("setglobal%('anm_id',") then + lines[i] = "setglobal('anm_id', \"MLBODY\")" -- Change anm_gen to "stand" elseif line:find("setglobal%('anm_gen',") then