arx-insanity / ArxLibertatis

Cross-platform port of Arx Fatalis, a first-person role-playing game
https://arx-libertatis.org/
GNU General Public License v3.0
3 stars 0 forks source link

Difficulty #35

Open meszaros-lajos-gyorgy opened 1 year ago

meszaros-lajos-gyorgy commented 1 year ago
Gussak commented 9 months ago

may be, the difficulties could be configured as "difficulty options".
we could have std::getenv("ARX_DIFFICULTY_HP_REGEN") == 0.01f #means, it will regen only 1% of vanilla, so the player can tweak it the way he wants.
it would initially be environment variables, but later they could be implemented in the options menu (that I guess demands much more effort right?) so we can have new features faster, and players can just help each other sharing configs/presets with these precisely tweaked variables.

the same for mana regen.

now hunger (and thirsty) could be based on the actions we perform, like in each action has a weight influence on how much food and water is spent, could be like, spend (these below would be multipliers to some base value): not moving = 0.01/s walking = 0.1/s stealth moving = 0.17/s sprinting = 0.25/s jump = 0.25 each jump melee attack small weapon = 0.15 each melee attack big weapon = 0.3 each shoot arrow = 0.1 each cast weak spell = 0.07 each cast strong spell 0.15 each