@name AlienEngine
@inputs 
@outputs 
@persist 
@trigger 
interval(100)

if (first() | dupefinished()) {
    entity():setAlpha(0)
    
    soundPlay(0,0,"plats/elevator_move_loop1.wav")
    soundVolume(0,0.1)
    
    holoCreate(1)
    holoModel(1, "models/hunter/tubes/tube4x4x1to2x2.mdl")
    holoScale(1, vec(0.23,0.23,0.2))
    holoPos(1, entity():pos()+vec(0,0,8))
    holoAng(1, ang(0,0,180))
    holoMaterial(1, "phoenix_storms/Indenttiles_1-2")
    
    holoCreate(2)
    holoModel(2, "models/props_phx/gears/bevel12.mdl")
    holoScale(2, vec(1.8,1.8,3.8))
    holoPos(2, entity():pos()+vec(0,0,-4))
    holoMaterial(2, "models/gibs/metalgibs/metal_gibs")
    
    holoCreate(3)
    holoModel(3, "models/Mechanics/gears/gear12x24.mdl")
    holoScale(3, vec(1,1,2))
    holoPos(3, entity():pos()+vec(0,0,120))
    holoMaterial(3, "phoenix_storms/Indenttiles_1-2")
    
    holoCreate(4)
    holoModel(4, "models/props_phx/gears/bevel12.mdl")
    holoScale(4, vec(1,1,2.5))
    holoPos(4, entity():pos()+vec(0,0,124))
    holoAng(4, ang(0,0,180))
    holoMaterial(4, "models/gibs/metalgibs/metal_gibs")
    
    holoCreate(5)
    holoModel(5, "models/hunter/tubes/tube1x1x1.mdl")
    holoScale(5, vec(0.3,0.3,0.35))
    holoMaterial(5, "phoenix_storms/Indenttiles_1-2")
    
    holoCreate(6)
    holoModel(6, "cylinder")
    holoPos(6, entity():pos()+vec(0,0,10))
    holoScale(6, vec(1.15,1.15,0.1))
    holoColor(6, vec(0,0,0))
}
holoAng(2,holoEntity(2):angles() + ang(0,5,0))
holoAng(3,holoEntity(3):angles() + ang(0,5.2,0))
holoAng(4,holoEntity(4):angles() + ang(0,-4,0))
holoAng(5,holoEntity(5):angles() + ang(0,5,0))


