new Devices ... attention

Please post here for questions and discussion about scenario design and the game editor for WITP.

Moderators: wdolson, Don Bowen, mogami

Post Reply
User avatar
Arkady
Posts: 1261
Joined: Fri May 31, 2002 1:37 pm
Location: 27th Penal Battalion
Contact:

new Devices ... attention

Post 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
Image
User avatar
Mr.Frag
Posts: 11195
Joined: Wed Dec 18, 2002 5:00 pm
Location: Purgatory

RE: new Devices ... attention

Post 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.
Post Reply

Return to “Scenario Design”