Towns Files

 
 
 
 
 
 
 
"towns".ult Files Description
by Xenerkes Dragon

Size : 4648 bytes, fixed format for each town

Info : Town Map is a 64x64 tiles grid and in each town live 32 characters
 
 
 

File Description
Offset
Length
Description
Misc
0x0000
4096 bytes
Towne Map Definition
1 byte=1 tile (tile number should be divided by 4), first 64 bytes for the first line, next 64 bytes for the second line,..
0x1000
variable
Address of text beginning for each signs (max of 8), 2 bytes per adress
Address is given from 0x1000
ie: 10 00 means that the text of the first sign begins at adress 0x1010
...
variable
Texts people have to say (max of 8)
 
0x1180
32 bytes
Tile number of each character
number has to be divided by 4
0x11A0
32 bytes
Tile number of floor under each character
 number has to be divided by 4
0x11C0
32 bytes
X Position of each character
 
0x11E0
32 bytes
Y Position of each character
 
0x1200
32 bytes
Walkability (byte/16) and Dialogue Number (byte%16)
first half:  0:  can walk / 4 : can't walk
$80 : merchant $C0: attack Avatar
Second half of byte give the number of the sentence he has to say
still unknown: $85,$86
0x1220
7 bytes
still unknown
 

 Ultima is a trademark of Origin Systems, Inc. Much of the artwork and music found on this site are copyright Origin Systems, Inc. All contents of this site are copyright © Xenerkes Dragon, 2000. All rights reserved.

1