I hided some big hotels + LODs + fences. All that was part of it.
Unfortunately, the game now goes crazy in that area ...
https://youtu.be/7lhFcj3NIX4
How can I avoid this ? Tried to hide the objects via both ways (xml and function) but the same thing happened.
It's normal, game's optimization. The game "think" objects is still here and hiding everything over this object. You can't chage it.
Actually possible you can fix it :)
You need to hide everything at backround and re-add it with a bit anothers coords.
I was also thinking about removing the whole map (via hidevicecity.txt), and re-adding it. In this way I can hide what object I want.
(also, such weird things should not happen anymore)
But I'm wondering if the interior switching will still work...
I guess I will try it out, and come with an edit. :)
It's caused by occlusion boxes, which were designed to optimize rendering by immediately excluding buildings from rendering when there was some big building blocking the view.
Hiding the entire map does disable occlusions, but it also disables interior switching.
Oh, right. Totally forgot about them.
For the one who has no idea about how occlusion boxes look like:
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fb5uQhv0.png&hash=73bed6ebad4b77d123c9ace858fb225c3f557d32)
Too bad interior switching won't work anymore...
I just did hidevicecity.txt and re-added everything back.
After a few fixes (of interiors), map is 99% like before.
But I discovered something interesting: traffic lamps doesn't get the "live" shadow anymore.
This means it is not attached to the object.
Can you give more details,
@maxorator ?