Page 2 of 2

Posted: 06 Sep 2006, 17:03
by Argh
That'd be pretty easy to do, yeah. Someone write us a patch!

Oops, that's not my line anymore :oops:

Posted: 01 Mar 2007, 00:20
by pktm
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