Changing 3D sector colored lighting mid-game?

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
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Changing 3D sector colored lighting mid-game?

Post by Rex Claussen »

I am trying to change a 3D sector's lighting via a script, but nothing seems to work. I have tried both the Sector_SetColor as well as the Sector_SetFade specials. I did a search on the forums and came across a rather old post, which indicated that at least a remotely similar problem had been fixed. (And yes, I am assigning a sector tag to the control sector and using that tag in the script.)

If someone knows how to change a 3D sector's color via a script please post it here and I will analyze it to see what I'm doing wrong. Thanks.
Starscream2
Stronghold Team
Posts: 210
Joined: Fri Aug 01, 2008 23:07
Location: Aus

Re: Changing 3D sector colored lighting mid-game?

Post by Starscream2 »

Im not sure if I did what you did, as the attachment to this post changes the color of the 3d sector and the sector the 3d floor is in sucsessfuly.
Attachments
ColorChange.wad
(3.2 KiB) Downloaded 65 times
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Re: Changing 3D sector colored lighting mid-game?

Post by NeoHippo »

I came up with this, maybe it will fill the bill
Attachments
3D_lighting.wad
(1.89 KiB) Downloaded 63 times
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Re: Changing 3D sector colored lighting mid-game?

Post by Rex Claussen »

Thank you guys for helping. I am traveling at the moment, and I'll check out the files as soon as I get a chance.
Locked

Return to “GZDoom”