Project Zomboid

Project Zomboid

On Your Toes Trait(Combat Stance/Pivot Speed Buff)
6 Comments
Yummy 15 Aug, 2023 @ 9:08am 
@Pigmess @BreakUrSelf fixed and more advanced version https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3020589120
Yummy 10 Aug, 2023 @ 4:02am 
Hey, maybe you will add a negative perk that, on the contrary, will increase the turning speed?
Pigmess 27 Jul, 2023 @ 3:51pm 
Cool mod. Getting a repeated exception though:

Exception thrown java.lang.RuntimeException: attempted index: getModData of non-table: null at KahluaThread.tableget line:1689..

Stack trace:

function: applyTraitEffects -- file: OnYourToes.lua line # 8 | MOD: OnYourToesTrait
function: onTick -- file: OnYourToes.lua line # 32 | MOD: OnYourToesTrait.

Looking at the lua file it appears this happens when (on tick) the mod tries to call applyTraitEffects though I didn't select the perk on my character.

Can you look into fixing this? My friends like the perk but it's generating oodles of logs on the server (one every tick!) making it difficult to debug unrelated issues.
BreakUrSelf 16 Jul, 2023 @ 11:02am 
Oh man... I must say this is just pure gold. Amazing mod! I like that it is a trait, really cool. Would be cool if you could add +1 nimble for it as well and maybe then increase its cost a bit. Also, possible to make a trait that you get up more quickly from sitting position? I know there's a recent mod that does that, but would feel less cheaty if it was a low cost trait for more immersivness :D Thanks!
turnip  [author] 10 Jul, 2023 @ 7:24pm 
It's very hard to implement. There's like 5 different variables that all override and break each other so the hacky way I'm doing it is infinitely multiplying them every tick to counteract that. There might be a better way to do it but I can never notice a difference because its always resetting itself back to base speed. Basically, it's all or nothing, which you can tell is already almost too slow if you put anything other then sneakers on.
Smoker 9 Jul, 2023 @ 4:43pm 
Still hoping for a scale with nimble version please!