Difference between revisions of "Talk:GEODATA.DAT"

From UFOpaedia
Jump to navigation Jump to search
Line 1: Line 1:
 
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? [[User:Hatfarm|Hatfarm]] 17:53, 26 June 2010 (EDT)
 
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? [[User:Hatfarm|Hatfarm]] 17:53, 26 June 2010 (EDT)
 +
 +
----
 +
 +
Each map module has a [[ROUTES|RMP file]] that goes with it. This lists all the nodes which are used for spawning units on the map, and also 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 of a normal "terrain" RMP file should be used for each map module (I know both are never used).
 +
 +
There are problem with this is that a 5x5 map (the largest on which craft can appear within UFO:EU) would only require 25 bytes. 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). - [[User:Bomb Bloke|Bomb Bloke]] 20:30, 26 June 2010 (EDT)

Revision as of 00:30, 27 June 2010

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 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 of a normal "terrain" RMP file should be used for each map module (I know both are never used).

There are problem with this is that a 5x5 map (the largest on which craft can appear within UFO:EU) would only require 25 bytes. 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)