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

Scripts for preset item

Discussion in 'Game Help' started by Festral, Feb 24, 2017.

  1. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    I want to try to paint some items for my preset. some of them I wanted to do neon, but I have no need of the script. I tried to use the script from body parts with neon trademarks, but failed to deal with this problem.
     
  2. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    Neon as in glowing? I think I can help with that :D
    It depends on what certain parts you want to appear "neon" the item coding is a bit different than normal preset coding
     
  3. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    I would be grateful for any help ^^I don't know how to draw items from the neon script..
     
  4. SparkleWolf404

    SparkleWolf404 Active Member

    Joined:
    Nov 19, 2015
    Messages:
    924
    Likes Received:
    81
    Gender:
    Female
    In-Game Name:
    SparkleWolf404
    By neon do you mean "glow" or "not responding to light" because those are not the same.
     
  5. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    Most likely "glow"
     
  6. SparkleWolf404

    SparkleWolf404 Active Member

    Joined:
    Nov 19, 2015
    Messages:
    924
    Likes Received:
    81
    Gender:
    Female
    In-Game Name:
    SparkleWolf404
    "glow" would mean it would give off light and wouldn't work if glow is off. "Ignore lighting" would still make it glow but if you have glow off it would still glow.
     
  7. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    [​IMG]

    So A or B as an example:

    A: is defying light, that is a black wrist band but with certain coding it appears light and grey-ish since it is defying normal light

    B: is glowing (the blue is) and as you can see the black is actually a black color while only the glowing blue color glows
     
  8. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    Oh, Yes. I meant option "B" *-* can you explain how you do it?
     
  9. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    Sure! that coding is easier any way XD I was struggling to figure out option A ;u;
    You are gunna need this coding:

    Everything that is bold you have to change in order for it to work for yo~

    texture username_character.png
    tex_address_mode wrap
    filtering trilinear
    }
    }
    }

    material username_character
    {
    receive_shadows on

    technique
    {
    scheme glow
    pass
    {
    texture_unit
    {
    texture glowytext.png
    }
    ambient 0.30 0.30 0.30
    diffuse 0.6 0.6 0.6
    specular 0.1 0.1 0.1
    emissive 0.20 0.10 0.10

    }
    }


    technique
    {
    pass
    {
    cull_hardware none
    cull_software none
    shading gouraud
    ambient 0.6 0.6 0.6 1

    diffuse 0.6 0.6 0.6 1

    specular 0.1 0.1 0.1 1

    texture_unit
    {
    texture username_character.png
    tex_address_mode wrap
    filtering trilinear
    }

    texture_unit
    {
    texture furnumber.png
    }
    }
    }

    }
     
    • Useful Useful x 1
  10. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    Thanks, I'll try :3*
    Another question..how I can put the scripts? for example : Transparency+glow scripts?
     
  11. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    Pardon?
    Like how do you apply them?
    I mean it all goes in your Preset Material, that is where all preset coding that is.

    For Transparency AND glowing that is different coding all together, would you like that instead? It'll be a while to find how ever, depending on what you want glowing
     
  12. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    Sorry for the long answer. things were.
    Take for example your old preset "magma". I noted at the preset time the transparent part, then I created a separate file with the markings that should be "light". I couldn't join the scripts together (glow in the dark and transparent).. ;-;
    [​IMG]
    material festral_magmaskeleton
    {
    receive_shadows on
    technique
    {
    pass
    {
    ambient 0.7 0.7 0.7 1
    alpha_rejection greater_equal 128
    diffuse 0.5 0.5 0.5 1
    alpha_rejection greater_equal 128
    specular 0.01 0.01 0.01 1
    alpha_rejection greater_equal 128
    emissive 0.1 0.1 0.1 1
    alpha_rejection greater_equal 128?

    texture_unit
    {
    texture festral_magmaskeleton.png
    }
    }
    }
    }
     
  13. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    O so you want your preseted item to be both glowing and transparent? I could help with that :D but it all depends on what you want glowing and what is transparent.
    Mind sending the preset over so I may be able to test which coding works best? I'm usually pretty good with this stuff~
     
  14. Festral

    Festral Member

    Joined:
    Apr 30, 2016
    Messages:
    36
    Likes Received:
    16
    Gender:
    Female
    In-Game Name:
    Festral
    I'm sorry, you want I gave you preset, so that you can understand scenarios?understood correctly? XD
     
  15. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    Yes please, So I can see what coding will work for you.
    But you must tell me what you want glowing and what you want to be transparent
     

Share This Page