[ACS] Function for changing Floor/Ceiling Brightness (UDMF)

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
Amuscaria
Posts: 6628
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

[ACS] Function for changing Floor/Ceiling Brightness (UDMF)

Post by Amuscaria »

Is there a built-in ACS function for changing just the floor or ceiling brightness levels in UDMF that doesn't affect the entire sector? I have some damaging floors that uses an absolute brightness of 255. I would like to change these back to the default sector brightness when a switch is hit. I can't seem to find any floor-/ceiling-only light control functions in the Wiki, though.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: [ACS] Function for changing Floor/Ceiling Brightness (UD

Post by Enjay »

If what you want doesn't exist, could you light the floor using a dummy sector with light level 255 and a [wiki]Transfer_FloorLight[/wiki] line special to make the damaging floor bright and then change the brightness level of the dummy sector via ACS?
User avatar
Amuscaria
Posts: 6628
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: [ACS] Function for changing Floor/Ceiling Brightness (UD

Post by Amuscaria »

I will give this a try, thanks!

EDIT: That worked perfectly, thanks!
Post Reply

Return to “Mapping”