Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Starman01 on April 28, 2004, 09:28:52 am

Title: Already known engine bug
Post by: Starman01 on April 28, 2004, 09:28:52 am
I have a small thruster-bug in the newer builds. I'm not sure,
but I heard this problem is already known by you guys.
Check the strange light-effects above and below the engines.
The error is not always visible, depends on the view-angle.
(http://www.starman.ag5.de/pics/fehler2.jpg)

Another question, but I'm not sure if this is a bug or a missing
feature. When I have a model with more than one engine-subsystem,
then the thruster-flames will only be shut off when all engines are
destroyed. Isn't it possible, that when a subsystem is destroyed, it's
depending engine-glows are shut down too, while the other engine
still runs ?
Title: Already known engine bug
Post by: ShadowDrakken on April 28, 2004, 09:35:35 am
that's not a bug, that's caused by the model intersecting the engine's glow... the engine's glow is a 2D imagine always facing you, so when something intersects it, it gets chopped off.  perfectly normal and unavoidable behavior.

The only way to fix it would be to change from using a 2D sprite to using a particle system and slowing down the lesser machines.
Title: Already known engine bug
Post by: Lightspeed on April 28, 2004, 11:08:27 am
Thats a bug that appeared in FSO ever since HT&L was implemented (AFAIK). The original FS2 engine had a 'feature' (bug) in it that allowed the glows to be displayed correctly.

It will be fixed at some point, but really is more complicated to fix than it seems.

The different engines not shutting down properly is a bug recently submitted into Mantis, should be easily fixed (I hope). No idea when that bug sneaked in, tho :)
Title: Already known engine bug
Post by: Starman01 on April 28, 2004, 11:21:06 am
Quote
Originally posted by Lightspeed
The different engines not shutting down properly is a bug recently
submitted into Mantis, should be easily fixed (I hope). No idea when that bug sneaked in, tho :)


Has it worked in orginal FS ? I didn't know at the moment :)

Never mind, I have the biggest trust for you guys, that you will be able
to fix both bugs.  :). Thanks for the answer btw.
Title: Already known engine bug
Post by: Kosh on April 28, 2004, 11:22:47 am
Speaking of known (and old) engine bugs what about that one that makes beams look like they are going through the model?


If that sounds a little vague, sorry but I am not sure how to describe it right now.
Title: Already known engine bug
Post by: kasperl on April 28, 2004, 11:32:52 am
beams are supposed to go straight through a ship they're destroying.....
Title: Already known engine bug
Post by: RandomTiger on April 28, 2004, 12:09:15 pm
The original FS2 engine could cheat when rendering this because it was in 2D.

Now that we are in 3D a solution to this is surprising difficult.
Title: Already known engine bug
Post by: Lightspeed on April 28, 2004, 03:48:50 pm
I still think it could work if you just checked if the engine points are in direct line of sight (as is checked with the subsystem targetting - box = in sight, diamond = out of sight) - and if they are, render them on top of everything else. If not, render them as they're rendered at the moment. While that might not fix everything, it would certainly eliminate up to 70% of the current situations where it looks messed up.

Not sure if that's doable with the FS2code though, or if it would be a ***** to implement.
Title: Already known engine bug
Post by: Skaarj on April 28, 2004, 04:11:36 pm
Quote
kasperl

beams are supposed to go straight through a ship they're destroying.....


i think he means when a ship is firing its beams, the beam goes through its own hull, example a hecate fires its side terslash at a moloch, and the moloch is just in front you will see the beam going through the Hecates "wing" at the front of the ship, in other words i think the right word is clipping, i remember Nico/venom bringing that up a few times think it was him.
Title: Already known engine bug
Post by: Kosh on April 28, 2004, 09:18:57 pm
Quote
Originally posted by kasperl
beams are supposed to go straight through a ship they're destroying.....



No, I mean going through some parts of the ship that are firing them.

For example: A Mara is attacking the Aquitaine. The Aquitaine fires one of it's anti-fighter beams at the Mara. The beam goes through part of the Aquitaine and hits the Mara.


Does that example make it a bit more clear? I just thought of it.
Title: Already known engine bug
Post by: Trivial Psychic on April 28, 2004, 11:37:01 pm
I've also seen this effect when attacking a Sath.  If you're under the "wing" sections of the main side body, sometimes you'll be fired on by a turret thats on the topside of these flanks.
Title: Already known engine bug
Post by: kasperl on April 29, 2004, 03:36:51 am
those are bad models, then. it means that someone forked the firing arcs.

IIRC the bug as been discussed, and it might or might not be fixed/fixable. Run a search.
Title: Already known engine bug
Post by: Kosh on April 30, 2004, 03:34:10 am
Treid running a couple searches, didn't find anything. I have seen this happen in the latest version of SCP, so is it not fixable?
Title: Already known engine bug
Post by: StratComm on April 30, 2004, 09:39:04 am
There was a fix discussed, and even a test build released although the code never made it in to the main branch because of code freeze/breaking backwards-compatability.  Look for "Turret firing bug" and see if that turns up more results.
Title: Already known engine bug
Post by: Kosh on May 01, 2004, 02:12:22 am
Thanks. That was useful.
Title: Already known engine bug
Post by: Bobboau on May 01, 2004, 02:35:22 am
uh, actualy I think that's in