Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Seperate model and animation files  (Read 2160 times)

0 Members and 1 Guest are viewing this topic.

FogGobbler

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 228
    • View Profile
Seperate model and animation files
« on: March 15, 2007, 12:05:07 AM »

Hi!

I´ve exported my model out of max (file:trinity.x --- just a testname :-) )  without any kind of animation and a biped animation file (walk.x) which  contains only the animation (see wiki http://wiki.dead-code.org/wakka.php?wakka=ExportingWithPanda&v=1bio by Ad Onf)

My actor definition file is the standard 3d-demo file for testing. Since the trinity.x files doesn´t contain a "walk" animation, it should load the "walk.x", or am I wrong?

Just my model appears, but it doesn´t start the animation.

If I put all the animations in one "trinity"-File wir defined "walk", "idle" animations, it works. But I would like to split the model and the animations.

Best regards,
Oli

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Seperate model and animation files
« Reply #1 on: March 15, 2007, 08:23:01 AM »

Since the trinity.x files doesn´t contain a "walk" animation, it should load the "walk.x", or am I wrong?
No, you must explicitly list all the X files you want to load. So your .act3d file should contain something like:

Code: [Select]
...
MODEL = "path\trinity.x"
MODEL = "path\walk.x"
...
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.038 seconds with 23 queries.