0 of 0

File information

Last updated

Original upload

Created by

korootz

Uploaded by

korootz

Virus scan

Safe to use

Tags for this mod

About this mod

Increases FPS by automatically adjusting vob/sight/spawn rendering range based on your FPS rate. Compatible with and without GD3D11 renderer.

Requirements
Permissions and credits
Changelogs
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.

Showcase video (click for fullscreen)


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.