Talk:GEODATA.DAT

From UFOpaedia
Jump to navigation Jump to search

What does "This is the RMP (or LZ depending on how you look at it) flag. It says if the craft or ground RMP file is used." for offsets 37-83 mean? Hatfarm 17:53, 26 June 2010 (EDT)


Each map module has a RMP file that goes with it. This lists all the nodes which are used for spawning units on the map, and also are used by patrolling aliens.

When the battle begins, all of these nodes are compiled together into one table (which gets dumped into ROUTES.DAT if you save the game). It's possible to view all these points in my battlescape editor by tapping the D button a few times. By comparing offsets 69 and 70 of a given alien's UNITREF.DAT record, it's even possible to get some idea as to where that alien is "going".

Anyway! With all that in mind, craft (both X-COM and alien) have their own route node tables. I guess what Blade is trying to say is that these 29 bytes form a table that indicates whether a craft or a normal "terrain" RMP file should be used for each map module (I know both are never used).

The problem with this is that a 5x5 map (the largest on which craft can appear within UFO:EU) would only require 25 bytes (well, 25 bits really, but let's assume the devs were lazy). A 6x6 craft map is possible in TFTD and would require 36! But assuming Blade is right, altering these values prior to Battlescape Map Generation should affect the resulting ROUTES.DAT file if you save the resulting battle (though they'd have no affect on anything once the battle begins). - Bomb Bloke 20:30, 26 June 2010 (EDT)


No, 36 bytes. Only way to get 29 bytes is subtract the hexadecimal offsets as decimal. -- Zaimoni, 19:52 June 26 2010


Whoops! - Bomb Bloke 21:49, 26 June 2010 (EDT)


That makes sense, thanks again! Hatfarm 22:15, 26 June 2010 (EDT)


We're all wrong, it was 46 bytes... Though that in itself was also an error, and also my fault. All fixed up now. ;) - Bomb Bloke 02:21, 28 June 2010 (EDT)