Difference between revisions of "TACTICAL.EXE"

From UFOpaedia
Jump to navigation Jump to search
m (Well got 2 offsets known...)
(moved weapon stats from geoscape.exe, reformatted table)
Line 1: Line 1:
{{STUB}}
+
'''NOTE:''' In the Windows CE version this is combined with [[GEOSCAPE.EXE]] into one executable called ''UFO Defense''
  
Working on compiling all the info known on this Executable. For now [[Talk:TACTICAL.EXE|see the discussion page]] [[User:Pi Masta|Pi Masta]] 19:19, 9 February 2007 (PST)
+
= Weapon Stats =
  
Known offsets:
+
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. 
  
0x5F86E - Tank Stats (20 Bytes each, ended with 2 - 0 bytes before english2.dat lookup)
+
* '''0:''' Damage Type
0x5F910 - obdata index to english2.dat lookup (2 bytes each, data is the index to english2.dat (or german2.dat, etc)
+
* '''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:
 +
{| {{StdCenterTable}}
 +
|- {{StdDescTable_Heading}}
 +
!align="left"| Unit !! Damage Type !! Ammo Type !! Damage !! Snap Acc. !! Snap TU's !! Auto Acc.
 +
! Auto TU's !! Aim Acc. !! Aim TU's !! Blaster Eff?
 +
|-
 +
|align="left"| [[Tank/Cannon]]          || 0 || 4  || 60  || 60 || 33 || 0  || 0  || 90  || 80 || 0
 +
|-
 +
|align="left"| [[Tank/Rocket Launcher]] || 2 || 12 || 85  || 55 || 45 || 0  || 0  || 115 || 75 || 0
 +
|-
 +
|align="left"| [[Tank/Laser Cannon]]    || 3 || 17 || 110 || 50 || 33 || 0  || 0  || 85  || 75 || 0
 +
|-
 +
|align="left"| [[Hovertank/Plasma]]    || 4 || 36 || 110 || 86 || 30 || 0  || 0  || 100 || 60 || 0
 +
|-
 +
|align="left"| [[Hovertank/Launcher]]  || 2 || 40 || 140 || 0  || 0  || 0  || 0  || 120 || 80 || 1
 +
|-
 +
|align="left"| [[Celatid]]              || 7 || 38 || 140 || 75 || 30 || 0 || 0  || 110 || 60 || 0
 +
|-
 +
|align="left"| [[Cyberdisc]]            || 4 || 34 || 130 || 75 || 30 || 0  || 0  || 110 || 60 || 0
 +
|-
 +
|align="left"| [[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)
 +
** See the [[Talk:TACTICAL.EXE|discussion page]] for more details
 +
 
 +
[[Category:Game Files]]

Revision as of 19:24, 14 March 2007

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)