@name Supercharger v6 Design4
@inputs 
@outputs 
@persist 
if(first() | dupefinished()){
    Size = 1
    
    holoCreate(1)
    holoCreate(2)
    holoCreate(3)
    holoCreate(4)
    holoCreate(5)
    holoCreate(6)
    holoCreate(7)
    holoCreate(8)
    holoCreate(9)
    holoCreate(10)
    holoCreate(11)
    holoCreate(12)
    holoCreate(13)
    holoCreate(14)
    holoCreate(15)
    holoCreate(16)
    holoCreate(17)
    holoCreate(18)
    holoCreate(19)
    holoCreate(20)
    holoCreate(21)
    holoCreate(22)
    holoCreate(23)
    holoCreate(24)
    holoCreate(25)
    holoCreate(26)
    holoCreate(27)
    holoCreate(28)
    holoCreate(29)
    holoCreate(30)
    holoCreate(31)
    holoCreate(53)
    holoCreate(54)
     
    holoModel(1, "hq_tube_thin")
    holoModel(2, "hq_hdome_thin")
    holoModel(3, "cube")
    holoModel(4, "cube")
    holoModel(5, "hq_cylinder")
    holoModel(6, "cube")
    holoModel(7, "hq_cylinder")
    holoModel(8, "hq_tube_thin")
    holoModel(9, "cube")
    holoModel(10, "cube")
    holoModel(11, "hq_cylinder")
    holoModel(12, "hq_cylinder")
    holoModel(13, "cube")
    holoModel(14, "cube")
    holoModel(15, "cube")
    holoModel(16, "cube")
    holoModel(17, "cube")
    holoModel(18, "cube")
    holoModel(19, "cube")
    holoModel(20, "hq_torus")
    holoModel(21, "hq_rcube")
    holoModel(22, "hq_cylinder")
    holoModel(23, "hq_cylinder")
    holoModel(24, "hq_cylinder")
    holoModel(25, "hq_rcube")
    holoModel(26, "hq_rcube")
    holoModel(27, "hq_rcube")
    holoModel(28, "cube")
    holoModel(29, "hq_rcube")
    holoModel(30, "hq_rcube")
    holoModel(31, "hq_rcube")
    holoModel(53, "models/Mechanics/gears2/gear_36t3.mdl")
    holoModel(54, "hq_cylinder")
    holoModel(55, "cube")
     
    holoPos(1, entity():toWorld(vec(0, 0, 13)*Size))
    holoPos(2, entity():toWorld(vec(0, 6, 13)*Size))
    holoPos(3, entity():toWorld(vec(0,  -5.94, 13)*Size))
    holoPos(4, entity():toWorld(vec(-2.7,  -5.94, 13)*Size))
    holoPos(5, entity():toWorld(vec(-3.6,  -5.94, 13)*Size))
    holoPos(6, entity():toWorld(vec(2.7,  -5.94, 13)*Size))
    holoPos(7, entity():toWorld(vec(3.6, -5.94, 13)*Size))
    holoPos(8, entity():toWorld(vec(0, -5.94, 13)*Size))
    holoPos(9, entity():toWorld(vec(0, -5.94, 14.8)*Size))
    holoPos(10, entity():toWorld(vec(0, -5.94, 11.2)*Size))
    holoPos(11, entity():toWorld(vec(0, -5.94, 15.2)*Size))
    holoPos(12, entity():toWorld(vec(0, -5.94, 10.8)*Size))
    holoPos(13, entity():toWorld(vec(-1.655, -5.94, 13)*Size))
    holoPos(14, entity():toWorld(vec(1.655, -5.94, 13)*Size))
    holoPos(15, entity():toWorld(vec(-3.6, -5.94, 14.6)*Size))
    holoPos(16, entity():toWorld(vec(-3.6, -5.94, 11.4)*Size))
    holoPos(17, entity():toWorld(vec(3.6, -5.94, 14.6)*Size))
    holoPos(18, entity():toWorld(vec(3.6, -5.94, 11.4)*Size))
    holoPos(19, entity():toWorld(vec(0, -5.94, 13)*Size))
    holoPos(20, entity():toWorld(vec(0, -5.94, 13)*Size))
    holoPos(21, entity():toWorld(vec(0, 0, 9.8)*Size))
    holoPos(22, entity():toWorld(vec(0, 4, 9)*Size))
    holoPos(23, entity():toWorld(vec(0, 0, 9)*Size))
    holoPos(24, entity():toWorld(vec(0, -4, 9)*Size))
    holoPos(25, entity():toWorld(vec(0, 4, 7)*Size))
    holoPos(26, entity():toWorld(vec(0, 0, 7)*Size))
    holoPos(27, entity():toWorld(vec(0, -4, 7)*Size))
    holoPos(28, entity():toWorld(vec(0, 0, 6)*Size))
    holoPos(29, entity():toWorld(vec(0, 0, 5.5)*Size))
    holoPos(30, entity():toWorld(vec(0, 3, 3.4)*Size))
    holoPos(31, entity():toWorld(vec(0, -3, 3.4)*Size))
    holoPos(53, entity():toWorld(vec(0, 0, 11.5)*Size))
    holoPos(54, entity():toWorld(vec(0, 0, 12.5)*Size))
     
    holoAng(1, entity():toWorld(ang(0, 0, 90)))
    holoAng(2, entity():toWorld(ang(0, 0, -90)))
    holoAng(8, entity():toWorld(ang(0, 0, 90)))
    holoAng(9, entity():toWorld(ang(0, 0, 90)))
    holoAng(10, entity():toWorld(ang(0, 0, 90)))
    holoAng(11, entity():toWorld(ang(0, 0, 90)))
    holoAng(12, entity():toWorld(ang(0, 0, 90)))
    holoAng(13, entity():toWorld(ang(0, 0, 90)))
    holoAng(14, entity():toWorld(ang(0, 0, 90)))
    holoAng(15, entity():toWorld(ang(-15, 0, 90)))
    holoAng(16, entity():toWorld(ang(15, 0, 90)))
    holoAng(17, entity():toWorld(ang(15, 0, 90)))
    holoAng(18, entity():toWorld(ang(-15, 0, 90)))
    holoAng(20, entity():toWorld(ang(0, 0, 90)))
     
    holoScale(1, vec(1, 0.5, 1)*Size)
    holoScale(2, vec(1, 0.5, 0.5)*Size)
    holoScale(3, vec(0.25, 0.25, 0.01)*Size)
    holoScale(4, vec(0.15, 0.25, 0.01)*Size)
    holoScale(5, vec(0.21, 0.25, 0.01)*Size)
    holoScale(6, vec(0.15, 0.25, 0.01)*Size)
    holoScale(7, vec(0.21, 0.25, 0.01)*Size)
    holoScale(8, vec(0.9, 0.45, 0.01)*Size)
    holoScale(9, vec(0.7, 0.05, 0.01)*Size)
    holoScale(10, vec(0.7, 0.05, 0.01)*Size)
    holoScale(11, vec(0.6, 0.06, 0.01)*Size)
    holoScale(12, vec(0.6, 0.06, 0.01)*Size)
    holoScale(13, vec(0.026, 0.4, 0.01)*Size)
    holoScale(14, vec(0.026, 0.4, 0.01)*Size)
    holoScale(15, vec(0.07, 0.0155, 0.01)*Size)
    holoScale(16, vec(0.07, 0.0155, 0.01)*Size)
    holoScale(17, vec(0.07, 0.0155, 0.01)*Size)
    holoScale(18, vec(0.07, 0.0155, 0.01)*Size)
    holoScale(19, vec(1, 0.02, 0.02)*Size)
    holoScale(20, vec(1.075, 0.6, 1)*Size)
    holoScale(21, vec(0.5, 1, 0.1)*Size)
    holoScale(22, vec(0.3, 0.3, 0.2)*Size)
    holoScale(23, vec(0.3, 0.3, 0.2)*Size)
    holoScale(24, vec(0.3, 0.3, 0.2)*Size)
    holoScale(25, vec(0.35, 0.35, 0.2)*Size)
    holoScale(26, vec(0.35, 0.35, 0.2)*Size)
    holoScale(27, vec(0.35, 0.35, 0.2)*Size)
    holoScale(28, vec(0.41, 1.1, 0.05)*Size)
    holoScale(29, vec(0.4, 1.1, 0.2)*Size)
    holoScale(30, vec(0.38, 0.38, 0.2)*Size)
    holoScale(31, vec(0.38, 0.38, 0.2)*Size)
    holoScale(53, vec(0.065, 0.065, 0.07)*Size)
    holoScale(54, vec(0.45, 0.45, 0.04)*Size)
    
    holoParent(46, holoEntity(45))
    holoParent(47, holoEntity(45))
    holoParent(48, holoEntity(45))
    holoParent(49, holoEntity(45))
    holoParent(53, entity())
    holoParent(54, entity())
    for (P1=1,45) {holoParent(P1,entity())}
        #### Custom Parent ####
        holoParent(4, holoEntity(3))
        holoParent(5, holoEntity(3))
        holoParent(6, holoEntity(3))
        holoParent(7, holoEntity(3))
        holoParent(19, holoEntity(3))
     
    holoColor(1, vec(0, 0, 0))
    holoColor(2, vec(0, 0, 0))
    holoColor(3, vec(150,60, 0))
    holoColor(53, vec(255, 165, 0))
    holoColor(54, vec(150, 150, 150))
    for (C1=22,31) {holoColor(C1,vec(150, 150, 150))}
    for (C2=8,21) {holoColor(C2,vec(0, 0, 0))}
    
    holoMaterial(1, "phoenix_storms/mat/mat_phx_metallic")
    holoMaterial(2, "phoenix_storms/mat/mat_phx_metallic")
    holoMaterial(3, "models/props_interiors/metalfence007a")
    holoMaterial(4, "models/props_interiors/metalfence007a")
    holoMaterial(5, "models/props_interiors/metalfence007a")
    holoMaterial(6, "models/props_interiors/metalfence007a")
    holoMaterial(7, "models/props_interiors/metalfence007a")
    holoMaterial(53, "phoenix_storms/concrete0")
    holoMaterial(54, "sprops/textures/sprops_chrome")
    for (M1=8,21) {holoMaterial(M1,"phoenix_storms/mat/mat_phx_metallic")}
    for (M2=22,51) {holoMaterial(M2,"sprops/textures/sprops_chrome")}
}
    holoAng(3, entity():toWorld(ang(0, 0, 90)))
    holoAng(45, entity():toWorld(ang(0, 0, 90)))

