Permanent los & mapped map - Page 2

Permanent los & mapped map

Requests for features in the spring code.

Moderator: Moderators

User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

That'd be pretty easy to do, yeah. Someone write us a patch!

Oops, that's not my line anymore :oops:
pktm
Posts: 57
Joined: 05 Aug 2006, 15:49

Post 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
Post Reply

Return to “Feature Requests”