Jump to content
  • 0

Light Phased question (UDMF)


Zulk RS

Question

I want to have an effect on a sector that's similar to Light Phased but I want the brightness to go down to 0 when the sector is in its "Dark" state.

 

Basically when you use Light Phased sector effect, I noticed that the lighting fades from dark to bright and then to dark again on loop. This is perfect except when it goes dark, the brightness does not go all the way down to 0. I want it to get down to 0 but I don't know how. I tried Light Glow but then the fading is too fast and I want to stay dark for a couple of extra tics before moving back up to light.

 

How do  I do this?

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

Add Delay(insert number of tics here); after fading to zero, like this as an example:

 

script 1 OPEN

{

 Light_fade(69,192,35);

 Delay(35); <---one second of delay

 Light_fade(69,0,35)

 Delay(140); <---that's for 4 seconds

 Restart;

}

Share this post


Link to post
  • 0

Not familiar with UDMF, but usually light goes to darkest adjacent sector and back. Try making the darkest sector possible and make it adjance to the sector in question. Join them if needed.

Share this post


Link to post
  • 0

I used Light_Fade via scripts but it doesn't stay in dark for extra tics. What I want to happen is:

 

Brightness 0 -> Fade to Brightness 192 -> Fade to Brightness 0 -> Stay at Brightness 0 for a short bit -> Fade to Brightness 192...

Using the script is just continuously fades between 0 and 192 without stopping at 0.

 

Share this post


Link to post
  • 0
30 minutes ago, leodoom85 said:

Add Delay(insert number of tics here); after fading to zero, like this as an example:

 

script 1 OPEN

{

 Light_fade(69,192,35);

 Delay(35); <---one second of delay

 Light_fade(69,0,35)

 Delay(140); <---that's for 4 seconds

 Restart;

}

 

Thanks. This worked. Did not know Restart; was a thing in ACS.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...