Gothic II: Gold Classic

Gothic II: Gold Classic

38 ratings
zScaleFightRange
   
Award
Favorite
Favorited
Unfavorite
Type: Addon
Category: Utility
File Size
Posted
171.639 KB
10 May, 2023 @ 1:35pm
1 Change Note ( view )

Subscribe to download
zScaleFightRange

Description
This is a plugin that fixes fight range for NPCs that have scaled model.

In vanilla game, NPCs with changed model scale via Mdl_SetModelScale function for example have changed model and hitbox but not the fight range, that is defined in guilds table. The plugin adjusts the fight range via hooks, so it's safe to add or remove at any point in the game. The range of NPCs is multiplied by the z scale, the length of the model.

A Giant bug monster with scale set to Mdl_SetModelScale(self,0.4,0.4,0.35):
  • In vanilla would have whopping: 240 range (120 base range + 120 fist range)
  • With this plugin, it would be: 84 range

This work on larger NPCs as well, so NPCs with larger scale, will no longer have to walk into you in order to hit you, their range is multiplied the same way.

This plugin does not scale the range of an equipped weapon, so for example range of goblin itself will be scaled but the range of his weapon not.

Plugin has some settings that can be changed via ingame menu.

Version for Gothic 1
Source code and detailed description on GitHub[github.com]
7 Comments
Gi-Go 7 Aug, 2024 @ 5:28am 
would you recommend this mod to a veteran? i'm not looking for a difficulty decrease but proper range seems like something worth checking out. which enemies get their range increased instead of decreased?
Franisz  [author] 27 Jul, 2024 @ 11:32pm 
Monsters are just a type of NPCs.
Lichgate 27 Jul, 2024 @ 10:55pm 
I'm confused. You're using the word "NPC" (non-player character) but in the thumbnail and in the example there is a field raider - a monster, not NPC. I'll just assume it affects both.
Franisz  [author] 15 Feb, 2024 @ 10:28pm 
This plugin only adjusts NPC range, so I doubt it's the reason. And for reporting issues, is GitHub.
DamianQ 15 Feb, 2024 @ 3:40pm 
I blame this mod for my nightmare experience in Gothic lately :KEKW: I didn't test the game without it yet, but with this present the enemies skip animations when both hitboxes get into one another (Player and Enemy) and attack much faster than they should.
Franisz  [author] 27 Dec, 2023 @ 8:05am 
The plugin ensures that the combat range of scaled NPCs is proportionate to their model size, providing a more realistic and balanced experience. It just feels natural and how it's supposed to be.
Metam0q 27 Dec, 2023 @ 3:12am 
does this make the game noticably easier?