Welcome to Dawn of Eternity

In order to download and play the game you need to sign up for an account and activate it, it's free. Once you have an active account you will be able to see the download page at the top of the forum.

Sign Up

Animated presets

Discussion in 'Help & Documentation' started by Lappis, Aug 29, 2016.

  1. Lappis

    Lappis New Member

    Joined:
    Aug 26, 2016
    Messages:
    15
    Likes Received:
    1
    Gender:
    Female
    In-Game Name:
    Lappis
    I'm just wondering, is it possible to get actual animation in your presets? And I don't mean moving parts, I mean frame by frame animation (for example, if I want to make a third eye that opens and closes etc.). I couldn't find anything that would make it work and I'm too new to all this preset making thing to figure it out myself :V
    Thanks for anyone who's willing to help!
     
  2. Hiyorests

    Hiyorests Administrator
    Staff Member Developer

    Joined:
    Nov 1, 2014
    Messages:
    76
    Likes Received:
    13
    Gender:
    Female
    In-Game Name:
    Hiyorests
    I don't believe so. I could be wrong but I believe that is based on the model etc. With scrolling you could perhaps create something somewhat similar but it would be 2D on the texture.
    I've put this here to quickly show you what I mean.
    The general look I believe you’re aiming for is an eye opening and closing? If you want to achieve this, you’ll need to take a code for a scrolling preset. The scrolling texture must exactly match the texture of the character, otherwise the seam will be visible and will look messy. I’ve marked the red line as the middle of the preset, but I’m not sure where the eye would be. The dark lines are obviously the lines that would stay opaque, and the yellow of the eyes would be the general texture, if you understand me?
    I’ve marked the part which would scroll with dark lines which fades into blue just to show the general idea of the eye “closing”.
    This is possible the closest thing you can get but can sacrifice textures and take a lot of hard work to get right.
    [​IMG]
    Hope this helps!
    I may be wrong but that is what I know.
     
  3. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    actually yes! Myself and maybe 1 other have made some actual moving parts Including a third eye~
    You do need to use frame by frame of the body but the only thing being animated is the part you want moving. The only challenge is that since the presets sides of Symmetrical, you would have to be smart about what you want moving and and how it is going to

    If you would like to know the coding i'd be glad to help you out~ Its simpler than it seems
     
  4. Lappis

    Lappis New Member

    Joined:
    Aug 26, 2016
    Messages:
    15
    Likes Received:
    1
    Gender:
    Female
    In-Game Name:
    Lappis
    Thank you to both of you for your answers! Snuggypink, it would be great if you could share the coding for that, it would be really helpful! Of course I can create my preset without animating the extra eyes but then they would be always open, it would be great to get them moving :3
     
  5. lunareclipse

    lunareclipse Member

    Joined:
    Jun 6, 2015
    Messages:
    47
    Likes Received:
    22
    In-Game Name:
    robot
    here's the code sorryforbuttingin :

    Code:
    texture_unit
                    {
                        anim_texture frame1.png frame2.png frame3.png 0.5
                    }
                }
            }
        
    
    
    separate the frame file names by a space, the number on the end is the speed 'v'

    e: if that doesnt work, heres my entire preset code:

    Code:
    material robot_laz
    {
        receive_shadows off
        technique
        {
        pass
            {
                ambient 1.000000 1.000000 1.000000 1.000000
                diffuse 1.000000 1.000000 1.000000 1.000000
                specular 0.010000 0.010000 0.010000 1.000000
                emissive 0.000000 0.000000 0.000000 1.000000
                cull_hardware none
                cull_software none
                alpha_rejection greater_equal 128
                scene_blend alpha_blend
                texture_unit
                    {
                        anim_texture robot_lazanim1.png robot_lazanim2.png robot_lazanim3.png 0.5
                    }
                }
            }
       
     
    • Useful Useful x 1
  6. Hiyorests

    Hiyorests Administrator
    Staff Member Developer

    Joined:
    Nov 1, 2014
    Messages:
    76
    Likes Received:
    13
    Gender:
    Female
    In-Game Name:
    Hiyorests
    That is so damn fancy LOL
    Love it
     
  7. Lappis

    Lappis New Member

    Joined:
    Aug 26, 2016
    Messages:
    15
    Likes Received:
    1
    Gender:
    Female
    In-Game Name:
    Lappis
    Oooh, thank you! I tried it out and it works! I still need more frames but this is exactly what I wanted :'3 Thank you so much!
     
  8. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    Oop @lunareclipse beat me to it, but ye! Can't wait to see your preset in game!
     
  9. Lappis

    Lappis New Member

    Joined:
    Aug 26, 2016
    Messages:
    15
    Likes Received:
    1
    Gender:
    Female
    In-Game Name:
    Lappis

Share This Page