How can I make animations work?

Develop, share and download custom trains and rolling stock
Post Reply
User avatar
wingsofphoenix
Posts: 109
Joined: Sat Feb 14, 2009 12:02 pm
Location: Jena, Germany

How can I make animations work?

Post by wingsofphoenix » Thu May 13, 2010 7:49 pm

Hi there,
I did a lot of train skinning over the last 18 months, but that wasnt satisfiying anymore. So I decided to remodel some existing trains and traincars, or even create new one. I first started with the "Pacific Tendercar" and it worked pretty well with 3ds Max, but i cant get the animations work in game. They work in 3ds Max and in NifSkope. It (should) use the original .kf animation files. :roll:
SMRailroads!0034.jpg
Well, its not that bad.. just the wheels, but it bothers me, and would help for more difficult models bring to life. :lol:
So I would like, if someone can help me with this, and explain me what I am missing. :oops:
I attached all model files for it.
medium_tender.zip
(193.6 KiB) Downloaded 407 times

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: How can I make animations work?

Post by Jancsika » Thu May 13, 2010 8:41 pm

I am not an expert, but this animation by Rodea might be helpful. I don’t know if he is reading the posts lately, but you might try to send him a PM. He was always very helpful in the past.
ALP46 NJT-4604
http://www.hookedgamers.com/forums/view ... =50&t=4046
Jancsika

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: How can I make animations work?

Post by Jancsika » Fri May 14, 2010 12:18 am

You probably need an XML file, or an addition to an existing XML file, to make it work.
This example is from a "Decoration", a swimming whale.
<RRTDecoration>
<szName>Whale</szName>
<szModel>whale.kfm</szModel>
<fScale>2.0</fScale>
<bContourGeometry>0</bContourGeometry>
<Animations>
<State>
<ID>1</ID>
<SequenceID>1</SequenceID>
<fMinPlayTime>0.0</fMinPlayTime>
<fMaxPlayTime>1</fMaxPlayTime>
<Transitions>
<Transition>
<State>1</State>
<Chance>0</Chance>
</Transition>
</Transitions>
</State>
</Animations>
</RRTDecoration>

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: How can I make animations work?

Post by Rodea2007 » Fri May 14, 2010 4:58 am

wingsofphoenix wrote:Hi there,
I did a lot of train skinning over the last 18 months, but that wasnt satisfiying anymore. So I decided to remodel some existing trains and traincars, or even create new one. I first started with the "Pacific Tendercar" and it worked pretty well with 3ds Max, but i cant get the animations work in game. They work in 3ds Max and in NifSkope. It (should) use the original .kf animation files. :roll:
The attachment SMRailroads!0034.jpg is no longer available
Well, its not that bad.. just the wheels, but it bothers me, and would help for more difficult models bring to life. :lol:
So I would like, if someone can help me with this, and explain me what I am missing. :oops:
I attached all model files for it.
The attachment medium_tender.zip is no longer available
I can't explain to much....just download your model then export into 3ds Max8 end repair on skin influence section in order to this animation mod can working in the game, then i have to to make 4 new KFs and new KFM. I'm not tested yet, but I'm sure this mod can run as well.
so....download the rar file below then extract to customassets folder, then you can use this revision model,
Now you can learn how to make it work, but if you have any question, upload in here. Good luck
Attachments
Medium Tender Car Revisi.rar
(166.1 KiB) Downloaded 385 times
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: How can I make animations work?

Post by Rodea2007 » Fri May 14, 2010 6:18 am

all animation models wich come with this game if they opened in Nifscope, then you won't see anything animation until you attach the KF file into them, so if you want to see how they are workings, open the model in Nifscope then on the picture right click then select animation then select attach KF and on new window choose the relevant KF file with that model, for this case you can choose "medium_tender_car_wheel_layer_wheels_normal.kf", and now you will see all the wheels will spin around on the their axis respectively
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
wingsofphoenix
Posts: 109
Joined: Sat Feb 14, 2009 12:02 pm
Location: Jena, Germany

Re: How can I make animations work?

Post by wingsofphoenix » Fri May 14, 2010 10:37 am

Ok that works great, thanks Rodea :P

..but, how did u do that? What has to be done from adding the skin instance to a working animation? :roll:

still some questions :lol:

p.s. I use 3ds Max 2009 with niftools-max-plugins-3.4.2.4632 if that matters

Post Reply