The script is simply incorrectly written.
Move line 19 and 20 below line 28.
yes i have a negative level on that one too (i assume they just dont want you to level further) also I was wrong, the number needs to be a full number without decimals so if you change it to 2.0 it will worksyntheticlion wrote: ↑Thu Apr 17, 2025 2:15 pmWhenever I edit that number to be anything other than 10, the game crashes, do I need to change anything else?
Is hitting level 99 supposed to show a "next level" at a negative value? I know you're not supposed to go over obviously but just want to make sure it didn't bug out either
Looks like the max level for skills is 50 if done legit.eggs wrote: ↑Thu Apr 17, 2025 2:32 pmyes i have a negative level on that one too (i assume they just dont want you to level further) also I was wrong, the number needs to be a full number without decimals so if you change it to 2.0 it will worksyntheticlion wrote: ↑Thu Apr 17, 2025 2:15 pmWhenever I edit that number to be anything other than 10, the game crashes, do I need to change anything else?
Is hitting level 99 supposed to show a "next level" at a negative value? I know you're not supposed to go over obviously but just want to make sure it didn't bug out either
All custom cheatManager commands are stripped out (ret 000).
If you die, it will reset and you start losing food/drink againEvoc wrote: ↑Fri Apr 18, 2025 10:40 amFYI to those not enjoying the survival mechanics (I found food/hydration decrease way too quickly and become annoying), changing the sustenance/hydration decay buffer to something like 999999 will prevent them from decreasing for the amount of time specified in seconds, it also saves to the characters json file so is persistent between reloads.
If you can't be bothered to search and modify it using CE you could try editing the json file, it should be under the line "HydrationDecayBuffer" and "SustenanceDecayBuffer".
You can use UE4SS if you want it to persist, here's a script for it -ArayaVena wrote: ↑Fri Apr 18, 2025 11:22 pmIf you die, it will reset and you start losing food/drink againEvoc wrote: ↑Fri Apr 18, 2025 10:40 amFYI to those not enjoying the survival mechanics (I found food/hydration decrease way too quickly and become annoying), changing the sustenance/hydration decay buffer to something like 999999 will prevent them from decreasing for the amount of time specified in seconds, it also saves to the characters json file so is persistent between reloads.
If you can't be bothered to search and modify it using CE you could try editing the json file, it should be under the line "HydrationDecayBuffer" and "SustenanceDecayBuffer".![]()
Code: Select all
NotifyOnNewObject("/Script/Dominion.HydrationComponent", function(Object)
ExecuteInGameThread(function()
if Object then
local name = Object:GetFullName()
if not name:match("HydrationComponent_GEN_VARIABLE") then
Object:SetPropertyValue("DecayRatePerHour", 0)
end
end
end)
end)
NotifyOnNewObject("/Script/Dominion.SustenanceComponent", function(Object)
ExecuteInGameThread(function()
if Object then
local name = Object:GetFullName()
if not name:match("SustenanceComponent_GEN_VARIABLE") then
Object:SetPropertyValue("DecayRatePerHour", 0)
end
end
end)
end)
Thanks! Works great!Evoc wrote: ↑Sat Apr 19, 2025 4:08 amYou can use UE4SS if you want it to persist, here's a script for it -ArayaVena wrote: ↑Fri Apr 18, 2025 11:22 pmIf you die, it will reset and you start losing food/drink againEvoc wrote: ↑Fri Apr 18, 2025 10:40 amFYI to those not enjoying the survival mechanics (I found food/hydration decrease way too quickly and become annoying), changing the sustenance/hydration decay buffer to something like 999999 will prevent them from decreasing for the amount of time specified in seconds, it also saves to the characters json file so is persistent between reloads.
If you can't be bothered to search and modify it using CE you could try editing the json file, it should be under the line "HydrationDecayBuffer" and "SustenanceDecayBuffer".![]()
Code: Select all
NotifyOnNewObject("/Script/Dominion.HydrationComponent", function(Object) ExecuteInGameThread(function() if Object then local name = Object:GetFullName() if not name:match("HydrationComponent_GEN_VARIABLE") then Object:SetPropertyValue("DecayRatePerHour", 0) end end end) end) NotifyOnNewObject("/Script/Dominion.SustenanceComponent", function(Object) ExecuteInGameThread(function() if Object then local name = Object:GetFullName() if not name:match("SustenanceComponent_GEN_VARIABLE") then Object:SetPropertyValue("DecayRatePerHour", 0) end end end) end)
Users browsing this forum: AhrefsBot, daninthemix, Google Adsense [Bot], LIOBOSS, LOIPSC