top of page

Research Task: Lumberyard Chatplay Integration

After researching Amazon's repackaging of Cryengine which they have now titled Lumberyard i found a feature i was really interested in. Amazon has teamed up with Twitch.Tv to create Chatplay, this allows viewers of a streamer to control elements of the game through the twitch chat. Below i will detail how to create your own example of Chatplay by making a sphere and making it bounce.

  • Create a basic entity and change its mass to 5 and density to 1, it will be affected by wind in the level so go to environment tab and turn wind XY&Z to 0

  • Right click the entity and select make flow graph

  • Add an action impulse node

  • Choose entity input and assign graph entity

  • Ensure the impulse node will work on the sphere

  • Change impulse impulse to 0X,0Y and 50z it will make the sphere lerp up the X axis

  • Add a game start node

  • Add a chatplay channel node

  • Add a chatplay keyword node

  • Click the channel node and add your Twitch channel name

  • Do the same to the keyword node

  • Double click on the keyword input under the keyword node

  • Enter the string bounce

  • Connect the output of the start node into the connect of the channel node

  • Also connect the output of the start into the start of the keyword node

  • And finally link the signal output of the keyword node to the activate in the action impulse node

  • Go to your twitch channel and test it by going into game mode in lumberyard and writing bounce in your twitch chat

I want to integrate this system into a game which fuses rogue-like elements with old school dungeon creation games like dungeon master. A streamer would control a created character and try and make it through a dungeon and the chat would dictate the amount and difficulty of monsters placed throughout the dungeon, possibly even utilising a chessboard like grid for chat to control monster placement.

 
bottom of page