Game lag due to landscaping

Just a quick question to see if they've changed anything in regards to this issue. I only found out about it during the initial release month because I tried to build a large canal and was thwarted by the fact the land can only be lowered 8 (?) units FROM THE SURFACE OF THE LAND (?!). The lag was annoying.

I'm not mad about that anymore, but do we still have lag issues from large scale landscaping?
2:13 am, August 8, 2021
Stabbity 0 comments 0 likes

>< V >< replied to Game lag due to landscaping August 7, 2021 @ 9:13:34 pm PDT

I'm pretty sure the "optterrain" command is irrelevant if you started a new game on the latest patch. The "optterrain" was to implement and optimize terrain on worlds with old saves that weren't affected by the optimize terrain patch. If you started a game on the latest patch, then "optterrain" will do nothing.
5:13 am, August 8, 2021
0 comments 0 likes

Weaver replied to Game lag due to landscaping August 7, 2021 @ 6:23:09 pm PDT

yes at some point changes in any one area will add up and cause lag. if its an early world you are on you should enable console commands (Find Valheim in your games Library and right click on it. Select Properties to open up the options. In the General tab, enter “-console”) and preform "optterrain" command in any area you've done major landscaping in and it will attempt to optimize the changes to the new more performance friendly system.
In any area you can hit f2 and look at "active instances". this is basically all the objects locally the game has to keep track of, including terrain modifications. People can start having lag at anywhere from 10k-20k depending on their system specs, so you can use it as a rough idea of where you should stop building/landscaping in any given area before it causes you too much loss of framerate.
Also multiplayer will always be lower performance, and can be more so depending on the specs the server is being run on.
2:13 am, August 8, 2021
0 comments 0 likes