Open Histidine91 opened 6 years ago
Check how this works with luaui (and luarules?) disabled. Lua can draw the model on its own even past icon zoomout (check out the commander red/blue morph effect for instance) so perhaps some sort of this effect could be causing this.
The simple solution would probably be for LOD distance to be tied to icon distance.
ico dist 150, LOD 9999(default) and no matter how long i scroll down - all units are drawn in 3d and in 2d icons.
Engine source says iconized units are not drawn: https://github.com/spring/spring/blob/maintenance/rts/Rendering/UnitDrawer.cpp#L562
~~Does the user have default settings? There are widgets that override disticon
with hueg values and draw icons on top of models on their own:
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/gui_icontransition.lua
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/gui_iconheight.lua~~
After asking it looks like he has these two disabled.
User Goo on Discord describes the following issue:
So we have two layers of problem here:
unitIconDist
.