
@name Replicator-450 HoloSaver 

@persist [LocalPos Model Color Angle Material]:array Holos I

interval(10)

Shade=0

function void doneOnce()

{

  

}

function void done()

{

  

}



if(first()|dupefinished()){

##Data

LocalPos[1,vector]=vec(-5.2207,-46.4263,133.5074)
LocalPos[2,vector]=vec(18.7461,-45.3105,133.5607)
LocalPos[3,vector]=vec(17.0254,9.6084,116.8112)
LocalPos[4,vector]=vec(-6.0059,9.0229,116.9506)
LocalPos[5,vector]=vec(-4.3584,-21.2793,98.4115)
LocalPos[6,vector]=vec(17.1533,-20.772,98.4018)
LocalPos[7,vector]=vec(-5.9844,9.1128,98.451)
LocalPos[8,vector]=vec(17.0215,9.6602,98.3233)
LocalPos[9,vector]=vec(-6.3945,16.8364,133.639)
LocalPos[10,vector]=vec(17.0127,17.5342,133.5765)
LocalPos[11,vector]=vec(44.5088,-19.7119,133.4489)
LocalPos[12,vector]=vec(6.0264,-20.8481,133.5487)
LocalPos[13,vector]=vec(17.2207,9.9736,133.6082)
LocalPos[14,vector]=vec(36.5137,-19.9756,133.4857)
LocalPos[15,vector]=vec(-24.4609,-21.7339,133.521)
LocalPos[16,vector]=vec(-32.457,-21.9707,133.5291)
LocalPos[17,vector]=vec(-6.2275,9.2759,133.6624)
Model[1,string]="models/sprops/geometry/t_fhex_36.mdl"
Model[2,string]="models/sprops/geometry/t_fhex_36.mdl"
Model[3,string]="models/sprops/cylinders/size_4/cylinder_9x24.mdl"
Model[4,string]="models/sprops/cylinders/size_4/cylinder_9x24.mdl"
Model[5,string]="models/mechanics/robotics/a2.mdl"
Model[6,string]="models/mechanics/robotics/a2.mdl"
Model[7,string]="models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl"
Model[8,string]="models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl"
Model[9,string]="models/sprops/geometry/fhex_36.mdl"
Model[10,string]="models/sprops/geometry/fhex_36.mdl"
Model[11,string]="models/sprops/geometry/fdisc_24.mdl"
Model[12,string]="models/sprops/cuboids/height24/size_3/cube_48x48x24.mdl"
Model[13,string]="models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl"
Model[14,string]="models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl"
Model[15,string]="models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl"
Model[16,string]="models/sprops/geometry/fdisc_24.mdl"
Model[17,string]="models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl"
Color[1,vector4]=vec4(72,72,72,255)
Color[2,vector4]=vec4(72,72,72,255)
Color[3,vector4]=vec4(72,72,72,255)
Color[4,vector4]=vec4(72,72,72,255)
Color[5,vector4]=vec4(72,72,72,255)
Color[6,vector4]=vec4(72,72,72,255)
Color[7,vector4]=vec4(72,72,72,255)
Color[8,vector4]=vec4(72,72,72,255)
Color[9,vector4]=vec4(72,72,72,255)
Color[10,vector4]=vec4(72,72,72,255)
Color[11,vector4]=vec4(72,72,72,255)
Color[12,vector4]=vec4(72,72,72,255)
Color[13,vector4]=vec4(72,72,72,255)
Color[14,vector4]=vec4(72,72,72,255)
Color[15,vector4]=vec4(72,72,72,255)
Color[16,vector4]=vec4(72,72,72,255)
Color[17,vector4]=vec4(72,72,72,255)
Angle[1,angle]=ang(-0.232,1.6216,0.0121)
Angle[2,angle]=ang(0.02,1.6146,0.0128)
Angle[3,angle]=ang(-0.0012,-170.5459,-0.0095)
Angle[4,angle]=ang(-0.0119,-3.8837,0.064)
Angle[5,angle]=ang(0.0125,92.3455,0.2265)
Angle[6,angle]=ang(-0.0267,-89.0999,-107.9137)
Angle[7,angle]=ang(0.1013,-87.0408,-0.0113)
Angle[8,angle]=ang(-89.8727,102.8722,-102.6137)
Angle[9,angle]=ang(-0.486,-178.3715,-0.0058)
Angle[10,angle]=ang(0.0091,-178.3155,0.018)
Angle[11,angle]=ang(0.0053,91.6218,-0.0064)
Angle[12,angle]=ang(-0.0121,91.6217,-0.0063)
Angle[13,angle]=ang(-0.017,-88.3409,-0.0141)
Angle[14,angle]=ang(0.0062,-178.3784,0.0164)
Angle[15,angle]=ang(-0.0062,1.6216,-0.0355)
Angle[16,angle]=ang(-0.0519,-88.3784,0.0062)
Angle[17,angle]=ang(0.0052,-88.37,-0.0089)
Material[1,string]="models/debug/debugwhite"
Material[2,string]="models/debug/debugwhite"
Material[3,string]="models/debug/debugwhite"
Material[4,string]="models/debug/debugwhite"
Material[5,string]="models/debug/debugwhite"
Material[6,string]="models/debug/debugwhite"
Material[7,string]="models/debug/debugwhite"
Material[8,string]="models/debug/debugwhite"
Material[9,string]="models/debug/debugwhite"
Material[10,string]="models/debug/debugwhite"
Material[11,string]="models/debug/debugwhite"
Material[12,string]="models/debug/debugwhite"
Material[13,string]="models/debug/debugwhite"
Material[14,string]="models/debug/debugwhite"
Material[15,string]="models/debug/debugwhite"
Material[16,string]="models/debug/debugwhite"
Material[17,string]="models/debug/debugwhite"
Holos=17

#Data

}

    if(I<Holos&holoCanCreate())

    {

        I++

        holoCreate(I)

        holoModel(I,Model[I,string])

        holoPos(I,entity():toWorld(LocalPos[I,vector]))

        holoAng(I,entity():toWorld(Angle[I,angle]))

        holoScale(I,vec(1,1,1))

        holoColor(I,Color[I,vector4])

        holoMaterial(I,Material[I,string])

        holoRenderFX(I,Shade)

        holoParent(I,entity())

    }elseif(changed(I)&I==Holos){

        doneOnce()

    }else{

        done()

    }

