Page 1 of 1

new Devices ... attention

Posted: Mon Aug 16, 2004 9:38 am
by Arkady
Hi,
if you create new Device (weapon) and want it use by ship/ship class or aircraft be sure that it is in slot 1 to 255 only !

Of course you can select all devices in original editor but in database file is reserved for each device slot only 1 byte.

If you select device with ID greater than 255, then value stored by editor is counted again from 0, eg 256 = 0, 257 = 1 etc

Locations(bases, LCUs) can use all devices, they use 2 bytes per device slot.


Arkady

RE: new Devices ... attention

Posted: Mon Aug 16, 2004 10:08 am
by Mr.Frag
Odds are that the weapon type is factored with a starting offset value to look at the right location. Pretty common way of doing things. I've asked just to be sure but thats what was done with TF's so it would seem logical that the same was done here.