Author Topic: Multiple projectile and splash effects  (Read 5872 times)

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: Multiple projectile and splash effects
« Reply #25 on: 7 July 2011, 15:22:48 »
Cool, Ill try it.  :)
Get the Vbros': Packs 1, 2, 3, 4, and 5!

titi_son

  • Draco Rider
  • *****
  • Posts: 283
  • titi_son
    • View Profile
Re: Multiple projectile and splash effects
« Reply #26 on: 10 July 2011, 15:40:34 »
i saw a bug:
(click to show/hide)
(click to show/hide)
i think the relative thing doesn't really work. here are the particle xmls:
Code: [Select]
<?xml version="1.0" standalone="yes"?>

<projectile-particle-system>

    <texture value="true" luminance="true" path="../lasership/images/particle.bmp"/>

    <model value="true" path="models/rockets.g3d"/>

<mode value="black"/>

<primitive value="quad"/>

<offset x="0" y="-1" z="0.6"/>

<color red="0.01" green="0.01" blue="0.01" alpha="0.5" />

<color-no-energy red="0.1" green="0.1" blue="0.1" alpha="0.6" />

    <size value="1" />

    <size-no-energy value="0.75" />

    <speed value="4" />

<gravity value="0"/>

    <emission-rate value="10" />

    <energy-max value="100" />

    <energy-var value="0" />



    <child-particles value="true">

    <particle-file path="particle_flame.xml">

<offset x="0" y="-1.0" z="1"/>

    <radius value="0.1"/>

    <size value="0.1"/>

    <gravity value="0"/>

    <direction x="0" y="0" z="-2"/>

    <relative value="true"/>

    <fixed value="false"/>

    </particle-file>

    <particle-file path="particle_flame.xml">

<offset x="-0.8" y="-1.0" z="1"/>

    <radius value="0.1"/>

    <size value="0.1"/>

    <gravity value="0"/>

    <direction x="0" y="0" z="-2"/>

    <relative value="true"/>

    <fixed value="false"/>

    </particle-file>

    </child-particles>

<trajectory type="linear">

<speed value="15.0"/>

</trajectory>

</projectile-particle-system>

Code: [Select]
<?xml version="1.0" standalone="yes"?>

<unit-particle-system>

        <texture value="true" path="../lasership/images/particle.bmp" luminance="true"/>

        <model value="false"/>

        <radius value="0.3"/>

        <direction x="0" y="0" z="4"/>

    <primitive value="quad"/>

    <relative value="true"/>

    <fixed value="false"/>

    <offset x="0" y="0" z="0.8"/>

<color red="1.0" green="0.3" blue="0.0" alpha="0.5" />

<color-no-energy red="0.5" green="0.3" blue="0.0" alpha="1" />

        <size value="0.25" />

        <size-no-energy value="0.8" />

        <speed value="3.0" />

    <gravity value="2.0"/>

        <emission-rate value="50" />

        <energy-max value="10" />

        <energy-var value="3" />

</unit-particle-system>
My first Tilseset: SPRING :) (included in Megaglest )

Secret Hint: To play online join the IRC #megaglest-lobby on freenode which is the lobby chat ingame. So you can chat with or wait for people in the lobby without running megaglest all the time.

Mr War

  • Guest
Re: Multiple projectile and splash effects
« Reply #27 on: 10 July 2011, 16:12:25 »
cool mod.

It's not clear to me what the issue is that you've seen. Can you explain what's wrong in the screenshot of the multiple projectile?

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Multiple projectile and splash effects
« Reply #28 on: 10 July 2011, 18:07:15 »
cool mod.

It's not clear to me what the issue is that you've seen. Can you explain what's wrong in the screenshot of the multiple projectile?
The first picture has the flame particles directly centered on the missiles, but in the second, they are moved to the side a bit, which does not look right.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Multiple projectile and splash effects
« Reply #29 on: 11 July 2011, 00:52:19 »
If I were you, I would check to make sure that the model itself is centered where it needs to be.  It may or may not be a problem with the particles at all.

titi_son

  • Draco Rider
  • *****
  • Posts: 283
  • titi_son
    • View Profile
Re: Multiple projectile and splash effects
« Reply #30 on: 11 July 2011, 06:51:53 »
the model is centered BUT i find a way to do this right now but this is a bug anyway: i just place one missle in the flame particles.Then it will work.
I only use this trick if this will not be fixed
« Last Edit: 11 July 2011, 06:59:49 by PT »
My first Tilseset: SPRING :) (included in Megaglest )

Secret Hint: To play online join the IRC #megaglest-lobby on freenode which is the lobby chat ingame. So you can chat with or wait for people in the lobby without running megaglest all the time.

 

anything