Add Lua Globals
This commit is contained in:
@@ -13,7 +13,8 @@ setglobal('gcs_state', "off")
|
||||
|
||||
setglobal('char_gen', "trent")
|
||||
setglobal('voice_gen', "Trent")
|
||||
setglobal('anm_id', "MLBODY")
|
||||
setglobal('dx_gen', "trent")
|
||||
setglobal('body_gen', "MLBODY")
|
||||
setglobal('anm_gen', "stand")
|
||||
|
||||
-- MISSIONS Settings
|
||||
@@ -65,6 +66,30 @@ setglobal('li01_city_farplane_gen', "7000")
|
||||
-- farplane = 7000
|
||||
-- pos = { 59.65879, 56.31464, 97.57275 }
|
||||
|
||||
-- Function to create global variables for dx Voice lines
|
||||
dxsnd = function(snd_id)
|
||||
local sndvar = "dx_" .. tostring(snd_id) .. "_" .. tostring(dx_gen)
|
||||
setglobal(snd_id, sndvar)
|
||||
end
|
||||
|
||||
-- Function to create global variables for dx Voice lines
|
||||
vdxsnd = function(snd_id)
|
||||
local sndvar = "dx_" .. tostring(snd_id) .. "_" .. tostring(voice_gen)
|
||||
setglobal(snd_id, sndvar)
|
||||
end
|
||||
|
||||
-- Function to create global variables for VoiceProfile lines
|
||||
vpsnd = function(snd_id)
|
||||
local sndvar = "VoiceProfile_$BGCS_" .. tostring(voice_gen) .. "_" .. tostring(snd_id)
|
||||
setglobal(snd_id, sndvar)
|
||||
end
|
||||
|
||||
-- Function to create global variables for Body lines
|
||||
scanm = function(anm_id)
|
||||
local anmvar = "Sc_" .. tostring(body_gen) .. "_" .. tostring(anm_id)
|
||||
setglobal(anm_id, anmvar)
|
||||
end
|
||||
|
||||
-- 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.
|
||||
Reference in New Issue
Block a user