TACTICAL.EXE

From UFOpaedia
Revision as of 19:24, 14 March 2007 by Pi Masta (talk | contribs) (moved weapon stats from geoscape.exe, reformatted table)
Jump to navigation Jump to search

NOTE: In the Windows CE version this is combined with GEOSCAPE.EXE into one executable called UFO Defense

Weapon Stats

For WinCE, the tank and inbuilt alien weapon stats start at byte 447,868 (0x6D57C), for DOS Tactical.EXE it starts at byte 391,278 (0x5F86E). These are 8 records of 20 bytes each. They're all stored in 16-bit (2 byte) values.

  • 0: Damage Type
  • 1: Ammo Type
  • 2: Damage
  • 3: Snap Shot Acc.
  • 4: Snap Shot TU's
  • 5: Auto Shot Acc.
  • 6: Auto Shot TU's
  • 7: Aim Shot Acc.
  • 8: Aim Shot TU's
  • 9: Blaster Effect

Weapons are in the order listed in this table:

Unit Damage Type Ammo Type Damage Snap Acc. Snap TU's Auto Acc. Auto TU's Aim Acc. Aim TU's Blaster Eff?
Tank/Cannon 0 4 60 60 33 0 0 90 80 0
Tank/Rocket Launcher 2 12 85 55 45 0 0 115 75 0
Tank/Laser Cannon 3 17 110 50 33 0 0 85 75 0
Hovertank/Plasma 4 36 110 86 30 0 0 100 60 0
Hovertank/Launcher 2 40 140 0 0 0 0 120 80 1
Celatid 7 38 140 75 30 0 0 110 60 0
Cyberdisc 4 34 130 75 30 0 0 110 60 0
Sectopod 3 34 100 75 30 50 35 110 60 0

English2.dat mapping

  • 0x5F910 (DOS version) - obdata index to english2.dat lookup (2 bytes each, data is the index to english2.dat (or german2.dat, etc)