Project Zomboid

Project Zomboid

235 betyg
Speed Framework
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
20.180 KB
3 mar, 2023 @ 14:35
10 jun, 2023 @ 6:11
4 ändringsnotiser ( visa )

Abonnera för att ladda ner
Speed Framework

I 3 samlingar av Tchernobill
PZ Build 41
27 artiklar
Taste of Vanilla B41
35 artiklar
Modder Tools
5 artiklar
Beskrivning
Allows other mods to change player speed.

How to change a player speed
You need to call the following code when you want to change the speed:
SpeedFramework.SetPlayerSpeed(player, speedModifier)
player must be a valid IsoPlayer object.
speedModifier is a gain: 0.5 will half your speed. 2.0 will double your speed. nil will deactivate.

Mods based on this
Note that only one of them can be active at a time.

Ask for permission[theindiestone.com]
This mod can only be added to and extended with the express permission from the original creator. Having received permission, credit must be given to the original creator, both within the files of the mod and wherever the mod roams online.

If no permission is received you may not alter the mod.

You wanna support? A nice word is always welcome. Constructive feedback too. Else you can
[ko-fi.com]

Workshop ID: 2941768575
Mod ID: SpeedFramework
31 kommentarer
듀파 11 nov @ 8:05 
@Tchernobill thank you >_
Tchernobill  [skapare] 10 nov @ 4:34 
@듀파 no this would create mods incompatibilities
듀파 10 nov @ 3:22 
Can i get permission to add this to a mod so that i dont require it to minimize the dependencies . If its ok. I wil also give you credit.
i'll also reveal the source of the original creator outside and inside.
Eidzoku Makura 1 aug @ 2:06 
@Tchernobill how can I contact you? I want to use this framework in my mod
RedChili 28 mar @ 5:46 
Hell yeah dude, thank you so much!
Tchernobill  [skapare] 28 mar @ 5:23 
@RedChili this is part of TchernoLib B42
RedChili 28 mar @ 5:19 
Hey, I would love to use this framework in a mod for b42, and all it takes for your mod to work is to put it in the b42 folder. If you could make this small change it would save me so much headache and I would be extremely grateful! Or if you allow me to copy the MovePlayer.lua and SpeedFramework.lua directly to my mod with credit given to you in several places.
Lucasif 15 feb @ 19:39 
Any chance this is scheduled to be updated to B42?
Josko 23 aug, 2024 @ 13:27 
Hello! I have been using this framework to create a trait that increased player speed by 2.0 if running or sprinting and then set it to 1.0, the only problem I have is that when I set it to 1.0 it will force everything to use that speed right? Even Shoes speed mod? If that is the case, is there another way to do it?
Tchernobill  [skapare] 8 aug, 2024 @ 15:00 
@Monkey hello fellow modder. shoes speed do not work without mod in b42. see Shoes speed mod