Project Zomboid

Project Zomboid

Fitness & Workout Overhaul
Codename280  [开发者] 2023 年 3 月 5 日 上午 7:42
FWOFitnessWorkoutOverhaul XP Multiplier Explained
InitialPerkBonus
Take the inital perk bonus into account (75% 100% 125%)",
XPMultiplier * 1.75

currentExerciseRegularityBonus WHILE TRAINING
Get a bonus for the current excercise depending on the regularity
XPMultiplier + Liniar calculation of regularity current excercise
RATE = for a rate of 12, at regularity 100 you would get x12 multiplier
OFFSET = will offset the starting position -> offset 20 would mean '20' is the new zero point for the instersecting liniar line. resulting in a lower max. and negative values on everything below 20
(this simulates being bad/learning an excercise or the initial start up period a training regime would have)

AverageExerciseRegularityBonus
XPMultiplier + AverageExerciseRegularity * Sandbox.AverageExerciseRegularityBonus)

LevelBonus
XPMultiplier + perkLvl * Sandbox.LevelBonus

SpaceOutExercise WHILE TRAINING
exercised within 2 to 8 hours ago = XPMultiplier * 0.9
Fully rested = XPMultiplier * 1.4

RestedBonus
Stiff = XPMultiplier * 0.9
not Stiff XPMultiplier * 1.5

XPMultiplier
XPMultiplier * Sandbox.XPMultiplier
< >
正在显示第 1 - 11 条,共 11 条留言
Chadders 2023 年 3 月 6 日 上午 6:53 
Thanks for this, it's very helpful. So essentially to cap the xp multiplier I can change RATE, whereas the OFFSET applies to the regularity bonus...so on default 20, you'd have to achieve a regularity of 20 to break even and only seen bonus multiplier beyond this number?
Codename280  [开发者] 2023 年 3 月 6 日 上午 7:19 
spot on. here is an other example as reference

offset

20
rate
12
regularity
bonus
0
-2.4
10
-1.2
20
0
30
1.2
40
2.4
50
3.6
60
4.8
70
6
80
7.2
90
8.4
100
9.6
最后由 Codename280 编辑于; 2023 年 3 月 6 日 上午 7:20
Chadders 2023 年 3 月 6 日 上午 7:24 
Nice, thank you
Codename280  [开发者] 2023 年 3 月 19 日 下午 1:41 
Note A EXCEL has been added in the mod folder to play around / test your values
Bostson 2023 年 9 月 11 日 上午 5:48 
can you explain the "spaceour" and "rested" negative multipliers
Bostson 2023 年 9 月 11 日 上午 5:50 
Is it possible to set a setting that makes the spaced out exercise to be 48 hours?

if I don't space out exercises I would like to also gain very little exp, because we can't simulate injuries from over-using the joints

so the best thing I can do is that
HUNTAROH! 2024 年 12 月 16 日 上午 12:56 
Hi, nice work on the mod ;)

I looked at the excel in the mod folder, there was an error in the calculation of average exercise regularity, which is easily fixable by replacing anything that does not refer to the average exercise regularity coloumn (H) with H6 for burpees.

Then I have to say, that I was pretty confused by the initial perk bonus setting. I just tested it in vanilla: It doesn't matter if I have no bonus, 75% or 125%, I always get 4,8 strength exp and 3,2 fitness exp per burpee. I guess the displayed bonus is bugged and not in effect. With your mod 4,8 and 3,2 exp are also the possible minimum, the modifier can only add to that value.
In debug mode the modifier for strength 0 is shown as 50% not 0%, strength 1 has 75%, strength 2 has 100% and strength 3 or more gets 125%.
In vanilla the actual modifier seems to be disabled and set at 100%. So my suggestion is to disable the initial perk bonus setting by default. Your mod enables a feature, that is not even in the game, it seems and affects only players who start with 0-2 strength. For everybody else it's always +125% (225%) if this setting is enabled.
最后由 HUNTAROH! 编辑于; 2024 年 12 月 16 日 上午 1:36
k4Qu 2 月 17 日 上午 7:37 
so if i just want the features and not the balancing options what do i do?
Hello, I have some confusion on what the "InitialPerkBonus" is from? What determines the the 75%, 100% or 125% XP rates? So far every character I've made no matter the job or the traits just has a maximum XP bonus for fitness and strength 1-10. I've made a Chef with Puny and Unfit and still get 125% XP when I would think it's suppose to be 75% with those traits.

Actually I'm not sure if it's conflicting with something else. It seems like no matter what settings I put in the sandbox I show XP boost for fitness and strength, or is that normal and it's just showing that and mod is doing it's thing in the background regardless of what it shows on skill menu? I seem to gain fitness and strength really fast though so thinking it's actually boosted.
最后由 I Wear My Ukelele At Night 编辑于; 5 月 24 日 上午 3:39
Codename280  [开发者] 6 月 15 日 下午 12:53 
Its been a while, but it definitely worked as intended on release otherwise It would nog be in there. Maybe a conflict or update broke it ?
I would have to do a bunch of tests to try replicate.

Reading Homtaros comment i might need to investigate.

The idea was to indeed use the set percent for fitness as it does for all other skills. But maybe thats not what's happening... Tbd
Codename280  [开发者] 6 月 15 日 下午 12:55 
引用自 k4Qu
so if i just want the features and not the balancing options what do i do?
Thats why the mod comes in 2 parts.
1 to actually use the equipment and
1 that adjusts the xp systems etc.

Or do you mean something else..
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50