Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nighteyes on October 22, 2011, 04:41:03 pm

Title: Possible bug with $Blast force:
Post by: Nighteyes on October 22, 2011, 04:41:03 pm
I don't know if this is a bug or not, but its just not working properly.
$Blast Force form explosions that don't have a shockwave will only give a small screen shake effect when in the explosion radius, regardless of the number you put there, instead of the full effect that happens when you hit a shockwave where your whole ship moves about.

is it possible to have the proper effect behavior where the whole ship moves? so if you only want a small screen shake set the blast force to something small, and if you want a big shake and ship being moved about set it to a higher value?

my main reason for asking this change is that there is a shockwave limit in the engine of something like 50 IIRC, if you want flak fire for instance to really  be impossible to fly through each flak burst should really shake your ship about.
currently it seems strange that this feature is simple not working when there is no shockwave...
Title: Re: Possible bug with $Blast force:
Post by: Fury on October 23, 2011, 10:58:57 am
These are two separate things. Blast force is not related to the shockwave or the shudder a shockwave causes. It is force of the kinetic impact, the higher the blast force is, the more your ship is thrown off-course from point of impact. Force of the shudder that is caused by shockwave as far as I can remember, cannot be altered and it only exists if an actual shockwave is produced.

So it's not a bug, you're just mistaking blast force being behind the shudder caused by shockwave. Blast force doesn't shake your ship, it throws ship off-course towards opposite (supposedly) direction of impact.
Title: Re: Possible bug with $Blast force:
Post by: Alan Bolte on October 23, 2011, 01:35:45 pm
I should think that if you set $Shockwave Speed high enough it would be tough to hit the limit unless you're creating dozens of shockwaves per frame.
Title: Re: Possible bug with $Blast force:
Post by: Nighteyes on October 23, 2011, 04:38:13 pm
I should think that if you set $Shockwave Speed high enough it would be tough to hit the limit unless you're creating dozens of shockwaves per frame.

Imagine battlestar type flak field and rehink your statement ;) anyway thats not such a bad idea and I will try it with extremely fast moving shockwaves

Fury: blast force indeed supposed to throw your ship off-course to the opposite direction of impact, but if there is no shockwave then it doesn't work, this is what I meant in the first post, IMO it should work regardless of shockwave or no shockwave
Title: Re: Possible bug with $Blast force:
Post by: Fury on October 23, 2011, 10:15:59 pm
Then it has to be a recent bug because blast force worked fine last spring/summer.