Ultima 9 npc.flx file format ============================ Revision 1.00 7th Jan 2002 Npc.flx contains one entry, which itself is divided into 352 "NPC Data Chunks", each 316 bytes long. Each of these chunks is for a different npc. NPC Data Chunk -------------- 1,0,4,14,Unknown; 2,4,32,13,NPC Name; 3,88,4,14,Map Number; 4,92,4,13,x coordinate; 5,96,4,14,y coordinate; 6,100,2,13,z coordinate; 7,52,2,4,current health level; 8,54,2,4,maximum health level 1; 9,56,2,4,maximum health level 2; 10,58,2,9,current mana level; 11,60,2,9,maximum mana level 1; 12,62,2,9,maximum mana level 2; 13,36,1,8,gender? (1=female, 0=male); 14,38,1,5,combat related?; 15,37,1,3,?; 16,68,4,2,combat AI; 17,196,4,2,combat music(0x200 =undead, 0x10 =boss); 18,176,4,5,standing/walking animation(8=human,1d=garg); 19,200,4,3,some values cause speech to disappear?; 20,108,1,6,x scaling factor; 21,109,1,6,y scaling factor; 22,110,1,6,z scaling factor; 23,226,2,8,???; 24,228,2,8,????; 30,140,28,1,Break?; (Sorry about the weird format, for the time being I've just copied and pasted this out of my npc.flx editor. basically first number can be ignored [just an index for my program], second number is offset in chunk, third is size, fourth can be ignored [just colour for program] ) Written by John Larcombe aka TumbleWeed Dragon tumble_weed@hotmail.com http://www.iinet.net.au/~larcombe