Is it this function from BaseGroundDrawer.cpp?
Code: Select all
void CBaseGroundDrawer::ToggleLosTexture()
{
if (drawMode==drawLos) {
drawLineOfSight=false;
DisableExtraTexture();
} else {
drawLineOfSight=true;
SetDrawMode(drawLos);
extraTex=0;
highResInfoTexWanted=highResLosTex;
updateTextureState=0;
while(!UpdateExtraTexture());
}
}
As evil hack you could implement a control-structure here (directly in this function) which checks against the config(-file?) if los should be drawn permanentely or not and what kind of things should be displayed (los, radar, jammer and so on), but we won't do that. Maybe somone has a propper idea of how to realize it.
Would be great if you could customize that via the LUA-Interface ingame, but i don't know anything about such things, so ppl could choose between los, los+radar, los+jammer via F11 (e.g.).
HTH, pktm