UFO: Enemy Unknown Alien Stats


  • Please log in to reply
26 replies to this topic

#21 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,547 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 17 August 2008 - 11:50 PM

Due to some code cracking by Seb76 over at the X-COM Wiki we now know what three unknown alien stats are for. Two of them (remember the discussion about the elusive UNITREF.DAT [048] and [052] offsets?) represent an index into the Line Of Fire Templates (LOFTemps) so that the game can calculate how a bullet hits a unit. Nice! The other unknown is an index into the MCD list which is movement type related (walking, sliding or floating). Posted Image

Right now there are 5 unknowns left. Not bad. Slowly but surely we will figure them all out! I made some changes to my alien stats page, to take this into account. Posted Image

At some point in time (possibly in the near future) I'll be adding more information pertaining to the HWPs due to research by j'ordos, armorfiend and myself. Also on my list is an update to my Excel document and rewriting the parts for Melee and Psi attacks (new research indicates the TUs for each attack type isn't a universal constant like I thought but a % TU per use). Posted Image

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#22 Guest_Guest_noob_*_*

Guest_Guest_noob_*_*
  • Guests

Posted 15 February 2009 - 12:07 PM

can somebody tell me how to open the file?

#23 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,547 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 15 February 2009 - 03:31 PM

Which file? My alien stats spreadsheet? First unzip it, then open with MS-EXCEL. If you don't have Excel, you could always download Open Office and use that. I'll try and create a text-based format this evening which can be opened in Notepad. ;)

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#24 Gimli

Gimli

    Dances with Mutons

  • Retired Staff
  • PipPipPipPipPip
  • 1,036 posts
  • Gender:Male
  • Location:Croatia

Posted 15 February 2009 - 09:19 PM

Maybe he's asking about the .DAT file?

#25 NKF

NKF

    Mr. Badger in disguise

  • Site Staff
  • PipPipPipPipPip
  • 4,426 posts
  • Gender:Male
  • Location:In my mind

Posted 16 February 2009 - 08:28 AM

For the game data files, any hex editor will do. Even MS-Edit in binary mode - a most unconventional but handy way to view and edit the data since you can view everything in tabular form by adjusting the columns to display in each row.

- NKF
NKF, narrow minded fuddy duddy who refuses to let go of the past and will not accept anything newer than 1979.

#26 Zombie

Zombie

    Mr. Grognard of X-COM

  • Admin
  • PipPipPipPipPipPip
  • 5,547 posts
  • Gender:Male
  • Location:Wisconsin, USA

Posted 12 December 2018 - 05:35 AM

My favorite thing in life: to necro a thread 12 years old. That's gotta be some sort of record! ;)

View PostZombie, on 29 September 2006 - 05:51 AM, said:

I just completed another major research project into alien stats today. In short, I edited each alien stat in the executable and tried to link it to a unitref.dat offset. For the most part, this plan was very successful as out of the 39 stat bytes, four do not show up in unitref. (And two of those are attributes which probably only apply to unitpos). In addition, I figured out another unknown so now we are down to 8! Posted Image

Backstory: the way I did this was to edit an unknown alien stat in the executable to an easily recognizable number (100 is good, but something like 101 is even better as it doesn't show up very often), then see if any offsets in UNITREF.DAT matched.

Why didn't some edits show up in UNITREF.DAT though? Well, the game ignores these values and does not transfer them to UNITREF.DAT (another option is that a value outside of the expected range is either ignored or reverts to the first value in the range - doubtful, but sounds good). Why does the game ignore some alien stats in the executable? Well, most are due to the fact that a stat was dropped during development or was never implemented completely. Back when I first started this topic I had a strong feeling that all alien stats in the executable were used somewhere and as I know now, this is just not the case. The game was mostly complete, true, but there were things which never made it in for whatever reasons.

We've made great progress over the years deciphering UNITREF.DAT and for the most part it's completely understood now. For this reason, I've updated my Alien Stats page on the site to take this info into consideration. Most of the changes can be found under the Editing Alien Stats heading. It's really a good feeling to see a section fully fleshed out after years of nothing but question marks. No more unknowns!

The one thing I want to do to the page yet is put descriptive anchors instead of the junk /#ufostatsX. Shouldn't be too hard to fix that.

Anyhow, I figured I'd keep everyone updated on this! :)

- Zombie

My X-COM Patch Kit For UFO Defense | Emergency XCOM Meeting spoof on YouTube




JellyfishGreen said:

Zombie: Empirical data's your only man, when formulating a research plan.
A soldier's death is never in vain if it makes the formula more plain.
A few dozen make a better case for refining that third decimal place.
They call me Zombie because I don't sleep, as I slowly struggle to climb this heap,
of corpses, data points, and trials, but from the top - I'll see for miles!

#27 magic9mushroom

magic9mushroom

    Lieutenant

  • Members
  • PipPipPipPip
  • 266 posts

Posted 02 January 2019 - 08:25 AM

You said that Genius and Superhuman Chryssalids are guaranteed to hit and thus zombify, but the info on UFOpaedia says the zombification always happens when they stop attacking a unit, whether or not they hit it. Which is correct?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users