Author Topic: Scripted fading & radar range  (Read 1423 times)

0 Members and 1 Guest are viewing this topic.

Offline Mahak

  • 25
Scripted fading & radar range
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.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Scripted fading & radar range
Maybe use the recently implemented cloak effect?

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Scripted fading & radar range
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).
(´・ω・`)
=============================================================