Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: WMCoolmon on October 25, 2005, 03:07:31 am

Title: Something to play with
Post by: WMCoolmon on October 25, 2005, 03:07:31 am
"Incomplete feature" mode....to quote myself from the BSG forum.

Quote
Bah! Fine.

Nebula distance build (http://fs2source.warpcore.org/exes/fs2_open_bsg.zip)

These are the default values (Go at the bottom of nebula.tbl). The first value is the minimum distance, the next value is the maximum distance. That is, I think the first value is when fogging is supposed to start, the last value is when the ship is supposed to be totally obscured by the nebula.

Code: [Select]
#Fog distance
$No type:               (0, 0)
$Cargo:                    (10, 500)
$Fighter/bomber:          (10, 500)
$Cruiser:               (10, 600)
$Freighter:               (10, 600)
$Capital:               (10, 750)
$Transport:               (10, 500)
$Support:               (10, 500)
$Navbuoy:               (10, 500)
$Sentry gun:               (10, 500)
$Escape pod:               (10, 600)
$Super cap:               (10, 1000)
$Stealth:               (10, 500)
$Fighter:               (10, 500)
$Bomber:               (10, 500)
$Drydock:               (10, 750)
$AWACS:                    (10, 600)
$Gas miner:               (10, 600)
$Corvette:               (10, 600)
$Knossos device:          (10, 1000)
#End


I couldn't get it to actually change the fogging distance for the Hercules fighter, but I can verify that the stuff is making it into the fogging table.
Title: Something to play with
Post by: redmenace on October 25, 2005, 03:35:58 am
Really belongs in the recent build forum.
Title: Something to play with
Post by: WMCoolmon on October 25, 2005, 03:51:28 am
Eh, doesn't matter to me.

Like I said, it's not working very well at all. I had some luck, but right now it's unreliable and I haven't been able to pin it down.

I'm starting to suspect it's something lowlevel, or a hardcoded variable I didn't catch.
Title: Something to play with
Post by: karajorma on October 25, 2005, 11:05:04 am
Moved.

Looks like an interesting feature once you can get it working properly :)
Title: Something to play with
Post by: Gregster2k on October 26, 2005, 11:39:40 am
What's this supposed to do, make the nebula obscure some objects faster or more than it obscures others?
Title: Something to play with
Post by: DaBrain on October 29, 2005, 05:30:38 am
Apart from the nebula poofs, FS2 is able to create distance fog. (one color)

This distance fog looks great in ground missions. The bad thing is, the fog was way too thick. This feature should help to fix the problem. :)
Title: Something to play with
Post by: Trivial Psychic on October 29, 2005, 11:30:47 am
Is this in CVS?
Title: Something to play with
Post by: WMCoolmon on October 29, 2005, 10:06:42 pm
No, because for some reason, part of the time the ships behave like they're using the old values.
Title: Something to play with
Post by: Black Wolf on October 30, 2005, 12:05:12 am
Will this eventually be available with multiple setting for multiple nebula types? so that we can have one class of reallly thin nebula for atmospheric missions, and one standard thickness for standard nebula missions?
Title: Something to play with
Post by: MetalDestroyer on October 30, 2005, 12:16:19 pm
Any screenshots for a demonstration ?
Title: Something to play with
Post by: WMCoolmon on October 30, 2005, 12:38:01 pm
Quote
Originally posted by Black Wolf
Will this eventually be available with multiple setting for multiple nebula types? so that we can have one class of reallly thin nebula for atmospheric missions, and one standard thickness for standard nebula missions?


Theoretically, yes, it could be done without too much trouble.

It's not working yet, though, and I'm not sure why. I'm thinkign there may be a hardcoded value or assumption someplace.