Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vanilla Bug] NaturalParticleSystem bugs/limitations #721

Open
Crimsonum opened this issue Dec 5, 2021 · 0 comments · May be fixed by #727
Open

[Vanilla Bug] NaturalParticleSystem bugs/limitations #721

Crimsonum opened this issue Dec 5, 2021 · 0 comments · May be fixed by #727
Assignees
Labels
vanilla-bug Something isn't working in the original game

Comments

@Crimsonum
Copy link

Crimsonum commented Dec 5, 2021

Description:

DamageParticleSystems defines particle systems that the building type will generate when damaged to 50% health or below.
There's a similar but unused logic in the game where building types would generate a particle system at full health. This is accomplished via the keys NaturalParticleSystem and NaturalParticleLocation.

Conditions:

Example rules.ini code:

[GAPOWR]
NaturalParticleSystem=SmallGreySSys
NaturalParticleLocation=-300,-300,-1000

[NAPOWR]
NaturalParticleSystem=SmallGreySSys
NaturalParticleLocation=200,200,300

Expected Behaviour:

Here's my suggestions on how the system should work:

  • NaturalParticleSystem allows for 1 or more attached particle systems (or should it then be called NaturalParticleSystems?)
  • NaturalParticleSystem is spawned after the builup animation is completed
  • NaturalParticleSystem is removed when the building is sold, destroyed
  • NaturalParticleSystem is hidden when the building is cloaked
  • NaturalParticleLocation allows for defining the particle system location in the same manner as DamageSmokeOffset, i.e. X,Y,Z.

Actual Behaviour:

  • NaturalParticleSystem allows for only 1 entry
  • NaturalParticleSystem is spawned as soon as the building is placed
  • NaturalParticleSystem is never removed or hidden
  • Particles generated by NaturalParticleSystem freeze on their location indefinitely when the building is cloaked
  • NaturalParticleLocation X and Y coords work, but Z is ignored.
  • Depending on NaturalParticleLocation and where you place the building, the particle system origin may end up detached from the building.

Additional Files:

GIF 1
GIF 2

@Crimsonum Crimsonum added the vanilla-bug Something isn't working in the original game label Dec 5, 2021
@CCHyper CCHyper self-assigned this Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vanilla-bug Something isn't working in the original game
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants