project-navigation
Personal tools

Author Topic: Show Radar Coverage when making new bases.  (Read 3553 times)

kable

  • Guest
Show Radar Coverage when making new bases.
« on: September 18, 2006, 02:27:23 pm »
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: [Select]
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. ;)

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Show Radar Coverage when making new bases.
« Reply #1 on: September 19, 2006, 12:38:41 am »
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...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Show Radar Coverage when making new bases.
« Reply #2 on: September 20, 2006, 08:15:56 am »
it's in trunk now
thank you

HighXplosive

  • Guest
Show Radar Coverage when making new bases.
« Reply #3 on: September 20, 2006, 10:38:41 pm »
RC 5 is coming out already?!

Have you fixed multiplayer ^^ ?