@name test_Generated
@persist E:entity HOLO_INDEX
@trigger all

## FUNCTIONS ##
if(first() || duped()){

   function void createHolo(Model:string,Scl:vector,Pos:vector,Ang:angle,Color:vector,Mat:string){

         holoCreate(HOLO_INDEX)
         holoModel(HOLO_INDEX,Model)
         holoPos(HOLO_INDEX,Pos)
         holoAng(HOLO_INDEX,Ang)
         holoScale(HOLO_INDEX,Scl)
         holoParent(HOLO_INDEX,E)
         holoColor(HOLO_INDEX,Color)
         holoMaterial(HOLO_INDEX,Mat)

         if(holoEntity(HOLO_INDEX):model() != Model){
               holoAlpha(HOLO_INDEX,0)
         }
         HOLO_INDEX+=1
   }
}

if(first() || duped()){
   E = entity()

   ### GENERATED CODE ###
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(-31.14,240.53,33.54)),E:toWorld(ang(0,-135,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/weapons/w_models/w_drg_ball.mdl",vec(1),E:toWorld(vec(556.07,63.89,-350.16)),E:toWorld(ang(34.37,93.82,130.59)),vec(255,255,255),"")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(319.3,-533.51,33.54)),E:toWorld(ang(0,-65.01,90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(-249.23,22.44,33.54)),E:toWorld(ang(0,-135,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(-173.49,366.59,33.54)),E:toWorld(ang(0,90,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube4x4x05.mdl",vec(1),E:toWorld(vec(119.93,123.21,-91.06)),E:toWorld(ang(45,135.01,90)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(-536.7,322.64,33.54)),E:toWorld(ang(0,155,-90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(231.9,-22.52,33.54)),E:toWorld(ang(0,-135,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(421.78,-430.62,27.61)),E:toWorld(ang(0,-45.01,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(-331.36,528.01,33.54)),E:toWorld(ang(0,115.01,90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(-375.3,164.79,9.32)),E:toWorld(ang(0,90,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube4x8x1.mdl",vec(1),E:toWorld(vec(69.03,-77.52,-141.39)),E:toWorld(ang(-45,-45,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(529.42,-170.34,27.61)),E:toWorld(ang(0,-0.02,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(60.24,441.09,27.61)),E:toWorld(ang(0,45,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(161.48,-372.08,9.32)),E:toWorld(ang(0,-0.01,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube1x4x025.mdl",vec(1),E:toWorld(vec(-446.51,286.82,-61.18)),E:toWorld(ang(90,45,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(524.71,-328.19,33.54)),E:toWorld(ang(0,-25.02,-90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(-31.14,240.53,9.32)),E:toWorld(ang(0,-135,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube1x3x025.mdl",vec(1),E:toWorld(vec(-537.34,377.65,-17.8)),E:toWorld(ang(45,135,90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(-375.3,164.79,33.54)),E:toWorld(ang(0,90,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(296.02,206.27,33.95)),E:toWorld(ang(0,45,90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(304.37,-313.17,9.32)),E:toWorld(ang(0,-45.01,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(-340.72,-178.05,33.54)),E:toWorld(ang(0,-134.99,-90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(19.15,-245.99,9.32)),E:toWorld(ang(0,-135.01,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube1x3x025.mdl",vec(1),E:toWorld(vec(-386.35,528.63,-17.8)),E:toWorld(ang(45,135,90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(-449.78,-69.02,27.61)),E:toWorld(ang(0,-134.99,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(-541.37,164.79,27.61)),E:toWorld(ang(0,-180,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(529.97,-27.49,33.45)),E:toWorld(ang(0,43.08,-90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube1x3x025.mdl",vec(1),E:toWorld(vec(374.32,-534.16,-17.8)),E:toWorld(ang(45,-45.01,-90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(363.32,-170.3,9.32)),E:toWorld(ang(0,-0.01,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube1x2x025.mdl",vec(1),E:toWorld(vec(-216.56,358.84,-34.58)),E:toWorld(ang(45,-45,-90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(-214.93,-304.76,33.95)),E:toWorld(ang(0,-134.99,-90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube05x7x025.mdl",vec(1),E:toWorld(vec(-238.25,78.56,-39.49)),E:toWorld(ang(90,45,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(-173.51,532.7,27.61)),E:toWorld(ang(0,90.01,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube8x8x2.mdl",vec(1),E:toWorld(vec(-5.87,-2.63,-67.34)),E:toWorld(ang(0,-135,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube075x3x075.mdl",vec(1),E:toWorld(vec(236.39,264.94,27.61)),E:toWorld(ang(0,45,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(-98.25,-422.06,27.61)),E:toWorld(ang(0,-134.97,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(-30.65,533.22,33.45)),E:toWorld(ang(0,46.91,90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube05x7x025.mdl",vec(1),E:toWorld(vec(226.29,-84.06,-39.49)),E:toWorld(ang(90,44.99,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube1x4x025.mdl",vec(1),E:toWorld(vec(-295.52,437.8,-61.18)),E:toWorld(ang(90,45,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(-316.37,307.66,33.54)),E:toWorld(ang(0,135,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube1x2x05.mdl",vec(1),E:toWorld(vec(-400.25,542.53,39.47)),E:toWorld(ang(90,45,180)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube1x2x05.mdl",vec(1),E:toWorld(vec(388.22,-548.06,39.47)),E:toWorld(ang(90,44.99,180)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube1x4x025.mdl",vec(1),E:toWorld(vec(434.52,-292.36,-61.18)),E:toWorld(ang(90,44.99,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube1x2x05.mdl",vec(1),E:toWorld(vec(-551.24,391.55,39.47)),E:toWorld(ang(90,45,180)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube1x2x025.mdl",vec(1),E:toWorld(vec(355.56,-213.38,-34.58)),E:toWorld(ang(45,134.99,90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube2x4x05.mdl",vec(1),E:toWorld(vec(463.72,-472.58,39.47)),E:toWorld(ang(0,-45.01,0)),vec(255,255,255),"phoenix_storms/trains/track_plateside")
   createHolo("models/hunter/blocks/cube1x4x025.mdl",vec(1),E:toWorld(vec(283.51,-443.32,-61.18)),E:toWorld(ang(90,44.99,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(-173.49,366.59,9.32)),E:toWorld(ang(0,90,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube1x2x05.mdl",vec(1),E:toWorld(vec(539.23,-397.1,39.47)),E:toWorld(ang(90,44.99,180)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(304.37,-313.17,33.54)),E:toWorld(ang(0,-45.01,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(18.52,-538.69,33.45)),E:toWorld(ang(0,-133.11,90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube4x4x05.mdl",vec(1),E:toWorld(vec(-131.69,-128.45,-91.06)),E:toWorld(ang(45,135,-90)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube2x4x05.mdl",vec(1),E:toWorld(vec(-475.74,467.04,39.47)),E:toWorld(ang(0,135,0)),vec(255,255,255),"phoenix_storms/trains/track_plateside")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(-316.37,307.66,9.32)),E:toWorld(ang(0,135,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(413.34,89.61,27.61)),E:toWorld(ang(0,44.98,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(-541.93,21.86,33.45)),E:toWorld(ang(0,-136.9,-90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(161.48,-372.08,33.54)),E:toWorld(ang(0,-0.01,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube6x6x05.mdl",vec(1),E:toWorld(vec(363.32,-170.3,33.54)),E:toWorld(ang(0,-0.01,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube075x3x075.mdl",vec(1),E:toWorld(vec(-273.61,-245.14,27.61)),E:toWorld(ang(0,-134.99,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube1x2x025.mdl",vec(1),E:toWorld(vec(204.55,-364.34,-34.58)),E:toWorld(ang(45,134.99,90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube1x3x025.mdl",vec(1),E:toWorld(vec(525.33,-383.2,-17.8)),E:toWorld(ang(45,-45.01,-90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube05x7x025.mdl",vec(1),E:toWorld(vec(75.28,-235.02,-39.49)),E:toWorld(ang(90,44.99,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube05x7x025.mdl",vec(1),E:toWorld(vec(-87.26,229.54,-39.49)),E:toWorld(ang(90,45,180)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(161.45,-538.15,27.61)),E:toWorld(ang(0,-90.01,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(19.15,-245.99,33.54)),E:toWorld(ang(0,-135.01,0)),vec(66,146,70),"sprops/textures/sprops_metal5")
   createHolo("models/hunter/blocks/cube075x6x075.mdl",vec(1),E:toWorld(vec(-433.8,425.1,27.61)),E:toWorld(ang(0,135,0)),vec(255,255,255),"phoenix_storms/pack2/metalbox2")
   createHolo("models/hunter/blocks/cube1x2x025.mdl",vec(1),E:toWorld(vec(-367.54,207.85,-34.58)),E:toWorld(ang(45,-45,-90)),vec(255,255,255),"phoenix_storms/mrref2")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(-249.23,22.44,9.32)),E:toWorld(ang(0,-135,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube4x8x1.mdl",vec(1),E:toWorld(vec(-80.75,72.28,-141.39)),E:toWorld(ang(-45,134.99,0)),vec(255,255,255),"sprops/textures/gear_metal")
   createHolo("models/hunter/blocks/cube075x1x075.mdl",vec(1),E:toWorld(vec(169.29,332.04,33.54)),E:toWorld(ang(0,45,90)),vec(255,255,255),"phoenix_storms/metal_plate")
   createHolo("models/hunter/blocks/cube8x8x05.mdl",vec(1),E:toWorld(vec(237.27,-27.93,9.32)),E:toWorld(ang(0,-135.01,0)),vec(255,255,255),"sprops/textures/gear_metal")
}
