Results 1 to 7 of 7

Thread: Animation for spawned model

  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts

    Animation for spawned model

    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?1...mations-(COD4))

    Click image for larger version. 

Name:	128576211-3.jpg 
Views:	136 
Size:	37.6 KB 
ID:	363

    How can i make the model rotate the blades nicely without making a model for each frame?
    Last edited by Mitch; 1st August 2013 at 14:55.

  2. #2
    Private
    Join Date
    Jan 2013
    Location
    Hungary
    Posts
    113
    Thanks
    10
    Thanked 74 Times in 45 Posts
    Use texture scrolling.

  3. #3
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by randall View Post
    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)

  4. #4
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Mitch View Post
    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).

  5. #5
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    I tried it, but i am not getting further then creating the custom material. But i found this thread on a other forum that is useful too.

    Error that the converter gives
    Code:
    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
    Click image for larger version. 

Name:	texturescrolltest1.png 
Views:	119 
Size:	14.3 KB 
ID:	373

    Image (see rar for dds)
    Click image for larger version. 

Name:	veh_t6_drone_quad_rotor_blades_c.png 
Views:	118 
Size:	628.7 KB 
ID:	372
    Attached Files Attached Files
    Last edited by Mitch; 7th August 2013 at 15:22. Reason: added error

  6. #6
    Private
    Join Date
    Oct 2012
    Posts
    15
    Thanks
    11
    Thanked 1 Time in 1 Post
    I also wanted to know how it works custom material

  7. #7
    Private
    Join Date
    May 2014
    Posts
    20
    Thanks
    5
    Thanked 13 Times in 5 Posts

    I use playfxontag

  8. The Following 4 Users Say Thank You to hoek For This Useful Post:

    Invictus (25th June 2014),kung foo man (29th May 2014),Ni3ls (30th May 2014),smect@ (29th July 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •