# Scene 7 Setup

CreateNode Scene7Node Root
EnableNode \Scene7Node 0
CreateVariable Scene7NodeMotion Linear 3

CreateNode N_S7DB Scene7Node
AddProperty ModelRenderer S7DBDickBotRenderer \Scene7Node\N_S7DB DickBotModel
BindMaterial S7DBDickBotRenderer Material MT_DickBot
SetRotation \Scene7Node\N_S7DB -90.0f -90.0f 0.0f
SetPosition \Scene7Node\N_S7DB 0.0f -20.0f 11.0f 

CreateVariable EvilBotMotion Linear 3
SetVariableKeyFrame EvilBotMotion 0 225.0 90.0 0.0
SetVariableKeyFrame EvilBotMotion 0.5 225.0 100.0 0.0
SetVariableKeyFrame EvilBotMotion 1.0 225.0 80.0 0.0
SetVariableKeyFrame EvilBotMotion 2.0 225.0 100.0 0.0
SetVariableKeyFrame EvilBotMotion 3.0 225.0 80.0 0.0
SetVariableKeyFrame EvilBotMotion 4.0 225.0 100.0 0.0
SetVariableKeyFrame EvilBotMotion 5.0 225.0 80.0 0.0
SetVariableKeyFrame EvilBotMotion 6.0 225.0 100.0 0.0
SetVariableKeyFrame EvilBotMotion 7.0 225.0 80.0 0.0
SetVariableKeyFrame EvilBotMotion 8.0 225.0 100.0 0.0
SetVariableKeyFrame EvilBotMotion 9.0 225.0 80.0 0.0
SetVariableKeyFrame EvilBotMotion 10.0 225.0 100.0 0.0

CreateVariable EvilBotMotionPos Linear 3
SetVariableKeyFrame EvilBotMotionPos 0 0.0f 20.0f 7.0f 
SetVariableKeyFrame EvilBotMotionPos 1.0 0.0f 4.0f 7.0f 

CreateNode N_S7EB Scene7Node
CreateModel EvilBot "Data\Model\bot.x3d"
CreateMaterial MT_EvilBot Data\Mats\EvilBot.txt
CreateTexture EvilBotTexture "Data\Model\uvlayout.png"
CreateTexture EvilBotTexture2 "Data\Model\uvlayout2.png"
BindTexture MT_EvilBot Texture EvilBotTexture
BindTexture MT_EvilBot Texture2 EvilBotTexture2
AddProperty ModelRenderer EvilBotRenderer \Scene7Node\N_S7EB EvilBot
BindMaterial EvilBotRenderer Material MT_EvilBot
#SetRotation \Scene7Node\N_S7EB 240.0f 90.0f 0.0f
SetRotation \Scene7Node\N_S7EB EvilBotMotion
#SetPosition \Scene7Node\N_S7EB 0.0f 4.0f 7.0f 
SetPosition \Scene7Node\N_S7EB EvilBotMotionPos

