Author Topic: BUG: Unit particles effects on death not functioning properly  (Read 841 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
While unit particle effects work fine on units (ie: the spirits in Wciows beta of his undead mod or the Indian's fire golem), they don't seem to be working for the deaths. The particle effect simply isn't displayed... For example, start a game with the indians, kill their tipi, and compare that in MegaGlest and GAE.

Relatedly, units that are created without moving don't start with particles until they move (such as those made with Lua or as a starting unit).
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: BUG: Unit particles effects on death not functioning properly
« Reply #1 on: 19 October 2010, 03:29:49 »
While unit particle effects work fine on units (ie: the spirits in Wciows beta of his undead mod or the Indian's fire golem), they don't seem to be working for the deaths. The particle effect simply isn't displayed... For example, start a game with the indians, kill their tipi, and compare that in MegaGlest and GAE.

Systems attached to die skills should be working, or is this a 'damage' particle system? They weren't implemented, and when they are they will work differently than in MG, and will need to be specified specifically for GAE.

Quote
Relatedly, units that are created without moving don't start with particles until they move (such as those made with Lua or as a starting unit).

Thanks, will take a look ...
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: BUG: Unit particles effects on death not functioning properly
« Reply #2 on: 19 October 2010, 22:06:44 »
A picture is worth a thousand words. This here is what I am refering to (0.3.1 windows release version):

Code: [Select]
[URL=http://img543.imageshack.us/i/brokendeathparticles.png/][IMG]http://img543.imageshack.us/img543/2956/brokendeathparticles.png[/img][/URL]


As for "Relatedly, units that are created without moving don't start with particles until they move (such as those made with Lua or as a starting unit).", I noticed this when I tested the beta for Wciows undead mod. His "worker" units are spirits which are basically just a tiny cube that depends on a unit particle effect to make them look... spirity. But, the initial ones created on death didn't have this particle effect being displayed at first, but it immediately appeared when I moved that unit for the first time. I also noticed it when I tried to create a firegolem with Lua as a test. Same issue, no particle effects until it did its first command.
« Last Edit: 7 October 2016, 21:45:31 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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