<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=60mm</id>
	<title>UFOpaedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=60mm"/>
	<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/Special:Contributions/60mm"/>
	<updated>2026-05-03T09:05:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=OBDATA.DAT&amp;diff=8264</id>
		<title>OBDATA.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=OBDATA.DAT&amp;diff=8264"/>
		<updated>2006-07-15T06:18:53Z</updated>

		<summary type="html">&lt;p&gt;60mm: /* General Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Notes ==&lt;br /&gt;
OBDATA.DAT is found in GEODATA and contains general information on objects found in the game. &lt;br /&gt;
&lt;br /&gt;
There are 80 entries, each of which are 54 bytes long. It is 4,320 bytes long.  It&#039;s line width is 54.&lt;br /&gt;
&lt;br /&gt;
The order of objects in this file is also equal to their offset OBDATA reference number. For example, the first record (OBDATA 0) is the pistol, second record (OBDATA 1) is pistol clip, etc.&lt;br /&gt;
&lt;br /&gt;
There are 33 entries are for corpses, which includes 4 entries (quarters) for large corpses, including tanks. Otherwise there are 41 &amp;quot;object&amp;quot; entries, and 6 obsolete/unused entries.&lt;br /&gt;
&lt;br /&gt;
Values are presented according to offset (0 to 53) in &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Structure ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;0-19:&amp;lt;/b&amp;gt; Name of object. Delimited by a null character. Note: These are internal &amp;quot;working&amp;quot; names. They all make sense, but are not the standardized names displayed in the game.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;20:&#039;&#039;&#039; [[BIGOBS.PCK]] reference (pointer to graphic for inventory)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;21:&#039;&#039;&#039; [[FLOOROB.PCK]] reference (pointer to graphic for item on ground)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;22:&#039;&#039;&#039; Average Weapon Strength (Same as seen in UFOpaedia)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;23:&#039;&#039;&#039; Item Weight? See [43] - could one be thrown weight, and the other inventory weight?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;24:&#039;&#039;&#039; Inventory X Size (width)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;25:&#039;&#039;&#039; Inventory Y Size (height)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;26-28:&#039;&#039;&#039; Look-up within OBDATA for ammo this weapon uses. Up to three types possible; 255 for no (more) ammo. Note that ammo always directly follows its weapon in this file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;29:&#039;&#039;&#039; [[HANDOB.PCK]] reference (pointer to graphic for battlescape)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;30:&#039;&#039;&#039; Same as 29&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;31:&#039;&#039;&#039; Ammo Damage Type&lt;br /&gt;
   0 AP&lt;br /&gt;
   1 IN&lt;br /&gt;
   2 HE&lt;br /&gt;
   3 Laser&lt;br /&gt;
   4 Plasma&lt;br /&gt;
   5 Stun&lt;br /&gt;
 255 &#039;&#039;Not Ammo&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32:&#039;&#039;&#039; Accuracy, Auto&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;33:&#039;&#039;&#039; Accuracy, Snap&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;34:&#039;&#039;&#039; Accuracy, Aimed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;35:&#039;&#039;&#039; TUs Used, Auto&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;36:&#039;&#039;&#039; TUs Used, Snap&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;37:&#039;&#039;&#039; TUs Used, Aimed&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;38:&#039;&#039;&#039; Primary use: Clip Size (for ammo; see [49]). Secondary use: Melee weapon strength, as follows:&lt;br /&gt;
&lt;br /&gt;
   0 All Corpses/Electroflare/Mind probe&lt;br /&gt;
   8 Pistol&lt;br /&gt;
  65 Stun Rod&lt;br /&gt;
  10 &#039;&#039;Everything else...&#039;&#039;&lt;br /&gt;
Tertiary use: Timer for &amp;quot;grenade&amp;quot;, if Grenade ([44]) is true. Only works if item is ammo ([49]). If it is then e.g. since Blaster has a 1 here (1 bomb per blaster &amp;quot;clip&amp;quot;), it will explode at end of turn 1 (if not being held in inventory).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;39:&#039;&#039;&#039; Possibly Melee-related Stat??&lt;br /&gt;
   0 All Corpses&lt;br /&gt;
   0 Plasma Pistol Clip&lt;br /&gt;
   5 Stun Rod&lt;br /&gt;
   9 Pistol and Pistol Clip&lt;br /&gt;
   8 &#039;&#039;Everything else...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NKF:&#039;&#039; Melee damage type?&lt;br /&gt;
   0 AP&lt;br /&gt;
   1 IN&lt;br /&gt;
   2 HE&lt;br /&gt;
   3 Laser or Gauss&lt;br /&gt;
   4 Plasma or Sonic&lt;br /&gt;
   5 Stun&lt;br /&gt;
   6 TFTD vibroblade damage (does not appear to be used in UFO)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;40:&#039;&#039;&#039; Possibly Melee Accuracy??&lt;br /&gt;
   0 All Corpses&lt;br /&gt;
   0 Electroflare&lt;br /&gt;
   0 Plasma Weapon Clips&lt;br /&gt;
 100 &#039;&#039;Everything else...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;41:&#039;&#039;&#039; Possibly Melee TU%?&lt;br /&gt;
   0 All Corpses&lt;br /&gt;
   0 Electroflare&lt;br /&gt;
   0 Plasma Weapon Clips&lt;br /&gt;
  30 Stun Rod&lt;br /&gt;
  50 &#039;&#039;Everything else...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NKF:&#039;&#039; TU% when attacking as a melee weapon:&lt;br /&gt;
  50 Most objects&lt;br /&gt;
  30 Stun rod&lt;br /&gt;
  40 TFTD thermal tazer&lt;br /&gt;
  15 Vibroblade&lt;br /&gt;
  20 Thermal lance&lt;br /&gt;
  25 Heavy thermal Lance&lt;br /&gt;
&lt;br /&gt;
So a summary of 39 to 41 looks like this:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;u&amp;gt;39&amp;lt;/u&amp;gt;   &amp;lt;u&amp;gt;40&amp;lt;/u&amp;gt;   &amp;lt;u&amp;gt;41&amp;lt;/u&amp;gt;   &amp;lt;u&amp;gt;Objects&amp;lt;/u&amp;gt;&lt;br /&gt;
    0    0    0   All Corpses/Plasma Pistol Clip&lt;br /&gt;
    5  100   30   Stun Rod&lt;br /&gt;
    8    0    0   Plasma Rifle Clip/Heavy Plasma Clip/Electroflare&lt;br /&gt;
    9  100   50   Pistol/Pistol Clip&lt;br /&gt;
 &lt;br /&gt;
    8  100   50   &#039;&#039;Everything else...&#039;&#039; (34 objects)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;42:&#039;&#039;&#039; Explosive strength needed to [[Explosions#Object_Destruction|destroy object]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;43:&#039;&#039;&#039; [[Item Weight]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;44:&#039;&#039;&#039; Grenade Type&lt;br /&gt;
 1  Grenade, Alien Grenade, High Explosive&lt;br /&gt;
 2  Proximity Grenade&lt;br /&gt;
 3  Smoke Grenade&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;45:&#039;&#039;&#039; Maybe an abandoned bit field, all except the Elerium tick?:&lt;br /&gt;
&lt;br /&gt;
 0 All corpses and many human objects, including weapons and ammo&lt;br /&gt;
 1 All alien weapons and ammo but also several common human ammos and the pistol&lt;br /&gt;
 4 Elerium&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;46:&#039;&#039;&#039; Boolean: Is Weapon That Shoots?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;47:&#039;&#039;&#039; Boolean: Is Weapon?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;48:&#039;&#039;&#039; Boolean: Is Non-Waypoint Weapon?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;49:&#039;&#039;&#039; Boolean: Is Ammo?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;50:&#039;&#039;&#039; Boolean: Is Two-Handed Weapon?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;51:&#039;&#039;&#039; Boolean: Is Blaster Launcher?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;52:&#039;&#039;&#039; Boolean: Is Alien?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;53:&#039;&#039;&#039; [[Scoring (UFO Defense)|Scoring]] points (except for Elerium which works per 50 units)&lt;/div&gt;</summary>
		<author><name>60mm</name></author>
	</entry>
</feed>