wonderlan / hutch

The coolest LAN Hutch you can make
0 stars 0 forks source link

Lighting events #2

Open troyswanson opened 6 years ago

troyswanson commented 6 years ago

Let's list the events that the hutch should respond to and how they should behave.

IMO, the light scenes should be reflective of different states in the game, as well as respond to events that happen during the course of a round, both for the world as well as the player.

Game States

  1. Freezetime
  2. Regular round
  3. C4 planted
  4. Post round

World Events

  1. Bomb explosion
  2. Bomb defused

Player Events

  1. Fire a bullet
  2. Get a kill
  3. Receive damage
  4. Get killed
  5. Get flash-banged

I think it would be cool to show damage differently depending on the way it was inflicted. For instance, molly damage would be different than bullet damage.

apophisnow commented 5 years ago

I was thinking it would be cool if we could get the player's in game color, but I haven't seen a way to do that yet unless observer_slot is always tied to the same color. I will need to test that. But my point is that if we had the player color, then the hutch could be lit by that color whenever there is no other animation going on. That way it gives us something to transition from and to.

I also think we can start simply with just a couple things like bomb plant and explode and add more as we go. Maybe we could focus on bomb planted, bomb exploaded/defused, and flashbangs to start with. I think that would cover most of the immediate functionality as well as give is a good variety of types of animations (player/environmental).