Daraan on 30/12/2013 at 11:47
I have the problem that firebolt explosions cause huge lags when they hit the player. Game slows down for ~1sec. I first thought it might be a postprocessing and turned it off but it was still there.
Inline Image:
http://imageshack.us/scaled/medium/36/o8g2.jpgIf the firebolt hit something that is further away there is no lag only with close center screen hits.
Inline Image:
http://imageshack.us/scaled/medium/43/32hr.jpgAny ideas how to fix?
voodoo47 on 30/12/2013 at 12:49
this has been there from the day one, I believe - it's just that there are a lot of particle and light effects on the entire screen at the same time when the arrow explodes too close to the player, and this will cause the lag. reworking the effect should help a little (I think T2x does this).
Yandros on 30/12/2013 at 14:31
Voodoo is right, try reducing the number of particles in the FX. Fewer, larger particles may help without significantly impacting the look of the explosion.
Nameless Voice on 1/1/2014 at 16:08
It happens because the heat from the firebolt causes your CPU to overheat and temporarily stall.
More seriously, though, Dark has always had very poor rendering of huge particles, where a single particle takes up a huge amount of screen space. You could try switching it to use the NewDark-specific "bitmap disk" effect type, though I have no idea if the rendering of those is any more or less efficient at large sizes.
darthsLair on 1/1/2014 at 16:35
Quote Posted by Nameless Voice
It happens because the heat from the firebolt causes your CPU to overheat and temporarily stall.
:laff: That is the way I used to think! I have been using the bitmap disk, and find the particle effects to be much better. I have been using bitmap/fpuff for fire.
Daraan on 1/1/2014 at 16:48
Wanna post your setting(s)?
Particles is still a topic where I have nearly no knowledge about.
darthsLair on 1/1/2014 at 16:58
Quote Posted by Daraan
Wanna post your setting(s)?
Particles is still a topic where I have nearly no knowledge about.
This is the tutorial I followed for the fpuff fire:
(
http://thief.starforge.co.uk/wiki/Tutorials:NewDark/Particle_effects_-_Bitmap_Disk_Fire) http://thief.starforge.co.uk/wiki/Tutorials:NewDark/Particle_effects_-_Bitmap_Disk_Fire
When you create it into the concrete object you may get a 4x4x4 unknown object, just use FxParticle for the model name.
Another good fire is by R Soul, his brazier with the attached pfire fire.
If you want a giant fire, sliptip has an emitter system which works real well in NewDark.