Project Zomboid

Project Zomboid

235 arvostelua
Speed Framework
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
20.180 KB
3.3.2023 klo 14.35
10.6.2023 klo 6.11
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Speed Framework

3 kokoelmassa, tekijä Tchernobill
PZ Build 41
27 luomusta
Taste of Vanilla B41
35 luomusta
Modder Tools
5 luomusta
Kuvaus
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 kommenttia
듀파 11.11. klo 8.05 
@Tchernobill thank you >_
Tchernobill  [tekijä] 10.11. klo 4.34 
@듀파 no this would create mods incompatibilities
듀파 10.11. klo 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.8. klo 2.06 
@Tchernobill how can I contact you? I want to use this framework in my mod
RedChili 28.3. klo 5.46 
Hell yeah dude, thank you so much!
Tchernobill  [tekijä] 28.3. klo 5.23 
@RedChili this is part of TchernoLib B42
RedChili 28.3. klo 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.2. klo 19.39 
Any chance this is scheduled to be updated to B42?
Josko 23.8.2024 klo 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  [tekijä] 8.8.2024 klo 15.00 
@Monkey hello fellow modder. shoes speed do not work without mod in b42. see Shoes speed mod