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.
Changing 3D sector colored lighting mid-game?
Moderator: Graf Zahl
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
-
- Stronghold Team
- Posts: 210
- Joined: Fri Aug 01, 2008 23:07
- Location: Aus
Re: Changing 3D sector colored lighting mid-game?
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 66 times
- NeoHippo
- Posts: 408
- Joined: Tue Sep 13, 2005 0:47
- Location: British Columbia Canada
Re: Changing 3D sector colored lighting mid-game?
I came up with this, maybe it will fill the bill
- Attachments
-
- 3D_lighting.wad
- (1.89 KiB) Downloaded 64 times
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
Re: Changing 3D sector colored lighting mid-game?
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.