Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Solatar on August 04, 2008, 10:55:48 pm

Title: Nebula View Distance
Post by: Solatar on August 04, 2008, 10:55:48 pm
Is there a way (I assumed it required a SCP feature) to change how far away a ship is "viewable" in a nebula? I've found using the set nebula sexp and turning off all the poofs allows for a very dense "fog" atmosphere, however ships still only become visible at short distances. I'd like to be able to see large ships from a larger distance; is there a way to adjust this already? I can't find a sexp or a table option to do this, although "nebula view distance" has such a nice ring to it I'm surprised I didn't find a thread while searching...
Title: Re: Nebula View Distance
Post by: WMCoolmon on August 05, 2008, 01:15:49 am
http://www.hard-light.net/wiki/index.php/Objecttypes.tbl#.24Fog:
Title: Re: Nebula View Distance
Post by: Solatar on August 05, 2008, 01:23:57 am
Only one nebula mission in my campaign, so altering a few ships won't break compatibility with the rest of the my small mod. That'll work just fine.

Can't believe I didn't see it. I wasn't expecting it to be in that table, thanks.:)
Title: Re: Nebula View Distance
Post by: Trivial Psychic on August 31, 2008, 11:08:59 pm
Any possibility of making view distances and other nebula range options FRED-definable rather than table-definable?  That way a campaign can have some nebulae be thinner than others.
Title: Re: Nebula View Distance
Post by: TrashMan on September 01, 2008, 05:48:29 am
seconded.
Title: Re: Nebula View Distance
Post by: Colonol Dekker on September 01, 2008, 10:20:16 pm
Thirded.
Title: Re: Nebula View Distance
Post by: Trivial Psychic on September 03, 2008, 10:30:22 pm
On top of that, the use of sexps to alter nebular density, visibility, and scanning ranges in mission, could be coupled with variables and distance checks to create variable density nebulae.  This means you could have an enemy fleet hiding inside a nebular region.  Couple that with the existing sexps which turn nebulae on and off and you have the ability to create nebulae you can exit, without any abrupt boundary.  Would also work well for planetary atmospheres.