# Scene 5 Setup

CreateNode Scene5Node Root
EnableNode \Scene5Node 0
CreateVariable Scene5NodeMotion Linear 3
SetVariableKeyFrame Scene5NodeMotion 0  1.9 1.9 1.9
SetVariableKeyFrame Scene5NodeMotion 12 2.7 2.7 2.7
SetScale \Scene5Node Scene5NodeMotion

AddProperty TextRenderer Scene5Title \Scene5Node MainFont "Scene 5"

CreateNode N_WALL Scene5Node
CreateTexture T_WALL "Data\restaurant - wall.png"
CreateMaterial MT_WALL Data\Mats\BasicMaterial.txt
BindTexture MT_WALL Texture T_WALL
SetColour MT_WALL AmbientColour 1.0f 1.0f 1.0f
CreateQuad MO_WALL
AddProperty ModelRenderer WALLRenderer \Scene5Node\N_WALL MO_WALL
BindMaterial WALLRenderer Material MT_WALL
SetScale \Scene5Node\N_WALL T_WALL
SetPosition \Scene5Node\N_WALL 0 0 0.0001

CreateNode N_DBNEB Scene5Node
CreateTexture T_DBNEB "Data\dickbot and evilbot.png"
CreateMaterial MT_DBNEB Data\Mats\BasicMaterial.txt
BindTexture MT_DBNEB Texture T_DBNEB
SetColour MT_DBNEB AmbientColour 1.0f 1.0f 1.0f
CreateQuad MO_DBNEB
AddProperty ModelRenderer DBNEBRenderer \Scene5Node\N_DBNEB MO_DBNEB
BindMaterial DBNEBRenderer Material MT_DBNEB
SetScale \Scene5Node\N_DBNEB T_DBNEB
SetPosition \Scene5Node\N_DBNEB 0 0 0

CreateNode N_TABLE Scene5Node
CreateTexture T_TABLE "Data\restaurant - table.png"
CreateMaterial MT_TABLE Data\Mats\BasicMaterial.txt
BindTexture MT_TABLE Texture T_TABLE
SetColour MT_TABLE AmbientColour 1.0f 1.0f 1.0f
CreateQuad MO_TABLE
AddProperty ModelRenderer TABLERenderer \Scene5Node\N_TABLE MO_TABLE
BindMaterial TABLERenderer Material MT_TABLE
SetScale \Scene5Node\N_TABLE T_TABLE
SetPosition \Scene5Node\N_TABLE 0 0 -0.0001
