Flashing cockpit when ground is fired upon?!

YSFlight addon development, questions, tutorials, & more!
Post Reply
User avatar
Grigor
Contributor
Contributor
Posts: 171
Joined: Wed Mar 16, 2011 7:57 am
Has thanked: 24 times
Been thanked: 95 times

Flashing cockpit when ground is fired upon?!

Post by Grigor » Wed Sep 07, 2011 5:41 am

I know this is a long-winded heading, but it was bugging the crap out of me for hours.

Every time I fired upon a ground target my whole cockpit, instrument panel etc would flash white for no apparent reason. This did not happen on every model or every plane. After wasting hours digging through the .dnm model and changing stuff there - to no avail - I started going through the .dat file line by line. Here's what I found:

For some improbable reason, if you leave out the SMOKEGEN line, you get this weird flash when you hit the ground with gunfire. So even if you're not planning on using smoke, put the line in anyway or Weird Things will happen to the model. Unless you like the flash happening. I certainly didn't.

Hope this helps somebody.

Shutter

Re: Flashing cockpit when ground is fired upon?!

Post by Shutter » Wed Sep 07, 2011 5:32 pm

Weird.

User avatar
Honey Badger
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1843
Joined: Thu Jun 30, 2011 8:17 pm
Favorite Aircraft: Anything that gets off the ground
Location: From Louisiana, stationed in Alabama
Has thanked: 226 times
Been thanked: 69 times

Re: Flashing cockpit when ground is fired upon?!

Post by Honey Badger » Wed Sep 07, 2011 5:55 pm

I have that problem on Huey Hogs, regardless of author.
USAF Computer Systems Programmer (3D0X4)
"Powerpoint Ranger"

User avatar
Grigor
Contributor
Contributor
Posts: 171
Joined: Wed Mar 16, 2011 7:57 am
Has thanked: 24 times
Been thanked: 95 times

Re: Flashing cockpit when ground is fired upon?!

Post by Grigor » Tue Sep 13, 2011 8:57 pm

Definitely the SMOKEGEN line. I've taken it out of a few random planes to check. Add a SMOKEGEN to those Hueys and it should go away.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests