PDA

View Full Version : Animation for spawned model



Mitch
1st August 2013, 14:03
I exported the quad rotor drone from Black Ops 2. And now i am trying to trying to rotate the rotor blades in cod2. I made a xanim animation and also made it work for 3rd person using a tutorial from killtube. But it only works if you use this weapon as player.

(http://killtube.org/showthread.php?1359-tutorial-MP-World-Animations-(COD4))

363 (http://screenshot.xfire.com/s/128576211-4.jpg)

How can i make the model rotate the blades nicely without making a model for each frame?

randall
1st August 2013, 14:22
Use texture scrolling.

Mitch
1st August 2013, 14:56
Use texture scrolling.

Ok, do you know where i can find a good tutorial? (also added in first post that i need it for cod2)

Tally
1st August 2013, 16:04
Ok, do you know where i can find a good tutorial? (also added in first post that i need it for cod2)

I'll get you started: in Asset Manager, choose materialType = "custom"; Template = deffiles/materials/textureAtlas.template; Texture Atlas Settings: Row Count = 6 Column Count = 6 <--- 6 is just a starting point. You will probably need more to make it look smooth.

After that, you're on your own. But basically, that's how you do texture scrolling - by using row counts and column counts, using the right template (the textureAtlas template does away with the "blink" you get between each atlas row/count, so you must use that otherwise, it wont look "smooth" between the transitions between one count and the next).

Mitch
7th August 2013, 15:21
I tried it, but i am not getting further then creating the custom material. But i found this thread (http://mappersunited.com/index.php?/topic/1965-cinematic-textures/) on a other forum that is useful too.

Error that the converter gives


Adding 'model_export\mtl_t6_veh_drone_quad_rotor_mp.gdt'. ..
Converting 'material.gdf'...

'material.gdf' version change (0 -> 79)

Converting 'mtl_t6_veh_drone_quad_rotor_blades'...
**FATAL** - No techniqueSet specified


Settings
373

Image (see rar for dds)
372

sabixão
22nd April 2014, 19:50
I also wanted to know how it works custom material :(

hoek
29th May 2014, 15:03
https://www.youtube.com/watch?v=AGQWCVhTV30
I use playfxontag :D