HXCpr0n
Mini-Member

Posts: 56
Registered: 08-10 |
Pottus said:
I did something like this similar recently but maybe this will give you some ideas.
1'st Method Sector Effect 1 (Light Phased)
http://download1874.mediafire.com/w...k/lighttest.wad
I've have not used this method myself the test is just a small part from another wad (CEMP) that was relevant to your problem but it is very effective if you want to avoid using scripts.
2'nd Method Scripts
Creates a vertical light sequence that starts at the bottom and moves up. The reference sector tags are all transfer brightness control sectors, essentially you are creating an animated frame sequence with a start frame and end frame the initial frame is configured on the map by setting all light values of the transfer brightness control sectors to the state of the end frame. I'll probably end up making the whole idea more flexible and faster to get working by using array's and loops sometime.
script 4 open
{
Light_RaiseByValue(72, 48);
Light_LowerByValue(73, 8);
Light_LowerByValue(74, 8);
Light_LowerByValue(75, 8);
Light_LowerByValue(76, 8);
Light_LowerByValue(77, 8);
Light_LowerByValue(78, 8);
Delay(10);
Light_LowerByValue(72, 8);
Light_RaiseByValue(73, 48);
Light_LowerByValue(74, 8);
Light_LowerByValue(75, 8);
Light_LowerByValue(76, 8);
Light_LowerByValue(77, 8);
Light_LowerByValue(78, 8);
Delay(10);
Light_LowerByValue(72, 8);
Light_LowerByValue(73, 8);
Light_RaiseByValue(74, 48);
Light_LowerByValue(75, 8);
Light_LowerByValue(76, 8);
Light_LowerByValue(77, 8);
Light_LowerByValue(78, 8);
Delay(10);
Light_LowerByValue(72, 8);
Light_LowerByValue(73, 8);
Light_LowerByValue(74, 8);
Light_RaiseByValue(75, 48);
Light_LowerByValue(76, 8);
Light_LowerByValue(77, 8);
Light_LowerByValue(78, 8);
Delay(10);
Light_LowerByValue(72, 8);
Light_LowerByValue(73, 8);
Light_LowerByValue(74, 8);
Light_LowerByValue(75, 8);
Light_RaiseByValue(76, 48);
Light_LowerByValue(77, 8);
Light_LowerByValue(78, 8);
Delay(10);
Light_LowerByValue(72, 8);
Light_LowerByValue(73, 8);
Light_LowerByValue(74, 8);
Light_LowerByValue(75, 8);
Light_LowerByValue(76, 8);
Light_RaiseByValue(77, 48);
Light_LowerByValue(78, 8);
Delay(10);
Light_LowerByValue(72, 8);
Light_LowerByValue(73, 8);
Light_LowerByValue(74, 8);
Light_LowerByValue(75, 8);
Light_LowerByValue(76, 8);
Light_LowerByValue(77, 8);
Light_RaiseByValue(78, 48);
Delay(10);
Restart;
}
Thanks Pottus, this seems to make more sense to me. However I still can't get the desired effect with that script, it just seems like makes the whole sector flash up and slowly fade rather than the an actual sequence. I used the proper dummy sectors with the transfer brightness action.
I'm just going to try method 1 and see how that works.
|