@name Plane Holos
@inputs 
@outputs 
@persist 
@trigger 
runOnTick(1)

if (first()) {
    local Material = "sprops/textures/gear_metal"
    
    holoCreate(1)
    holoModel(1,"models/XQM/cylinderx2medium.mdl")
    holoPos(1,entity():isWeldedTo():toWorld(vec(0,-48,0)))
    holoScale(1,vec(4,1.7,1.7))
    holoMaterial(1,Material)
    holoParent(1,entity():isWeldedTo())
    
    holoCreate(2)
    holoModel(2,"models/hunter/misc/shell2x2a.mdl")
    holoPos(2,entity():isWeldedTo():toWorld(vec(0,-96,0)))
    holoAng(2,ang(0,90,90))
    holoScale(2,vec(0.42,0.42,0.42))
    holoMaterial(2,Material)
    holoParent(2,entity():isWeldedTo())
    
    holoCreate(3)
    holoModel(3,"hq_cylinder")
    holoPos(3,entity():isWeldedTo():toWorld(vec(0,-114,0)))
    holoAng(3,ang(0,90,90))
    holoScale(3,vec(0.25,0.25,1))
    holoColor(3,vec(0,0,0))
    holoParent(3,entity():isWeldedTo())
    
    holoCreate(4)
    holoPos(4,entity():isWeldedTo():toWorld(vec(0,-120,0)))
    holoAng(4,ang(0,90,0))
    holoScale(4,vec(0.33,0.08,4))
    holoParent(4,3)
    
    holoCreate(5)
    holoModel(5,"models/hunter/plates/plate1x2.mdl")
    holoPos(5,entity():isWeldedTo():toWorld(vec(0,-54,0)))
    holoScale(5,vec(1,3,1))
    holoMaterial(5,Material)
    holoParent(5,entity():isWeldedTo())
    
    holoCreate(6)
    holoModel(6,"models/hunter/plates/plate1x2.mdl")
    holoPos(6,entity():isWeldedTo():toWorld(vec(0,-54,50)))
    holoScale(6,vec(1,3,1))
    holoMaterial(6,Material)
    holoParent(6,entity():isWeldedTo())
    
    holoCreate(7)
    holoModel(7,"models/hunter/misc/shell2x2a.mdl")
    holoPos(7,entity():isWeldedTo():toWorld(vec(0,96,0)))
    holoAng(7,ang(0,-90,90))
    holoScale(7,vec(0.42,0.42,0.82))
    holoMaterial(7,Material)
    holoParent(7,entity():isWeldedTo())
    
    holoCreate(8)
    holoModel(8,"models/hunter/triangles/05x05.mdl")
    holoPos(8,entity():isWeldedTo():toWorld(vec(0,110,25)))
    holoAng(8,ang(5,180,90))
    holoScale(8,vec(2,2,2))
    holoMaterial(8,Material)
    holoParent(8,entity():isWeldedTo())
    
    holoCreate(9)
    holoModel(9,"models/hunter/triangles/05x05.mdl")
    holoPos(9,entity():isWeldedTo():toWorld(vec(-25,110,5)))
    holoAng(9,ang(0,180,0))
    holoScale(9,vec(1.5,1.5,1.5))
    holoMaterial(9,Material)
    holoParent(9,entity():isWeldedTo())
    
    holoCreate(10)
    holoModel(10,"models/hunter/triangles/05x05.mdl")
    holoPos(10,entity():isWeldedTo():toWorld(vec(25,110,5)))
    holoAng(10,ang(0,180,180))
    holoScale(10,vec(1.5,1.5,1.5))
    holoMaterial(10,Material)
    holoParent(10,entity():isWeldedTo())
    
    holoCreate(11)
    holoModel(11,"hq_cylinder")
    holoPos(11,entity():isWeldedTo():toWorld(vec(108,-54,24)))
    holoScale(11,vec(0.5,0.5,4))
    holoParent(11,entity():isWeldedTo())
    
    holoCreate(12)
    holoModel(12,"hq_cylinder")
    holoPos(12,entity():isWeldedTo():toWorld(vec(-108,-54,24)))
    holoScale(12,vec(0.5,0.5,4))
    holoParent(12,entity():isWeldedTo())
    
    holoCreate(13)
    holoModel(13,"hq_cylinder")
    holoPos(13,entity():isWeldedTo():toWorld(vec(10,-74,34)))
    holoAng(13,ang(-30,0,-25))
    holoScale(13,vec(0.25,0.25,3.3))
    holoParent(13,entity():isWeldedTo())
    
    holoCreate(14)
    holoModel(14,"hq_cylinder")
    holoPos(14,entity():isWeldedTo():toWorld(vec(-10,-74,34)))
    holoAng(14,ang(-30,0,25))
    holoScale(14,vec(0.25,0.25,3.3))
    holoParent(14,entity():isWeldedTo())
    
    holoCreate(15)
    holoModel(15,"hq_cylinder")
    holoPos(15,entity():isWeldedTo():toWorld(vec(0,-74,34)))
    holoAng(15,ang(0,0,90))
    holoScale(15,vec(0.25,0.25,1.7))
    holoParent(15,entity():isWeldedTo())
    
    holoCreate(16)
    holoModel(16,"hq_cylinder")
    holoPos(16,entity():isWeldedTo():toWorld(vec(10,-40,24)))
    holoAng(16,ang(-108,0,0))
    holoScale(16,vec(0.25,0.25,5.8))
    holoParent(16,entity():isWeldedTo())
    
    holoCreate(17)
    holoModel(17,"hq_cylinder")
    holoPos(17,entity():isWeldedTo():toWorld(vec(-10,-40,24)))
    holoAng(17,ang(-108,0,0))
    holoScale(17,vec(0.25,0.25,5.8))
    holoParent(17,entity():isWeldedTo())
    
    for (I = 11,17) {holoColor(I,vec(0,0,0))}
}

#holoAng(3,holoEntity(3):angles()+ang(5,0,0))
