Rendering, logic, and loading time optimizations for both client and server versions of Valheim. You can use the mod on either the server or the client, or both, it should work regardless.
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
Fixed pickable objects sometimes not visually appearing as regrown
Fixed camps never respawning enemies within them
Version 0.7.5
Jotunn is no longer required to use the mod Fixed more EffectArea errors
Version 0.7.4
Fixed crazy spawnrates Fixed being unable to breed animals ValheimRaft compatibility (at the cost of performance) Fix errors after logging out/quitting
Version 0.7.3
Another attempt at fixing the roof checks
Version 0.7.2
Fixed the 'Collection was modified' error Potential fix for leaking roofs
Version 0.7.1
Fixed snow storm particles appearing inside buildings Fixed being unable to sleep Fixed other related AOE effects not working
Version 0.7.0
Optimizations for structural integrity New object pooling system for build pieces - less lag when entering bases New smoke rendering solution - less lag rendering smoke puffs Snow storms no longer tank fps Fixed grass not appearing in the main menu Fixed objects spawning at 0 0
Version 0.6.1
Fixed an incompatibility with BetterWards causing mobs inside the ward radius to flee Fixed the GPU being invoked on the server causing an exception at startup
Version 0.6.0
Optimized rendering of build pieces with straw materials Rewrote the threaded terrain collision baking to use all cores (enable it in the config) Fixed incompatibility with ValheimRAFT Fixed crash when only terrain collision baking was enabled
Version 0.5.2
Fixed picked-up objects respawning upon relog
Version 0.5.1
Fixed certain objects disappearing
Version 0.5.0
Object pooling makes loading vegetation in new and old chunks much smoother
Version 0.4.2
Fixed incompatibility with EpicLoot
Version 0.4.1
Fixed optimized terrain disappearing upon relogging
Version 0.4.0
Threaded terrain collision generation Threaded world loading Smoke rendering performance improvements Small memory allocation and performance improvements for chunk generation
ValheimPerformanceOptimizations [H&H Compatible]
Rendering, logic, and loading time optimizations for both client and server versions of Valheim.
You can use the mod on either the server or the client, or both, it should work regardless.
New object pooling system for build pieces - less lag when entering bases
New smoke rendering solution - less lag rendering smoke puffs
Snow storms no longer tank fps
Fixed grass not appearing in the main menu
Fixed objects spawning at 0 0
Rest of the changes can be found in `CHANGELOG.md`
Features
New object pooling system for build pieces - less lag when entering bases
New smoke rendering solution - less lag rendering smoke puffs
Snow storms no longer tank fps
Various optimizations for GPU rendering
Multithreaded terrain loading
Much faster loading times
Various improvements to AI
Optimizations for structural integrity
Stats
5-12 ms faster GPU render times in bases (3 fps without the mod -> 17 fps with)
General game stability improvements - less stutters in bases
20+ seconds faster world loading times, especially for big worlds (excluding the first launch)
Less stutters when loading new terrain
General game logic performance improvements (no concrete data on framerates)
Configuration
The mod config is stored in the `dev.ontrigger.vpo.cfg` file. Most optimizations done by the mod do not affect the gameplay in any way, however some of its optimizations might cause compatibility issues with other mods.
Threaded terrain collision baking
If enabled terrain is generated in parallel, this reduces lag spikes when moving through the world. If you see terrain disappear, please report it on github, disabling this option will likely fix the issue.
Object pooling
If enabled vegetation objects are taken from a pool, instead of creating and destroying them everytime. This greatly increases performance when generating new terrain. If you notice some objects becoming invisible, please report it on github, disabling this option will likely fix the issue.
Manually compiling the mod
In order to manually compile the source code of the mod, create a file called `Environment.props` inside the project base and change the Valheim install path to your location.
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <!-- Needs to be your path to the base Valheim folder --> <VALHEIM_INSTALL>E:\Steam\steamapps\common\Valheim</VALHEIM_INSTALL> </PropertyGroup> </Project>