SetSectorGlow

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

SetSectorGlow

Post by Kappes Buur »

How does it work?

MaxED had added it to GZDB and when asked why it does not work, he said that GZDoom had not yet implemented it.
This seems to be born out in that GZD-x64 g2.4pre-219 still does not respond to the editor settings.

When checking rheit/acc/zspecial.acs I find

Code: Select all

// GZDoom OpenGL
	-400:SetSectorGlow(6)
but no such entry in the WIKI to explain its use.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: SetSectorGlow

Post by Graf Zahl »

SetSectorGlow(tag, floorceiling, r, g, b, height); floorceiling 0 for floor, 1 for ceiling.
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: SetSectorGlow

Post by Kappes Buur »

Graf Zahl wrote:SetSectorGlow(tag, floorceiling, r, g, b, height); floorceiling 0 for floor, 1 for ceiling.
Thank you.

So, I made a test map, but for some reason the glows for floor and ceiling do not work.
After the scripted delay of 6 seconds the ceiling does change ever so slightly in brightness, and that is it.

Image

Could somebody take a look at my map and correct why it does not work ?

{edit]
deleted example pwad as problem is solved
Last edited by Kappes Buur on Wed Jan 25, 2017 19:19, edited 1 time in total.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: SetSectorGlow

Post by Graf Zahl »

I can't check right now, so can you try a fixed point number for the height?
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: SetSectorGlow

Post by Kappes Buur »

  • SetSectorGlow ( 100, 0, 255, 79, 79, 96.0 );
    SetSectorGlow ( 100, 1, 117, 117, 255, 96.0 );
No change :(
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: SetSectorGlow

Post by Kappes Buur »

It did not work from the script.

Okay, it does work with setting the editor, however in a way I did not expect.
I expected that the floor/ceiling texture would glow, instead it is the linedefs surrounding the sector which glow.

Before
Image

Settings in editor
Image

After
Image

After with 3D sectors
Image
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: SetSectorGlow

Post by Graf Zahl »

That's the intended effect. The fullbright setting for the texture is a different property.
Locked

Return to “GZDoom”