Jump to content

Talk:Inventory TU Table: Difference between revisions

From UFOpaedia
Kyrub (talk | contribs)
No edit summary
Volutar (talk | contribs)
No edit summary
Line 2: Line 2:


Inventory entries seem to be stored in the exe (CE version) starting with the offset 0x6B97D.--[[User:Kyrub|Kyrub]] 17:42, 31 August 2008 (PDT)
Inventory entries seem to be stored in the exe (CE version) starting with the offset 0x6B97D.--[[User:Kyrub|Kyrub]] 17:42, 31 August 2008 (PDT)
== Info from EXE ==
There is table for item movement TUs cost between different inventory sections:
.data:0046B97C
  db  0, 16,  8,  8, 10, 10, 12, 12, 20, 12; 0 - from ground
  db  10,  0,  6,  6, 10, 10, 10, 10, 18, 10; 1 - from unknown
  db  2,  4,  0,  4,  8, 10, 10, 10, 14,  8; 2 - from right hand
  db  2,  4,  4,  0, 10,  8, 10, 10, 14,  8; 3 - from left hand
  db  6, 10,  4,  6,  0, 10, 10, 10, 18, 10; 4 - from right leg
  db  6, 10,  6,  4, 10,  0, 10, 10, 18, 10; 5 - from left leg
  db  4,  9,  3,  3, 12, 12,  0,  8, 16, 10; 6 - from right shoulder
  db  4,  9,  3,  3, 12, 12,  8,  0, 16, 10; 7 - from left shoulder
  db  10, 14,  8,  8, 16, 16, 14, 14,  0, 12; 8 - from backback
  db  6,  6,  4,  4, 10, 10, 12, 12, 16,  0; 9 - from belt
Y is "from" and X is "to".
Section 1 is unused, though it somehow correlates with legs. Maybe it meant to be a Snakeman "Tail"?
Considering second unused inventory layout I can presume they planned more than 2 of them, to use them for different humanoid races. Presumably for Mind Control with inventory screen. Though it would require for complex function for realistic AI item placement (instead of universal item cell 2).

Revision as of 14:02, 7 April 2011

It takes more time units to go from one hand to the other then from shoulder to hand? That totally doesn't make sense. I'm not saying the table is wrong, I'm saying the makers of the game weren't thinking right. meh. Vicarious 01:16, 18 Oct 2005 (PDT)

Inventory entries seem to be stored in the exe (CE version) starting with the offset 0x6B97D.--Kyrub 17:42, 31 August 2008 (PDT)

Info from EXE

There is table for item movement TUs cost between different inventory sections:

.data:0046B97C

 db   0, 16,  8,  8, 10, 10, 12, 12, 20, 12; 0 - from ground
 db  10,  0,  6,  6, 10, 10, 10, 10, 18, 10; 1 - from unknown
 db   2,  4,  0,  4,  8, 10, 10, 10, 14,  8; 2 - from right hand
 db   2,  4,  4,  0, 10,  8, 10, 10, 14,  8; 3 - from left hand
 db   6, 10,  4,  6,  0, 10, 10, 10, 18, 10; 4 - from right leg
 db   6, 10,  6,  4, 10,  0, 10, 10, 18, 10; 5 - from left leg
 db   4,  9,  3,  3, 12, 12,  0,  8, 16, 10; 6 - from right shoulder
 db   4,  9,  3,  3, 12, 12,  8,  0, 16, 10; 7 - from left shoulder
 db  10, 14,  8,  8, 16, 16, 14, 14,  0, 12; 8 - from backback
 db   6,  6,  4,  4, 10, 10, 12, 12, 16,  0; 9 - from belt

Y is "from" and X is "to".

Section 1 is unused, though it somehow correlates with legs. Maybe it meant to be a Snakeman "Tail"? Considering second unused inventory layout I can presume they planned more than 2 of them, to use them for different humanoid races. Presumably for Mind Control with inventory screen. Though it would require for complex function for realistic AI item placement (instead of universal item cell 2).