Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Colored Sectors
 
Author
All times are GMT. The time now is 14:17. Post New Thread    Post A Reply
White
Green Marine


Posts: 35
Registered: 06-02


Please explain exactly how to create sectors that are (opened) in that particular color. I believe I need to use a script or something relative to that, but I have not taken the time to fully understand such things. Thank you for your time.

Black/White

__________________
-The King of Thieves-

Old Post 09-20-02 15:43 #
White is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Darkstalker
Should be mapping


Posts: 1107
Registered: 12-01


script 1 OPEN
{
sector_setcolor(tag,red,green,blue);
}

The value of RGB are 0 to 255

Old Post 09-20-02 15:52 #
Darkstalker is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 5536
Registered: 12-00


There is another way. I found it by accident when I converted a standard style Zdoom map using Zwadconv. The original map had coloured lighting created using a linedef and the converted map had it set up this way. I think it is essentially an undocumented feature.

In ZdoomHexen style mode:

Make a line type 190

Tag the line to the sector you want

set the second arg of the line to 1

make the upper texture of the line a number to represent the colour you want the lighting in the sector to be. eg FF0000 would be red light.

Voila, a red sector with no scripting.

__________________
Meek

Old Post 09-20-02 19:37 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
White
Green Marine


Posts: 35
Registered: 06-02


Thank you for your help. It is greatly appreciated. Looking back, I believe the problem was I put parentheses around the OPEN, thus it never worked correctly. Regardless, it should work now.

Black/White

__________________
-The King of Thieves-

Old Post 09-20-02 22:20 #
White is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 14:17. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Colored Sectors

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory