Author Topic: "$Ship Death Effect:" not working  (Read 142 times)

0 Members and 1 Guest are viewing this topic.

"$Ship Death Effect:" not working
I've been playing with the Particle Effect from the wiki ( http://wiki.hard-light.net/index.php/Particle_Effects ), trying to work around the issues I had with the Death flash script (lag, not working on debug builts) and the description of "$Ship Death Effect:" ( http://wiki.hard-light.net/index.php/Ships.tbl#.24Ship_Death_Effect: ) seemed just to fullfill all my needs. When I used it however, the effect that worked with the script did not show up, not matter what I did.

First I've tried something that equals the description on the wiki:

Code: [Select]
#Particle Effects
$Effect: TestTest
$Type: Single
+Filename: ExpFlashBlue
+Size: (19000)
#End

After that didn't worked I also took a look at the JAD table, but it did not work either. (I did a couple more attempts, but neither worked).

Code: [Select]
#Particle Effects
$Effect: TestTest
$Type: Single
+Filename: ExpFlashBlue
+Size: (19000)
+Lifetime: (1000)
+Duration: Always
#End

The only thing there was in the Debug log is following:

Quote
TBM  =>  Starting parse of 'ExploNew-part.tbm' ...
BMPMAN: Found EFF (ExpFlashBlue.eff) with 39 frames at 10 fps.

Any thoughts?
« Last Edit: July 15, 2018, 12:45:35 pm by Nightmare »

 
Re: "$Ship Death Effect:" not working
OK, I've managed to find the problem- apparently $Ship Death Effect: is simply not working. I used the same TestTest particle effect as weapon impact, and it worked properly. One thing I've noticed though, is that the quality of the effect is extreme low, as if the resolution of the effect used (1024*1024 png) would've been just 64*64 pcx files. In case somebody wants to fix this someday, would it be possible to have them in full quality (or atleast, higher)?

 

Offline m!m

  • 210
Re: "$Ship Death Effect:" not working
 :banghead:

Quick test, try to add a dummy effect before your real particle effect. That should fix it. This is another instance of stuff not working because a single character is missing. While I'm working on the particle code I might as well fix this by using a better type for these handles...

EDIT: This should fix the death effect: https://github.com/scp-fs2open/fs2open.github.com/pull/1797
« Last Edit: July 15, 2018, 01:23:20 pm by m!m »

 
Re: "$Ship Death Effect:" not working
Ah, OK thank you! :) :yes:

Maybe you could link the detail level to "+Size:" of the particle effect? I like the idea of having some sort of native "Death flash" rather than the scripted one, but it looks horibble underdetailed (I can add pics if required).
« Last Edit: July 15, 2018, 01:39:00 pm by Nightmare »