ROUTES
Jump to navigation
Jump to search
General Information
Alien route maps (.RMP) for moving around the pre-generated Battlescape terrain blocks.
RMP file structure
- RMP stores the information used by the AI to determine alien patrol routes.
- The size of each RMP file is dependent on the number of route nodes present on that map.
- Each route node uses 24 bytes.
- The first 2 bytes determine the position of the route node inside the map.
- The propose of the next 2 bytes is known.
- Starting on the 5th byte, the data indicates the connections from that node to the others present on the map: the 5th byte indicates the number of the node; the 6th the distance in squares for that node; and the 7th the type of unit that can use that connection (0 = Any, 1 = Flying, 2 = Flying Large, 3 = Large, 4 = Small)
- There are 5 possible connections, and it is stored on bytes from the 5th to 19th.
- The last 5 bytes contain information regarding the type of unit that can use the node: its size, rank, flags (unknown propose); (unknown propose); and spawn.
Files
The files in the /routes directory are:
- AVENGER.RMP (Avenger)
- CULTA00.RMP - CULTA18.RMP (Farm Terrain)
- DESERT00.RMP - DESERT11.RMP (Desert Terrain)
- FOREST00.RMP - FOREST11.RMP (Forest Terrain)
- JUNGLE00.RMP - JUNGLE11.RMP (Jungle Terrain)
- LIGHTNIN.RMP (Lightning)
- MARS00.RMP - MARS10.RMP (Mars (Cydonia) Terrain)
- MOUNT00.RMP - MOUNT12.RMP (Mountain Terrain)
- PLANE.RMP (Skyranger)
- POLAR00.RMP - POLAR13.RMP (Arctic Terrain)
- UBASE_00.RMP - UBASE_15.RMP (Alien Base Terrain)
- UFO1A.RMP, UFO_000.RMP, UFO_010.RMP, UFO_110.RMP, UFO_120.RMP, UFO_130.RMP, UFO_140.RMP, UFO_150.RMP, UFO_160.RMP, UFO_170.RMP (UFO Terrain)
- URBAN00.RMP - URBAN09.RMP, URBAN14.RMP - URBAN18.RMP (Urban Terrain)
- XBASE_00.RMP - XBASE_20.RMP (X-Com Base Terrain)