Author Topic: new particle features ...  (Read 2223 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
new particle features ...
« on: 25 September 2010, 16:59:38 »
Things like the genies in the following screenshot are possible now:

You can have a static number of particles in a particle system now. Their energy is always alternating up and down, but they don't dissapear. ( make noEnergy / Energy the same if you don't want this alternating thing )
in the xml its marked like this:
...
<static-particle-count value="1" />
...
the particles have no more movement! So speed, gravity and direction doesn't matter.

------------------------------------

Another thing I did was making the emissionrate a float value, which allows values <1 now like 0.01 for example. This will allow a particle system that only emitters a new particle every 100th update step.
...
       <emission-rate value="0.01" />
...

example for the static-particle-count


These particles effects are not set in the official megapack data yet, But I hope to do that soon! So if you want to see it you have to make the changes on your own ( at the moment )!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: new particle features ...
« Reply #1 on: 25 September 2010, 23:50:20 »
First of all why is the genie's glow different colours?

And so now they can glow? Are the particles moving up and down? or stationary?
Get the Vbros': Packs 1, 2, 3, 4, and 5!

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: new particle features ...
« Reply #2 on: 26 September 2010, 00:47:00 »
The genies don't use it yet, itwas just my test techtree.
And the particles are stationary.

Whats still missing is a switch for day/night/always for particles
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: new particle features ...
« Reply #3 on: 26 September 2010, 05:31:06 »
First of all why is the genie's glow different colours?
Team color.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: new particle features ...
« Reply #4 on: 27 September 2010, 20:56:03 »
no no teamcolor ...

but look here , this is the way it will look like. I think I will add this for next release.

Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: new particle features ...
« Reply #5 on: 27 September 2010, 23:49:24 »
Oh, so this was what you were trying to do before...and now succeeded, I guess.  :thumbup: Looks cool...
This won't affect performance, right? I guess it should be ok.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: new particle features ...
« Reply #6 on: 28 September 2010, 07:23:35 »
yes it should not really affect performance. Its just one particle per unit.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: new particle features ...
« Reply #7 on: 29 September 2010, 00:19:58 »
if anyone wants to try ( very small download! )

the green particles for the genies:
http://www.titusgames.de/tmp/genietest.tar.gz

Save original files first to stay multiplayer ready ( only if they exist of course )!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: new particle features ...
« Reply #8 on: 5 October 2010, 02:51:48 »
(BTW, this is in SVN now...)

I have a feeling 3.3.7 is coming soon...

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: new particle features ...
« Reply #9 on: 5 October 2010, 11:21:07 »
I have this feeling, too. And the genie particle doesn't impact performance in a noticeable way - I had a bunch yesterday when playing with titi and performance was the same it usually is (around 18 RenderFPS with a couple dozen units near my base on my integrated Intel GPU).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: new particle features ...
« Reply #10 on: 7 October 2010, 00:40:50 »

...Anyways,  the bad thing about this (at least for genies) is that it is hard to find your own genie...when your teammates' genies are bunched up with them.  :| Maybe somehow by teamcolor would be better...not sure.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: new particle features ...
« Reply #11 on: 7 October 2010, 11:56:23 »
I had the same problems with the team color and the glow effect. I think I will switch to teamcolor. I tried it and it looks good!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: new particle features ...
« Reply #12 on: 8 October 2010, 01:49:02 »
I had the same problems with the team color and the glow effect. I think I will switch to teamcolor. I tried it and it looks good!
Cool, good choice.

 

anything