Author Topic: Check it out!  (Read 1110 times)

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Egypt Remastered!

Proof: Owner of glest@mail.com

Psychedelic_hands

  • Guest
Re: Check it out!
« Reply #1 on: 19 October 2010, 09:53:13 »
I'd much like this in bot GAE and MG :D

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Check it out!
« Reply #2 on: 19 October 2010, 22:01:03 »
For those who don't want to redirect topics, here is arch's exact words:


Descriptions are useless, so I'm going to cut to examples. ;)



With the current particle system, you can have fire arrows with a flaming arrow but no smoke(and other possible additions...).

Code: [Select]
<?xml version="1.0" standalone="yes"?>
<projectile-particle-system>
        <texture value="true" luminance="true" path="images/defense_tower_particle_proj.bmp"/>
        <model value="true" path="../archer/models/archer_arrow.g3d"/>
    <primitive value="quad"/>
    <offset x="0" y="0" z="0"/>
        <color red="1.0" green="0.4" blue="0.0" alpha="0.5" />
    <color-no-energy red="0.5" green="0.5" blue="0.5" alpha="0.0" />
        <size value="0.7"/>
        <size-no-energy value="0.1" />
        <speed value="0.5" />
    <gravity value="0"/>
        <emission-rate value="5" />
        <energy-max value="3" />
        <energy-var value="5" />
   
    <trajectory type="parabolic">
        <speed value="20"/>
        <scale value="1.5"/>
    </trajectory>
</projectile-particle-system>

The the minor change I have in mind, you would be able to have a flaming arrow, smoke trail, other little fiery effects in one XML.

Code: [Select]
<?xml version="1.0" standalone="yes"?>
<projectile-particle-system>
        <texture value="true" luminance="true" path="images/defense_tower_particle_proj.bmp"/>
        <model value="true" path="../archer/models/archer_arrow.g3d"/>
    <primitive value="quad"/>
    <offset x="0" y="0" z="0"/>
        <color red="1.0" green="0.4" blue="0.0" alpha="0.5" />
    <color-no-energy red="0.5" green="0.5" blue="0.5" alpha="0.0" />
        <size value="0.7"/>
        <size-no-energy value="0.1" />
        <speed value="0.5" />
    <gravity value="0"/>
        <emission-rate value="5" />
        <energy-max value="3" />
        <energy-var value="5" />
   
    <trajectory type="parabolic">
        <speed value="20"/>
        <scale value="1.5"/>
    </trajectory>
</projectile-particle-system>

<projectile-particle-system2>
        <texture value="true" luminance="true" path="images/defense_tower_particle_proj.bmp"/>
        <model value="false"/>
    <primitive value="quad"/>
    <offset x="0" y="0" z="0"/>
        <color red="0.5" green="0.5" blue="0.5" alpha="0.5" />
    <color-no-energy red="0.5" green="0.5" blue="0.5" alpha="0.5" />
        <size value="0.6"/>
        <size-no-energy value="0.7" />
        <speed value="0.5" />
    <gravity value="-0.05"/>
        <emission-rate value="8" />
        <energy-max value="5" />
        <energy-var value="80" />
   
    <trajectory type="parabolic">
        <speed value="20"/>
        <scale value="1.5"/>
    </trajectory>
</projectile-particle-system2>

Now, I know these examples aren't based on the MG particle system, but the parameters that are in MG but not in this example do not effect the idea I'm trying to exemplify.



So, what do you guys think?
I can't imagine this would be very hard to make happen.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Check it out!
« Reply #3 on: 21 October 2010, 00:56:30 »
Quote from: -Archmage-
So, what do you guys think?

I think your XML is invalid  :P

But apart from that, interesting idea.

There are a lot of things I'd like to do with particle systems, multiple emitters (which would probably make this request redundant), 'targets' and trajectories for unit particle systems, new trajectories, orbits, etc, etc...

Unfortunately there are a lot of other things to do as well, so none of it is likely in the immediate future.

Glest Advanced Engine - Code Monkey

Timeline | Downloads

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Check it out!
« Reply #4 on: 21 October 2010, 02:35:37 »
Quote from: -Archmage-
So, what do you guys think?

I think your XML is invalid  :P

But apart from that, interesting idea.

There are a lot of things I'd like to do with particle systems, multiple emitters (which would probably make this request redundant), 'targets' and trajectories for unit particle systems, new trajectories, orbits, etc, etc...

Unfortunately there are a lot of other things to do as well, so none of it is likely in the immediate future.


Hmmm.....

I took a look at the feature/bug tickets, and I've also been following all the feature requests. I get the idea that unimportant things are taking precedence over more important things. :look:
I think things like turrets and campaigns would add a helluva a lot to GAE and so deserve higher priority, though obviously bugfixes get the top priority.  ;)
Egypt Remastered!

Proof: Owner of glest@mail.com

 

anything