Jump to content
XCOMUFO & Xenocide

Something Interesting 4 The Programmers...


Guest Jim69

Recommended Posts

Guest Jim69
I was lookin at the developer diary for UFO Aftermath when I saw this:

as you know, dear diary, we compose the city missions from blocks. These blocks have pre-computed values of "cover" for each square, i.e., how much a given square is covered from enemy sight (and fire). This calculation is pretty expensive and cannot be recalculated in run-time. Therefore, whenever a wall is knocked down, the aliens will gather there in droves, as no spot is better protected than the one inside a solid structure. Furthermore, squares just behind a wall or in a corner between two walls have high values of cover as well.

Seems a pretty simple way of doing cover, and would make the AI seem much more complicated than it actually is ( which is what AI is about, right? )

u might ave already seen this, just thought I'd show ya just in case.
Link to comment
Share on other sites

Guest Jim69
I would, but I don't have the privilage to post in programming forum, so I wacked it 'ere. If I see ne thing I'll lay it down 4 ya.

Edit: The URL 4 the dev. diary is [url="http://www.ufo-aftermath.com/pages/devdiary10.html"]here[/url]. Edited by Jim69
Link to comment
Share on other sites

×
×
  • Create New...