@name 
@inputs 
@outputs 
@persist T R E:entity
@trigger 
@model models/props_phx/construct/metal_plate4x4.mdl

interval(1)
if(first()){
E = entity()
E:setAlpha(0)
#E:setColor(vec4(0,0,0,0))

#J = propSpawn("models/props_phx/construct/metal_plate4x4.mdl",E:pos(),1)
holoCreate(1)
#J:setColor(vec4(0,0,0,0))
#E:parentTo(J)
holoModel(1,"models/props_phx/construct/metal_angle360.mdl")
holoScale(1,vec(2.5,2.5,2.5))
holoParent(1,E)
holoAng(1,E:angles())
holoAng(4,E:angles())
holoAng(5,E:angles())
holoAng(6,E:angles())
holoAng(7,E:angles())
holoAng(8,E:angles())
holoCreate(2)
holoModel(2,"models/Mechanics/gears2/vert_12t1.mdl")
holoScale(2,vec(6,6,4))
holoPos(2,E:pos() + vec(0,0,-12))
holoParent(2,1)
holoCreate(3)
holoModel(3,"models/Mechanics/gears2/vert_36t1.mdl")
holoScale(3,vec(1.5,1.5,1))
holoPos(3,E:pos() + vec(0,0,-18))
holoParent(3,1)
holoCreate(4)
holoModel(4,"cube")
holoMaterial(4,"phoenix_storms/metalset_1-2")
holoScale(4,vec(2,2,10))
holoPos(4,E:pos() + vec(0,-100,63))
holoParent(4,E)
holoCreate(5)
holoModel(5,"cube")
holoMaterial(5,"phoenix_storms/metalset_1-2")
holoScale(5,vec(2,2,10))
holoPos(5,E:pos() + vec(0,100,63))
holoParent(5,E)
holoCreate(6)
holoModel(6,"cube")
holoMaterial(6,"phoenix_storms/metalset_1-2")
holoScale(6,vec(2,2,10))
holoPos(6,E:pos() + vec(100,0,63))
holoParent(6,E)
holoCreate(7)
holoModel(7,"cube")
holoMaterial(7,"phoenix_storms/metalset_1-2")
holoScale(7,vec(2,2,10))
holoPos(7,E:pos() + vec(-100,0,63))
holoParent(7,E)
holoCreate(8)
holoModel(8,"models/props_phx/construct/metal_angle360.mdl")
holoScale(8,vec(2.5,2.5,2.5))
holoPos(8,E:pos() + vec(0,0,121))
holoParent(8,E)

T = 0

}
T++

holoAng(2,E:toWorld(ang(0,T,180)))
holoAng(3,E:toWorld(ang(0,-T,0)))

