Jump to content


Photo

linking bam to cre


  • Please log in to reply
2 replies to this topic

#1 mildImp

mildImp
  • Member
  • 242 posts

Posted 14 December 2006 - 08:58 AM

I understand that the animation id in the cre makes some hard coded reference to the bam file, so how do modders associate the two? I use NI for editing. How can I figure out which .bam file is associated to my cre?

#2 Sticz

Sticz

    Monkey - In the time of Chimpanzees

  • Member
  • 385 posts

Posted 14 December 2006 - 10:24 AM

The Animation ID is located just under the Name of the NPC. If you are trying to change the animation, you will need to use the drop-down menu and select what animation you want.

If you take one of the first creatures in TOB (I use it because it is high on the list) ABAZIGAL.CRE and look at the Animation ID, that is what the creature will appear as in game. In this case FIGHTER_MALE_HUMAN.

If you want to change this, you just use the drop-down menu. If you want to change an existing creature, say in a mod, then you have to do some coding. For instance, if I want to change the appearance of a shadowthief to said FIGHTER_MALE_HUMAN I would write it like this:

COPY_EXISTING ~RENAL.CRE~ ~OVERRIDE/RENAL.CRE~
WRITE_LONG 0x28 24832

This would write the animation ID to the number that appears behind the animation ID when you look at it in Near Infinity.

Hope this helps!


Sticz :ph34r:
"For a crazy person, you don't drool much." Complement from Dilbert's Wally.

#3 pro5

pro5
  • Modder
  • 722 posts

Posted 14 December 2006 - 06:17 PM

ANISND.IDS file, second column contains first 4 characters of the BAM sequence.