9.JG27 DavidRed Posted September 11, 2014 Posted September 11, 2014 hey guys today when trying something for a mission, i triggered an explosion on top of a building.it exploded fine, and burned, but the building itself seemed to stay "healthy".only when getting very close to it, all of a sudden the destroyed texture popped in.as soon as the distance increased, the healthy texture was visible again... so i adjusted line 59 in the high.lua and changed nearDistance=560 to nearDistance=10000. this somehow solved the issue, and the destroyed texture stayed visible, but the overall appearance of cities was somehow strange, and also i think it affected my performance... so is there a smarter way of adjusting the range of the destroyed buildings textures? thx in advance
Demon Posted September 12, 2014 Posted September 12, 2014 Yeah, the same goes for almost everything. If you shoot down a B-52 with a tunguska and manage to rip off a wing, you'll notice that the wing only appears gone while zoomed in, while zoomed out it'll look intact.
Teriander Posted September 14, 2014 Posted September 14, 2014 It's part of the L.O.D. (Level of Detail) system. Usually games have about 5 different levels of detail ranges. It appears when your camera has reached a certain distance, the damage LOD is being excluded, but pops on when you come into range of a LOD that accepts damage detail and graphics. It's just a way to help take stress off of your video card, but apparently they need to include the damage model to more levels of detail ranges.
eekz Posted September 15, 2014 Posted September 15, 2014 hey guys today when trying something for a mission, i triggered an explosion on top of a building.it exploded fine, and burned, but the building itself seemed to stay "healthy".only when getting very close to it, all of a sudden the destroyed texture popped in.as soon as the distance increased, the healthy texture was visible again... If it was a scenery object then it happens. I've discovered that there is 2 in 1 scenery objects on the map. In some rare cases the game engine can spawn 2 scenery objects in one place. VIRPIL Controls Servers
9.JG27 DavidRed Posted September 15, 2014 Author Posted September 15, 2014 yes it is a normal building within the default scenery.actually it happened with every building then when i became aware of it... for the destroyed building texture there doesnt seem to exist a simpler lod though.it just switches from beeing destroyed to beeing intact at a distance of i guess 560m, as this is what the high.lua line says i was then adjusting.
Recommended Posts