Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Union SDK Gothic Modding Community DisableCameraZoomOnNumpad.patch by fyryNy
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 2.2
rebuilt the .dll in MD Release mode
Version 2.1
high spawn range increased from 3000 to 3500
set high range after every game save/load
throttle autoregulation to low range (do it not more than once for each 5 seconds)
Version 2.0
expanded FPS autoregulation by sight range and vob spawn range
In Gothic, GD3D11 renderer improves the performance a ton, but spawn range (SPAWN_INSERTRANGE & SPAWN_REMOVERANGE) is still one of the biggest drains on FPS. Even if the game runs smoothly for most of the time, there are certain locations which are notorious for FPS drops. They all have one thing in common: many NPC in one place. This mod automatically adjusts the spawn range to find the perfect balance between FPS and NPC/monsters view range. You can adjust it manually during gameplay using the "+" or "-" keys on the numpad, though the automated optimization means you won't need to make frequent adjustments (if any).
Theory: High (far) spawn range = more NPC in your sight = less FPS. Low (close) spawn range = less NPC in your sight = more FPS. Particularly helpful in locations aggregating many NPC in same place, like cities.
How it works in practice? If your FPS drop below 50, spawn range automatically decreases to 1500/2000. If your FPS recover above 90, spawn range increases back to 3500/4000. Between 50-90 FPS nothing happens to prevent NPCs from constantly re-appearing in loop (since decreasing spawn range increases FPS, it would increase spawn range and decrease FPS and that would again decrease spawn range, etc.)
If you're not using GD3D11 renderer for any reason, on LegacyAltRenderer or vanilla renderer zVobFarClipZScale and sightValue seem to have the greatest impact. In that case, below 50 FPS they will be automatically decreased to middle values. Above 90 FPS they will be automatically maxed out.
There are limitations with manual controls: - You can't go above 6000 spawn range - You can't go below 1000 spawn range - On high FPS (90+) you can't go below 3500 spawn range
The default spawn range is 4500, but IMO 3500 is more than enough. If you struggle with FPS it's worth the drawback. 1500 is a bit on the short side but feels fine to use in cities, as we rarely need to see every NPC at the same time. In wilderness FPS usually improve, so spawn range should automatically increase back to 3500 there.
Should be compatible with any mod. Gives better results on GD3D11 renderer.
Credits Special thanks to fyryNy for DisableCameraZoomOnNumpad.patch and manual controls.