Gothic II: Gold Classic

Gothic II: Gold Classic

31 ratings
Stamina
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
97.241 KB
Apr 2, 2022 @ 6:16am
Jun 13, 2024 @ 2:14am
2 Change Notes ( view )

Subscribe to download
Stamina

Description
This patch introduces a simple, but highly-configurable stamina (endurance) system. Sprinting, as well as, various actions in melee combat decrease the available breath, that is already familiar from diving (yellow oxygen bar).

Adjustable actions are
  • Sprinting
  • Fist and one-handed and two-handed weapon first hits
  • Fist and one-handed and two-handed weapon combos
  • Fist and one-handed and two-handed weapon blocks

The duration of sprinting and percentage-wise costs of weapon swings, combos and parades for fist, one-handed and two-handed combat are adjustable in the Gothic.ini, or may be disabled entirely. This is especially useful, since some mods already implement a sprint system. Additionally these adjustments allow for full freedom in personal interpretation and preference when it comes to endurance/stamina system in video games.

This patch can make the combat more challenging. It offers no "advantages".

Additional Key-Bindings
V, DOT (.) Hold to sprint (adjustable in the game menu or disabled in the Gothic.ini)

INI Settings
In your Gothic installation in Steam you find a file called Gothic.ini, e.g. C:\Program Files (x86)\Steam\steamapps\common\Gothic II\System\.
Adjustments are available in the Gothic.ini in the section [STAMINA]. After first launch, this section created. The costs for individual swings, combo hits and parades may be adjusted in percentages. This is also the case of the total duration of sprinting in seconds. Individual aspects can be disabled with a value of zero (0). That means, if the sprinting duration is set to 0, this feature is not even initialized. The same goes for the other aspects.

Default Configuration
These are the default settings. These values correspond to 15 seconds of sprint, the first hit of a one-handed weapon cost 18% stamina, every following swing in a combo cost 10% and a parade 8%, and so on. A modified sprint animation is supplied.
[STAMINA] sprintTotalSec=15 supplySprintAni=1 fistFirstHitCost=10 fistComboCost=7 fistParadeCost=4 1hFirstHitCost=18 1hComboCost=10 1hParadeCost=8 2hFirstHitCost=25 2hComboCost=15 2hParadeCost=10

Example Configuration
In order to disable stamina for all combat action change the values to this:
[STAMINA] sprintTotalSec=15 supplySprintAni=1 fistFirstHitCost=0 fistComboCost=0 fistParadeCost=0 1hFirstHitCost=0 1hComboCost=0 1hParadeCost=0 2hFirstHitCost=0 2hComboCost=0 2hParadeCost=0

In order to disable sprinting (e.g. if another mod already supplies it) and to disable stamina cost for weapon blocking, change the values to this:
[STAMINA] sprintTotalSec=0 supplySprintAni=1 fistFirstHitCost=10 fistComboCost=7 fistParadeCost=0 1hFirstHitCost=18 1hComboCost=10 1hParadeCost=0 2hFirstHitCost=25 2hComboCost=15 2hParadeCost=0

You can play around with the values to find your personal preference!

Notes
The patch is based on a simple endurance system that was introduced here: https://forum.worldofplayers.de/forum/showthread.php?t=1558616

Further Information
https://forum.worldofplayers.de/forum/threads/1558617


[ko-fi.com]
13 Comments
mud-freak  [author] Feb 24 @ 1:07pm 
@Pro*GEN not out of the box, but you can use tools like the WorkaroundHelper or MarvinHelper to call the function "Breath_SetRegeneration" and pass a number in milliseconds to adjust the time it takes to regenerate one second of breath (default is 2000 = 2 seconds). You will only need to do that once and the change will stay in your game save. For example, if you use the WorkaroundHelper open the in-game console and type the following to double the regen time: call Breath_SetRegeneration 1000
Pro*GEN Feb 23 @ 2:34pm 
Can we change the regeneration speed, and if so, how?
mud-freak  [author] Feb 21 @ 1:01pm 
@joshua Im Zuge dieses Patches ohne weiteres leider nicht.
joshua Feb 15 @ 1:24am 
Kann man auch irgendwie einstellen in der .vdf, dass die Ausdaueranzeige permanent ist wie in G3 und nicht nur beim Ausdauerverbrauch angezeigt wird? Grüße
mud-freak  [author] Nov 19, 2024 @ 10:10am 
@Offpiombo thanks for the kind words and your suggestions! Some adjustments are possible to match your preferences. However, as you might have guessed from the values, the mod distinguishes between initial hits and combo hits (timed window). This felt more in-line with Gothic's mechanics to reward well-timed attacks (smooth and fast hits).

Adding costs to jumping felt a bit odd. The major issue is that the cost is regenerated for the time spent mid-air, negating its effect completely and rather adding annoying jitter to the filled bar.

I avoided progression to prevent dependence on level, health or other stats that are very diverse in mods. I fear, it would be impossible to strike a good balance that feels right for all mods. Nevertheless, you can adjust costs in the config values at any time, including the consumption for sprinting. This would be necessary to match different mods' unique leveling even if I changed the system.

Hope this helps to explain some design choices :)
Offpiombo Nov 19, 2024 @ 7:08am 
Hi, your mod is amazing and highly appreciated in the workshop. First, congrats on the originality! I wanted to ask if level progression could increase this bar. This would be the underwater breathing stat, right? Could this bar improve with levels, like health? Also, it makes sense that this bar could affect how long you can stay underwater, as stronger characters would have more breath.

Two more things: jumping should use a small amount of stamina (like 3%) since it's a basic action, but less tiring than sprinting. Inspired by games like Skyrim or Dark Souls, where actions have a low but noticeable stamina cost. Also, side attacks (right/left) should consume less stamina than frontal attacks. This could create new tactical options! I'd be happy to support via Ko-fi for the work you do on updates, as long as you're still active on the workshop! Again, congrats on the great mod!
G-Whiz509 Dec 21, 2023 @ 5:50pm 
can anyone get this to work with the zgamepad mod?
mud-freak  [author] Sep 19, 2023 @ 10:43pm 
This sounds like a general problem with the key bindings.
a real monkey Sep 16, 2023 @ 1:31am 
An update to my problem. Seems like sprinting directions works if I use W as forward. Then everything works fine. If I use arrows then right doesn't work. When I play on a laptop, everything works including arrows. What's going on?
a real monkey Sep 10, 2023 @ 1:48am 
I'm playing with keyboard rather than mouse and I can't sprint right. Only left. It's the same as with sprinting elixir. What can I do?