General > Discussion

Show Radar Coverage when making new bases.

(1/1)

kable:
I saw this post and decided to give it a go.  



I moved out the code to draw the radar radius during an interception to a new function:


--- Code: ---void RADAR_DrawCoverage(const menuNode_t* node, const radar_t* radar, vec2_t pos);

--- End code ---


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. ;)

Bandobras:
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...

Mattn:
it's in trunk now
thank you

HighXplosive:
RC 5 is coming out already?!

Have you fixed multiplayer ^^ ?

Navigation

[0] Message Index

Go to full version