Author Topic: Looking for a list of Model ID  (Read 4389 times)

Walter253

  • *
  • Posts: 26
    • View Profile
Looking for a list of Model ID
« on: 2015-04-10 19:21:38 »
Hi people, there is a screen for asking you more easily what I want:



I'm planning to make an enemy that look like Nanaki (maybe it's just impossible lol)
Thanks in advance!

EDIT: I found this thread http://forums.qhimm.com/index.php?topic=15412.msg216312#msg216312
and then this link https://docs.google.com/spreadsheets/d/1OnCCU0OfV4khZ5eDOyBv-TADnWmvxGnqM3BV-KRqf7g/pub?gid=3
but there is not the ID reference (0077 on my screen) or I just miss something?
« Last Edit: 2015-04-10 19:42:39 by Walter253 »

JBedford128

  • *
  • Posts: 113
    • View Profile
Re: Looking for a list of Model ID
« Reply #1 on: 2015-04-10 21:25:32 »
Yeah, all files starting with "ep" are for the model with the ID of 0x77.

The model ID and the first two letters of the file names represent the same number. Except the model ID is in hexadecimal while the lettering is in a form of base 26.

e=4
p=15

4*26 + 15 = 119 = 0x77

I don't know if there's anything more complex than that, but use the letters to find the model-files in the doc. This list I made a while ago could be useful.

Walter253

  • *
  • Posts: 26
    • View Profile
Re: Looking for a list of Model ID
« Reply #2 on: 2015-04-10 23:46:50 »
Thanks man! Your list is exactly what I was looking for ! :) IT have the whole enemy in the game with their model ID
unfortunaly it look like i can"t make an enemy with Nanaki model right?

My idea is to make that we fight somehow Seto for Nanaki's 4th limit, I always found that fact we win this limit against Lost Number doesn't make sense in my mind.
« Last Edit: 2015-04-10 23:53:20 by Walter253 »

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: Looking for a list of Model ID
« Reply #3 on: 2015-04-11 02:21:22 »
You can make an enemy out of any player character, but you need to do some set-up with AI first to get around some animation problems. The game will soft-lock when you hit such an enemy, so setting the 'hurt' animation to something like the 'dodge' animation tends to work. Here's what I use for it (got this from Karifean's super boss rush mod):

Code: [Select]
12 2060
10 402C
80
60 01
90
12 2060
10 402A
80
60 01
90
12 2060
11 4088
80
60 08
90
12 2060
10 402A
80
60 01
90

That would be entered into the pre-battle AI group for the enemy. In the disassembler, translates to:

Code: [Select]
0x000Self.Flag:DeathImmune? <- 1
0x00ASelf.Flag:Unknown(00000400) <- 1
0x014Self.DamageAnimID <- 8
0x01ESelf.Flag:Unknown(00000400) <- 1
0x028SCRIPT END

When setting attacks, here's some basic animation indexes that work:

Physical attack: 14
Enemy Skill cast: 1E

Red XIII's model code itself is RW (or 01D0). When setting a new enemy, make sure to use the new model index for the enemy formation, otherwise you'll hit a crash.
« Last Edit: 2015-04-11 02:23:32 by Sega Chief »

Walter253

  • *
  • Posts: 26
    • View Profile
Re: Looking for a list of Model ID
« Reply #4 on: 2015-04-11 04:40:57 »
Hey thanks Sega Chief

It worked !



I've noticed something odd about the MP, by default he has enough MP to cast only one Shadow Flare, but in battle it look like he don't use MP for cast Shadow Flare. Is this due to the script?
Another thing, is there a way to make him disapear (when die) in the flashy red defade? Plus since you gave me the model ID (01D0) for Nanaki battle model, did you know the model ID for others characters? It would be nice to got them :)

Thanks so much again Sega Chief!
« Last Edit: 2015-04-11 04:48:00 by Walter253 »

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: Looking for a list of Model ID
« Reply #5 on: 2015-04-11 05:26:16 »
Not sure actually. It should function the same as any other enemy and be dependent on having enough MP to cast the spell. Maybe there's something in that pre-battle, the unknowns are, well, unknown. I don't even know if they were in Karifean's script or if it's something I added later for whatever reason.

Death handling is an animation of sorts, and I don't think characters have it. You could try copy-pasting Dyne's Death Counter AI in, and then trying to find Red XIII's death idle animation index (replacing the one Dyne uses in this AI). Not tried that myself, but could do the trick.

The other guys are:

RTDA: Cloud
RUDA: Tifa
RVDA: Aeris
RWDA: Red XIII
RXDA: Yuffie
RYDA: Cait Sith
RZDA: Cid
SADA: Sephiroth
SBDA: Barret (Melee)
SCDA: Barret (Shoot)
SDDA: Barret (Cannon)
SEDA: Barret (Alt Shoot - Microlaser)
SFDA: Vincent (Handgun)
SGDA: Vincent (Shotgun)
SHDA: Vincent (Rifle)
SIDA: Cloud (Hi-res)
SJDA: Galian Beast (buggy, doesn't work the same way as characters)
SKDA: Death Gigas (ditto)
SLDA: Hellmasker (ditto)
SMDA: Chaos (ditto)

Two things; the weapon won't appear with the character, or else it'll appear in some odd place (Red XIII doesn't have a weapon so it's not noticeable), and the transformations like Galian, etc. can be used (I saw a vid using Chaos as a base) but I don't have notes on it.



Walter253

  • *
  • Posts: 26
    • View Profile
Re: Looking for a list of Model ID
« Reply #6 on: 2015-04-11 05:44:46 »
Ok I guess I've to experiment now.
I'm tempting to let the infinite MP for this enemy anyway, it add some diffilcuty.

Just posting this for myself and/or people that are like me: there is the index in hexadecimal for model ID.
1CD RTDA: Cloud
1CE RUDA: Tifa
1CF RVDA: Aeris
1D0 RWDA: Red XIII
1D1 RXDA: Yuffie
1D2 RYDA: Cait Sith
1D3 RZDA: Cid
1D4 SADA: Sephiroth
1D5 SBDA: Barret (Melee)
1D6 SCDA: Barret (Shoot)
1D7 SDDA: Barret (Cannon)
1D8 SEDA: Barret (Alt Shoot - Microlaser)
1D9 SFDA: Vincent (Handgun)
1DA SGDA: Vincent (Shotgun)
1DB SHDA: Vincent (Rifle)
1DC SIDA: Cloud (Hi-res)
1DD SJDA: Galian Beast
1DE SKDA: Death Gigas
1DF SLDA: Hellmasker
1E0 SMDA: Chaos
« Last Edit: 2015-04-11 06:00:48 by Walter253 »