Various New Mods; Updated and Removed Mods

Fixed:
- PDA map colors not matching
- Aydin's Grass Tweaks mismatch
- Hax Bolt Reanimation being overridden

Updated:
- Atmospherics

Removed:
- Dialog Dynamic UI (Included in EGUI)
- Developer Mod Installations (Unnecessary bloat)
This commit is contained in:
2024-03-21 08:41:48 -04:00
parent 290378b961
commit 8abddf23c7
2362 changed files with 107187 additions and 48192 deletions
@@ -0,0 +1,27 @@
function on_xml_read()
RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj)
if xml_file_name == [[ui\ui_mm_main.xml]]
or xml_file_name == [[ui\ui_mm_main_16.xml]]
then
math.randomseed(os.time())
local res = xml_obj:query("menu_sound > menu_music")
local mus_t = {
"music\\mm_music\\track_1",
"music\\mm_music\\track_2",
"music\\mm_music\\track_3",
"music\\mm_music\\track_4",
"music\\mm_music\\track_5",
"music\\mm_music\\track_6",
"music\\mm_music\\track_7",
}
local picked_track = mus_t[math.random(1, #mus_t)]
if res[1] then
el = res[1]
xml_obj:setText (el, picked_track)
end
end
end)
end