@name S.H.A.R.K
@inputs Prop:entity
@outputs 
@persist 
@trigger 
interval(50)

if (first()) {
    holoCreate(1)
    holoModel(1,"models/props_wasteland/light_spotlight01_lamp.mdl")
    holoPos(1,Prop:toWorld(vec(0,-78,14)))
    holoAng(1,Prop:toWorld(ang(40,-90,0)))
    holoScale(1,vec(2.2,1.8,1.8))
    holoParent(1,Prop)
    
    holoCreate(2)
    holoModel(2,"models/hunter/tubes/tubebend1x1x90.mdl")
    holoMaterial(2,"sprops/trans/misc/ls_m2")
    holoPos(2,Prop:toWorld(vec(0,-45,14)))
    holoAng(2,Prop:toWorld(ang(0,0,90)))
    holoScale(2,vec(0.9,0.55,0.55))
    holoParent(2,Prop)
    
    holoCreate(3)
    holoModel(3,"models/hunter/tubes/tubebend1x1x90.mdl")
    holoMaterial(3,"sprops/trans/misc/ls_m2")
    holoPos(3,Prop:toWorld(vec(0,-58,30)))
    holoAng(3,Prop:toWorld(ang(0,0,0)))
    holoScale(3,vec(0.9,0.55,0.55))
    holoParent(3,Prop)
    
    holoCreate(4)
    holoModel(4,"hq_torus")
    holoColor(4,vec(0,0,0))
    holoPos(4,Prop:toWorld(vec(0,-40,-40)))
    holoAng(4,Prop:toWorld(ang(0,90,90)))
    holoScale(4,vec(20,16,27))
    holoParent(4,Prop)
    
    holoCreate(5)
    holoModel(5,"hq_torus")
    holoMaterial(5,"models/props_combine/citadel_cable_b")
    holoPos(5,Prop:toWorld(vec(0,-40,-40)))
    holoAng(5,Prop:toWorld(ang(0,90,90)))
    holoScale(5,vec(-20,-16,-27))
    holoParent(5,Prop)
    
    for (I = 4,5) {    
        holoClipEnabled(I,1,1)
        holoClip(I,vec(-5,0,0),vec(1,0,0),0)
        
        holoClipEnabled(I,3,1)
        holoClip(I,3,vec(62,0,0),vec(-1,0,0),0)
    }
    
    holoClipEnabled(4,2,1)
    holoClip(4,2,vec(0,70,0),vec(0,1,0),0)
    
    holoClipEnabled(5,2,1)
    holoClip(5,2,vec(0,78,0),vec(0,1,0),0)
}

#[
holoCreate(4)
    holoModel(4,"models/hunter/tubes/tube1x1x2d.mdl")
    holoPos(4,Prop:toWorld(vec(0,-80,40)))
    holoAng(4,Prop:toWorld(ang(103,90,0)))
    holoParent(4,Prop)
