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:
@@ -4,7 +4,7 @@
|
||||
<w>
|
||||
<background x="0" y="0" width="1024" height="768">
|
||||
<auto_static x="0" y="0" width="1024" height="768" stretch="1">
|
||||
<texture x="0" y="0" width="1280" height="720">ui\enhancedGUI_17</texture>
|
||||
<texture x="0" y="0" width="1920" height="1080">ui\Zaper_Background</texture>
|
||||
</auto_static>
|
||||
<auto_static x="0" y="0" width="1024" height="768" stretch="1">
|
||||
<texture>ui\enhancedGUI\ui_inc_overlay_shadow</texture>
|
||||
@@ -18,7 +18,7 @@
|
||||
<auto_static x="0" y="717" width="1024" height="52" stretch="1">
|
||||
<texture>ui\enhancedGUI\ui_inc_bottom</texture>
|
||||
</auto_static>
|
||||
<auto_static x="375" y="80" width="278.4" height="128" stretch="1">
|
||||
<auto_static x="375" y="200" width="278.4" height="128" stretch="1">
|
||||
<texture>logoSTALKER</texture>
|
||||
</auto_static>
|
||||
<auto_static x="886" y="732" width="35" height="28" stretch="1">
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
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]]
|
||||
or xml_file_name == [[ui\ui_credits_16.xml]]
|
||||
or xml_file_name == [[ui\ui_mm_faction_select.xml]]
|
||||
or xml_file_name == [[ui\ui_mm_faction_select_16.xml]]
|
||||
or xml_file_name == [[ui\ui_mm_load_dlg.xml]]
|
||||
or xml_file_name == [[ui\ui_mm_load_dlg_16.xml]]
|
||||
or xml_file_name == [[ui\ui_mm_save_dlg.xml]]
|
||||
or xml_file_name == [[ui\ui_mm_save_dlg_16.xml]]
|
||||
or xml_file_name == [[ui\ui_options.xml]]
|
||||
or xml_file_name == [[ui\ui_options_16.xml]]
|
||||
or xml_file_name == [[ui\ui_mcm.xml]]
|
||||
or xml_file_name == [[ui\ui_mcm_16.xml]]
|
||||
then
|
||||
|
||||
math.randomseed(os.time())
|
||||
|
||||
local res = xml_obj:query("background > auto_static > texture")
|
||||
local menu_t = {
|
||||
"ui\\DG_Freedom"
|
||||
}
|
||||
local picked_menu = menu_t[math.random(1, #menu_t)]
|
||||
if res[1] then
|
||||
el = res[1]
|
||||
xml_obj:setText (el, picked_menu)
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
@@ -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
|
||||
@@ -0,0 +1,36 @@
|
||||
local snd
|
||||
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",
|
||||
}
|
||||
|
||||
function main_menu_on_init()
|
||||
|
||||
math.randomseed(os.time())
|
||||
local picked_track = mus_t[math.random(1, #mus_t)]
|
||||
if not picked_track then return end
|
||||
if snd then return end
|
||||
|
||||
snd = sound_object(picked_track)
|
||||
if not snd then return end
|
||||
|
||||
snd:play(db.actor,0,sound_object.s2d)
|
||||
|
||||
end
|
||||
|
||||
function main_menu_on_quit()
|
||||
if not snd then return end
|
||||
|
||||
snd:stop()
|
||||
snd = nil
|
||||
end
|
||||
|
||||
function on_game_start()
|
||||
RegisterScriptCallback("main_menu_on_init", main_menu_on_init)
|
||||
RegisterScriptCallback("main_menu_on_quit", main_menu_on_quit)
|
||||
end
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user