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

Glowing markings preset? Maybe scrolling?

Discussion in 'Game Help' started by Shad, Jul 15, 2015.

  1. Shad

    Shad Member

    Joined:
    Jun 6, 2015
    Messages:
    31
    Likes Received:
    4
    Gender:
    Female
    In-Game Name:
    Shad
    Sorry if that's the wrong place for this thread.

    So,i always wanted to make some of my character's markings glow in the dark,like,no recieving shadows in night etc. Anybody knows how could i make it?

    My thoughts...Am i thinking right? Does it work like adding different color eyes,like,adding texture of the markings (well but there's no script etc....) and then making it "emissive" in script of preset?

    OR

    Anybody knows how to make Scrolling markings on preset?
     
  2. Myz

    Myz Administrator
    Staff Member

    Joined:
    Nov 1, 2014
    Messages:
    345
    Likes Received:
    46
    In-Game Name:
    Myz
    Something like this would make the marking1, marking2 and 3 produce its own light. Didn't test this but it should work. I also made mark2 scroll and mark3 rotate

    Code:
    material myz_test
    {
       receive_shadows on
       technique
       {
         pass
         {
           ambient 0.95 0.95 0.95 1
           diffuse 0.6 0.6 0.6 1
           specular 0.1 0.1 0.1 1
    
           texture_unit
           {
             texture myz_test.png
           }
         }
    
         pass
         {
           emissive 1 1 1 1
           texture_unit
           {
             texture yourmarking1.png
           }
           
           texture_unit
           {
             scroll_anim 3 3
             texture yourmarking2.png
           }
           
           texture_unit
           {
             rotate_anim 5
             texture yourmarking3.png
           }
         }
       }
    }
    
     
    • Informative Informative x 1
  3. Shad

    Shad Member

    Joined:
    Jun 6, 2015
    Messages:
    31
    Likes Received:
    4
    Gender:
    Female
    In-Game Name:
    Shad
    Thank you myz! I'll try it :D
     
  4. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female

    can you give more detail on how to do this on a preset, if its not to much trouble
     
  5. Myz

    Myz Administrator
    Staff Member

    Joined:
    Nov 1, 2014
    Messages:
    345
    Likes Received:
    46
    In-Game Name:
    Myz
    Uh, that is how you do it on a preset.
     
  6. Zaroque

    Zaroque THE TRUTH IS OUT THERE
    Staff Member Developer

    Joined:
    Nov 1, 2014
    Messages:
    514
    Likes Received:
    78
    Gender:
    Female
    In-Game Name:
    Zaroque
    e.g if you just wanted the glowing code, remove your marking2 and 3 so it'd look like this:

    Code:
    material myz_test
    {
       receive_shadows on
       technique
       {
         pass
         {
           ambient 0.95 0.95 0.95 1
           diffuse 0.6 0.6 0.6 1
           specular 0.1 0.1 0.1 1
    
           texture_unit
           {
             texture myz_test.png
           }
         }
    
         pass
         {
           emissive 1 1 1 1
           texture_unit
           {
             texture yourmarking1.png
           }
         }
       }
    }

    if you wanted scrolling you'd get rid of marking1 and 3, and so on and so forth
     
  7. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
    im just having trouble wraping it around my head on how it works, like. i tried it, making yourmarking1 and making a shape on the and leaving the rest transparent and also filling int he texture uv(karkat_test), and all that shows up is the yourmarking and it does not glow, i may be and idiot and missing something but ehug
     
  8. Myz

    Myz Administrator
    Staff Member

    Joined:
    Nov 1, 2014
    Messages:
    345
    Likes Received:
    46
    In-Game Name:
    Myz
    Try doing this
    Code:
    material myz_test
    {
       receive_shadows on
       technique
       {
         pass
         {
           ambient 0.95 0.95 0.95 1
           diffuse 0.6 0.6 0.6 1
           specular 0.1 0.1 0.1 1
    
           texture_unit
           {
             texture myz_test.png
           }
         }
    
         pass
         {
           scene_blend add
           emissive 1 1 1 1
           texture_unit
           {
             texture yourmarking1.png
           }
         }
       }
    }
    
    or this

    Code:
    material myz_test
    {
       receive_shadows on
       technique
       {
         pass
         {
           ambient 0.95 0.95 0.95 1
           diffuse 0.6 0.6 0.6 1
           specular 0.1 0.1 0.1 1
    
           texture_unit
           {
             texture myz_test.png
           }
         }
    
         pass
         {
           scene_blend alpha_blend
           emissive 1 1 1 1
           texture_unit
           {
             texture yourmarking1.png
           }
         }
       }
    }
    
     
  9. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
    nope still not glowin ;w;
     
  10. Myz

    Myz Administrator
    Staff Member

    Joined:
    Nov 1, 2014
    Messages:
    345
    Likes Received:
    46
    In-Game Name:
    Myz
    It should look glowy if you go to a dark map. It should work, I might test later.
     
  11. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
    dark map, got it
     
  12. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
    [​IMG]
    this is how
    pass
    {
    emissive 1 1 1 1
    texture_unit
    {
    texture yourmarking1.png
    comes out
    [​IMG]
    this is how
    pass
    {
    scene_blend add
    emissive 1 1 1 1
    texture_unit
    {
    texture yourmarking1.png
    comes out
    [​IMG]
    and this is how
    pass
    {
    scene_blend alpha_blend
    emissive 1 1 1 1
    texture_unit
    {
    texture yourmarking1.png
    comes out
    ---
    [​IMG]
    this is my preset folder
    and yet i still can get that glow
    ( side note: the " yourmarking1" is transparent and has no white
     
  13. Quammar

    Quammar Member
    Developer

    Joined:
    Nov 25, 2014
    Messages:
    54
    Likes Received:
    15
    Gender:
    Female
    In-Game Name:
    Quammar
    upload your preset on mediafire or something and send it to me, I'll give a look c:
     
  14. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
  15. Quammar

    Quammar Member
    Developer

    Joined:
    Nov 25, 2014
    Messages:
    54
    Likes Received:
    15
    Gender:
    Female
    In-Game Name:
    Quammar
    [​IMG]

    replace the text in your .material folder with this

    texture karkat_test.png
    tex_address_mode wrap
    filtering trilinear
    }
    }
    }

    material karkat_test
    {
    receive_shadows on

    technique
    {
    scheme glow
    pass
    {
    texture_unit
    {
    texture yourmarking1.png
    }
    ambient 0 0 0
    diffuse 0 0 0
    specular 0 0 0 1
    emissive 0.20 0.1 0.10

    }
    }


    technique
    {
    pass
    {
    ambient 0.95 0.95 0.95 1
    diffuse 0.6 0.6 0.6 1
    specular 0.1 0.1 0.1 1

    texture_unit
    {
    texture karkat_test.png
    tex_address_mode wrap
    filtering trilinear
    }
    }
    }

    }
     
  16. UnderFather123

    Joined:
    Jul 12, 2015
    Messages:
    34
    Likes Received:
    11
    In-Game Name:
    Und3R8h0T
    Quammar? Can you help me do it? I coded it but i dont see preset in game,its only normal grey wolf.I dont know what i do wrong :(
     
  17. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
    put that in the note pad thing and it turns out all white
     
  18. Quammar

    Quammar Member
    Developer

    Joined:
    Nov 25, 2014
    Messages:
    54
    Likes Received:
    15
    Gender:
    Female
    In-Game Name:
    Quammar
    the file names may be wrong, you'll have to check to make sure they're correct.
    Names such as karkat_test and yourmarking1 may be different on your end and you need to make sure they're all corresponding correctly.

    have you read some of the tutorials on the site?
    there's a video here http://dawn-of-eternity.com/community/threads/how-to-video-on-making-presets-and-item-presets.319/

    and a thread tutorial here http://dawn-of-eternity.com/community/threads/how-to-create-a-preset.23/
     
  19. Karkat_Vantas

    Karkat_Vantas Active Member

    Joined:
    Jul 12, 2015
    Messages:
    258
    Likes Received:
    63
    Gender:
    Female
    I DID IT THnk you
     
  20. Quammar

    Quammar Member
    Developer

    Joined:
    Nov 25, 2014
    Messages:
    54
    Likes Received:
    15
    Gender:
    Female
    In-Game Name:
    Quammar
    no problem :)
     

Share This Page