Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Mahak on December 29, 2012, 05:24:22 pm

Title: Scripted fading & radar range
Post by: Mahak on December 29, 2012, 05:24:22 pm
Hi all,

Here's an idea I'm trying to implement, but can't for the life of me figure out how to do it.

I'm trying to get ship models to fade out at a certain range from the player, and also have them disappear from the radar.

I'm guessing I can just limit the radar range somehow (like in Nebula missions) but does anyone know if there is a function to fade all models to transparent?  I have been trying to do it via fading texture mipmapping but gives some strange results, and thought this might be easier.  I know it can be done via texture, but would rather a more elegant scripting solution that can be altered easily (rather than re-exporting all textures!).

M.
Title: Re: Scripted fading & radar range
Post by: General Battuta on December 29, 2012, 05:32:19 pm
Maybe use the recently implemented cloak effect?
Title: Re: Scripted fading & radar range
Post by: Droid803 on December 29, 2012, 10:50:14 pm
I've done this. Damn cool effect too (makes the area feel very...dark). I'd release it and show everyone how I did it except I can't because I can't use a certain leaked model. Oh well.
Basically a nebula without the annoying gas poofs, right?
It can be done.

No need for scripting even.
Just use the builtin nebula system in a clever way.

Well, the main problem comes from if there's something BEHIND it when it fades out, which isn't faded out (ie. background nebulae).