Project Zomboid

Project Zomboid

Run Modifier Fix
19 Comments
Neo 🦎 20 Sep, 2024 @ 5:08pm 
Awesome thx !!! :peace:
:spiffo:
SHDWFCHRNBL 20 Jun, 2024 @ 11:09am 
Давно ждал такой фикс от разрабов. Анимации в маскхалате страшные правда. Как в киселе бежит) Надеюсь хоть в 42 починят и сбалансируют это. Ставлю Лайк :steamthumbsup::steamthis:
Vic 21 May, 2024 @ 8:34am 
Looks pretty good.
Yummy  [author] 20 May, 2024 @ 5:06am 
@Vic The mod just updated
Yummy  [author] 19 May, 2024 @ 5:23pm 
@Vic Now I understand you, I'll look at the mod in my free time, thanks for the information
Vic 14 May, 2024 @ 2:15pm 
Your mod checks for "bloodLocations" when it wants to check for items worn, this is not actually all the potential things that the player can be wearing and I believe that list is limited compared to "bodyLocations" which seems to have every possible body slot on it.

Navigate to media/lua/shared/NPCs and find the bodyLocations LUA to see what I mean. It has basically all locations documented in it. For most people this is alright because your mod covers a lot of clothing spots which have run speed modifiers, but in the case of things like rings (which don't usually have run speed mods), it wouldn't check. Its a niche issue for people who want to mod in say, enchanted items using jewellery.
Yummy  [author] 14 May, 2024 @ 3:54am 
@Vic What do you have in mind? pls explain in more details
Vic 13 May, 2024 @ 11:44pm 
This was done so I could make an item called a "speed ring" and have it apply the run speed mod for example.
Vic 13 May, 2024 @ 11:43pm 
You can include non-standard items (for potential modders) by using bodyLocations instead of bloodLocations, this is a larger list as far as I can tell and its actually documented in the media files under NPCs. I for example just edited the mod to make it user "or bodyLocations" and defined a few of them and it works fine too.
3lfu84 24 Mar, 2024 @ 12:06pm 
hidden underrated pearl :steamthumbsup: :steamthis:
Yummy  [author] 9 Mar, 2024 @ 4:40am 
@pynoTTV This mod affects all clothes including shoes and modified clothes, the mod you sent adding extra speed at shoes so it's best to use just one mod
pynoTTV 9 Mar, 2024 @ 4:00am 
This mod also affects the modifiers of the shoes right?
I use a mod for that, maybe I better remove it?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2899775865
Yummy  [author] 2 Mar, 2024 @ 8:05am 
@pynoTTV The mod has just been updated, please check and write if the error remains
Yummy  [author] 1 Mar, 2024 @ 7:47pm 
@pynoTTV Thanks for the detailed explanation, I'll take a look
pynoTTV 1 Mar, 2024 @ 10:51am 
I mean that when a character wears a piece of clothing with a modifier and then switches to another one without a modifier (for example, wearing a pair of trainers with x1.1 run speed and then switching to shoes with x1 run speed), it doesn't trigger an update of the final speed. Instead, it retains the last modifier applied other than 1. Relogging resolves the issue and resets the speed correctly. However, not understanding this mechanic could be fatal, while understanding it could be exploitable.
Yummy  [author] 1 Mar, 2024 @ 6:04am 
@pynoTTV I don't quite understand your problem, please explain in more detail.
pynoTTV 1 Mar, 2024 @ 5:37am 
change is only taken when the values are different from 1.0. I can wear trainers with 1.1 modifier and wear boots with 1.0 and still have 10% more speed.
Similarly I can wear something with a modifier of 0.7 and find myself nerfed if I wear something with a modifier of 1.0
Yummy  [author] 20 Jan, 2024 @ 12:42am 
@Sco why shouldn`t?
Sco 19 Jan, 2024 @ 3:56pm 
work? in mp?