Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
AmnonLiu

Registered:
Posts: 3
Reply with quote  #1 

I am having trouble solving a DMX lighting transition.

I want to do a transition effect when PLAYER_SHIELDS_RAISED goes on first, before the PLAYER_SHIELDS_ON loop goes on, but PLAYER_SHIELDS_ON starts immediately before the transition.

I am using the same lamps for the shield effect for various ambient lighting, and I don't want them to pop over to the shield lighting effect the instant the shield button is pushed.

I want a sequence like this:

Before shields raised, Lamps: Purple nebula undulation (or some other ambient effect)
On shields raised, Lamps: Sequenced transition from purple to sparkling blue shields
After shields raised, Lamps: Looping sparkling blue

If PLAYER_SHIELDS_ON could be delayed by 1500ms before looping, it would all work. If I put in a gap at the start, the gap loops and the lights glitch every time it hits the gap. I can make the blue effect non-continuous, but then I can't do the sparkle animation.

Any ideas?
I would rather just intercept all of the state changes and control my lights with Python. Is there an easy way to do that?

Thanks for any advice!


Dave Thaler

Registered:
Posts: 503
Reply with quote  #2 
Make sure your PLAYER_SHIELDS_RAISED command appears in your DMXcommands file after your PLAYER_SHIELDS_ON command.   If they affect the same channels, then the RAISED effect will override the ON effect until your RAISED effect expires.
AmnonLiu

Registered:
Posts: 3
Reply with quote  #3 
Thanks Dave. That doesn't fix it.
Say I have three lamps, and I want the transition to work as follows. At the start, they are in some state, say purple.

Purple Purple Purple  <- Time before 0,  Current ambient effect, e.g. could be nebula.
Purple Purple Purple <- Time 0,  Shields-up activated
Blue Purple Purple    <-  Time 500, shields starting to transition
Blue Blue Purple    <-  Time 1000, shields continue to transition
Blue Blue Blue < Time 1500, shields fully transitioned.

Or, maybe we were not in a nebula. I want this:
White White White  <- Time before 0,  Current ambient effect, e.g. plain white light
White White White <- Time 0,  Shields-up activated
Blue White White    <-  Time 500, shields starting to transition
Blue Blue White    <-  Time 1000, shields continue to transition
Blue Blue Blue < Time 1500, shields fully transitioned.

The above transitions can work fine, but then the blue lights go out. I can't just keep them blue. If I have all three lamps set to blue when the shields are up, that happens before the transition effect or it never happens at all, depending on how the states are ordered.

I don't think I can fix this with changing the order priority. If I have a background layer that is white lights, that could be overwritten by the purple lights for the nebula. If I have the shield transition sequence, that can incrementally overwrite the nebula with the blue shields or the white lights with the blue shields, and that works fine. But if I have a sold blue field for the steady state of the shields on, it either has to go on top of the purple nebula effect, in which case it overrides it before the transition, or it has to go before the nebula effect, in which case it is overridden by the nebula.


Thanks for considering my problem!






Dave Thaler

Registered:
Posts: 503
Reply with quote  #4 
Quote:
Originally Posted by AmnonLiu

Say I have three lamps, and I want the transition to work as follows. ...


Thanks for the elaboration, I understand now.  You're trying to override the PLAYER_SHIELDS_ON state for the first 1500ms with the prior state, and there's no way to do that currently.
Dave Thaler

Registered:
Posts: 503
Reply with quote  #5 
I decided the ability to delay an effect as you suggested would be more generally useful, to allow transitioning into any continuous effect (e.g., RED_ALERT).  As such, I've now added this feature into Artemis DMX Tools v1.6 so if you install it, you should now be able to do exactly what you wanted here.  I used your example as my specific test case, and added a blurb in the HowTo section of the web site to illustrate. 
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.