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

Solved particle help?

Discussion in 'Game Help' started by lunareclipse, Sep 25, 2016.

  1. lunareclipse

    lunareclipse Member

    Joined:
    Jun 6, 2015
    Messages:
    47
    Likes Received:
    22
    In-Game Name:
    robot
    edit: nvm im an idiot i didnt realise you can just put the filename if its in the map folder soRRY


    im trying to create a new particle to add to a map, but it only seems to half work:
    [​IMG]
    like, it reads how to make the particle move but not the texture for it :L
    i've tried placing the files and texture in mods/particle, mods/FX, and the map folder, but none of them have fixed it. help?
    here's my particle code (i borrowed the texture/particle from lm as a test):

    particle_system Space
    {
    quota 500
    material Dream/flare
    particle_width 15
    particle_height 15
    cull_each true
    renderer billboard
    billboard_type oriented_self

    emitter Point
    {
    angle 90
    colour 0.1 0.1 0.1 1
    colour_range_start 0.1 0.1 0.1 1
    colour_range_end 1 1 1 1
    direction 0 0 -1
    emission_rate 400
    position 0 0 0
    velocity 25
    velocity_min 25
    velocity_max 25
    time_to_live 2
    time_to_live_min 10
    time_to_live_max 2
    duration 0
    duration_min 0
    duration_max 0
    repeat_delay 0
    repeat_delay_min 0
    repeat_delay_max 0
    }

    affector ColourFader
    {
    red -0.5
    green -0.5
    blue -0.5
    alpha 0
    }
    }
    material flare
    {
    technique
    {
    pass
    {
    lighting off
    scene_blend add
    depth_write off
    fog_override true

    texture_unit
    {
    texture flare.png
    }
    }
    }
    }
     
    #1 lunareclipse, Sep 25, 2016
    Last edited: Sep 25, 2016
    • Informative Informative x 1
  2. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    does...does this work? o-o
     
  3. lunareclipse

    lunareclipse Member

    Joined:
    Jun 6, 2015
    Messages:
    47
    Likes Received:
    22
    In-Game Name:
    robot
    yeah :'D
    you put the .particle and the texture for it's .material file in the map folder (and the texture.png), and in the .material file where you put the texture name, you just need to put:
    Code:
        material    flare
    instead of

    Code:
        material    folderlocationname/flare
     
  4. Snuggypink

    Snuggypink Preset Converter
    Staff Member

    Joined:
    Jun 21, 2015
    Messages:
    689
    Likes Received:
    72
    Gender:
    Female
    so if i were to make say snow, or steam, all i have to do is copy the fixed coding there and find a texture?
     
    • Agree Agree x 1
  5. lunareclipse

    lunareclipse Member

    Joined:
    Jun 6, 2015
    Messages:
    47
    Likes Received:
    22
    In-Game Name:
    robot
    yep!
     

Share This Page