Added New Mods; Swapped Mods and Removed Some
Removed EGUI in favor of UI Rework by Sota Added in GTR Optimized for higher res textures, over Zone Reality Remade and removed all files that conflicted from ZRR to save storage space.
This commit is contained in:
@@ -192,6 +192,30 @@ _G.CUIMessagesWindow__AddIconedPdaMessage = function(UIWindow, UITimeText, UICap
|
||||
SendScriptCallback("on_news_received", UIWindow, UITimeText, UICaptionText, UIMsgText, UIIconStatic, tags)
|
||||
end
|
||||
|
||||
-- NPC on item before pickup callback
|
||||
AddScriptCallback("npc_on_item_before_pickup")
|
||||
_G.CAI_Stalker__OnBeforeOwnershipTake = function(npc, item)
|
||||
local flags = { ret_value = true }
|
||||
SendScriptCallback("npc_on_item_before_pickup", npc, item, flags)
|
||||
return flags.ret_value
|
||||
end
|
||||
|
||||
-- actor_on_task_callback
|
||||
AddScriptCallback("actor_on_task_callback")
|
||||
task_callback = task_manager.task_callback
|
||||
task_manager.task_callback = function(tsk, state)
|
||||
local tm = task_manager.get_task_manager()
|
||||
local id = tsk:get_id()
|
||||
SendScriptCallback("actor_on_task_callback", tsk, state, tm, id)
|
||||
task_callback(tsk, state)
|
||||
end
|
||||
|
||||
-- on_phrase_callback
|
||||
AddScriptCallback("on_phrase_callback")
|
||||
_G.CAI_Stalker_OnPhraseCallback = function(sound_name, obj)
|
||||
SendScriptCallback("on_phrase_callback", sound_name, obj)
|
||||
end
|
||||
|
||||
-- Improve NPCs pathfinding by reducing actual anomaly damage radius
|
||||
-- Works only when npc:get_enable_anomalies_pathfinding() == true or ai_die_in_anomalies cvar is 1
|
||||
function is_outside_damage_radius(zone, obj)
|
||||
|
||||
@@ -339,6 +339,36 @@ function init_opt_base()
|
||||
content = {function() return {{"1", "ON"}, {"0", "OFF"}} end},
|
||||
cmd = "log_timestamps",
|
||||
},
|
||||
{
|
||||
id = "lua_gcstep",
|
||||
type = "track",
|
||||
val = 2,
|
||||
def = 400,
|
||||
min = 1,
|
||||
max = 1000,
|
||||
step = 10,
|
||||
cmd = "lua_gcstep",
|
||||
},
|
||||
{
|
||||
id = "mouse_buffer_size",
|
||||
type = "track",
|
||||
val = 2,
|
||||
def = 1024,
|
||||
min = 64,
|
||||
max = 2048,
|
||||
step = 32,
|
||||
cmd = "mouse_buffer_size",
|
||||
},
|
||||
{
|
||||
id = "keyboard_buffer_size",
|
||||
type = "track",
|
||||
val = 2,
|
||||
def = 1024,
|
||||
min = 64,
|
||||
max = 2048,
|
||||
step = 32,
|
||||
cmd = "keyboard_buffer_size",
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user