Hey guys I am very new to pc gaming in general and have this mod downloaded and setup from a guide i followed but am confused on how exactly to edit the movement speed. Anyone able to help me navigate exactly what file i need to open and edit or what menu i need to be in?
If you don't mind, I was wondering where you added this line? I tried here: local function onCalcMoveSpeed(e) if (e.reference == tes3.player) thenand here: if (e.reference == tes3.player) then local function onCalcMoveSpeed(e) but neither worked for me!
Hi! Pure chance that I saw this so quickly haha, I was just starting a new playthrough today and grabbing mods.
There needs to be an additional "end" added to the code, to close the loop created by having the if/then bit. The entire section should look like this-
local function onCalcMoveSpeed(e) if (e.reference == tes3.player) then e.speed = e.speed * (config.modifier / 100.0) end end
Speed 200% = everyone in Morrowind is on a caffeine high!
I know it would complicate your code and MCM, but I think it'd make the mod more useful if it had a checkbox to make the calculation use a logarithmic scale so that with an MCM setting of 100%, when the player hits 100 speed, they are ~= to vanilla speed at that level. But they would be faster at lower levels.
7 comments
Would it be possible to do something like this, but only for the player?
I was able to do it myself by adding "if (e.reference == tes3.player) then" to the main lua file. Thank you very much for your mod :)local function onCalcMoveSpeed(e)
and here:if (e.reference == tes3.player) then
if (e.reference == tes3.player) then
local function onCalcMoveSpeed(e)
but neither worked for me!
There needs to be an additional "end" added to the code, to close the loop created by having the if/then bit. The entire section should look like this-
local function onCalcMoveSpeed(e)
if (e.reference == tes3.player) then
e.speed = e.speed * (config.modifier / 100.0)
end
end
I know it would complicate your code and MCM, but I think it'd make the mod more useful if it had a checkbox to make the calculation use a logarithmic scale so that with an MCM setting of 100%, when the player hits 100 speed, they are ~= to vanilla speed at that level. But they would be faster at lower levels.