UFO:Alien Invasion
General => Discussion => Topic started by: kable on September 18, 2006, 02:27:23 pm
-
I saw this post (http://ufo.myexp.de/phpBB2/viewtopic.php?t=268&highlight=show+radar) and decided to give it a go.
(http://img80.imageshack.us/img80/5452/radarcoverageab7.jpg) (http://imageshack.us)
I moved out the code to draw the radar radius during an interception to a new function:
void RADAR_DrawCoverage(const menuNode_t* node, const radar_t* radar, vec2_t pos);
I then added a call to the switch for the menu message in the map drawing routine, so that the coverage is drawn when creating a new base.
Here's a zip archive with the changed files and a diff:
http:///darkwax.co.uk/kable/ufoai/radar_coverage.zip
P.s. should radar coverage really get so big when you have 3 stations? I think it might be better if coverage area is increased by a set amount each time a new station is added, otherwise there is no motive to build radar at other bases... you can get much better coverage just building many stations at one. ;)
-
Thank you very much. We are just releasing RC5, so it's too late to get this in, but surely someone will merge it soon to the trunk...
-
it's in trunk now
thank you
-
RC 5 is coming out already?!
Have you fixed multiplayer ^^ ?