CrWall((329.858, -1818.08, 10.125), (199.664, -1841.28, 159.804));
CrWall((117.673, -1858.78, 2.98523), (-35.7656, -1879.28, 159.804));
CrWall((346.255, -1797.87, 7.42965), (390.175, -2019.46, 159.804));
CrWall((374.894, -2040.98, 5.89891), (-25.0719, -2130.79, 159.804));
CrWall((-41.3098, -2107.02, 9.0466
, (-55.5986, -1864.46, 159.804));
B = spawn("script_model", (317.37, -1776.4, 10.125));
B.angles=(0,90,0);
B setModel("prop_flag_russian");
C = spawn("script_model", (-37.0408, -1822.57, 8.44404));
C.angles=(0,90,0);
C setModel("prop_flag_american");
PlayFX(level.poop,(321.823, -1796.84, 171.883));
PlayFX(level.poop,(-25.0376, -1864.78, 171.883));
CrWall((329.858, -1818.08, 10.125), (199.664, -1841.28, 159.804));
CrWall((117.673, -1858.78, 2.98523), (-35.7656, -1879.28, 159.804));
CrWall((346.255, -1797.87, 7.42965), (390.175, -2019.46, 159.804));
CrWall((374.894, -2040.98, 5.89891), (-25.0719, -2130.79, 159.804));
CrWall((-41.3098, -2107.02, 9.0466
, (-55.5986, -1864.46, 159.804));
B = spawn("script_model", (317.37, -1776.4, 10.125));
B.angles=(0,90,0);
B setModel("prop_flag_russian");
C = spawn("script_model", (-37.0408, -1822.57, 8.44404));
C.angles=(0,90,0);
C setModel("prop_flag_american");
PlayFX(level.poop,(321.823, -1796.84, 171.883));
PlayFX(level.poop,(-25.0376, -1864.78, 171.883));
CrRWB((291.467,-1923.17,9.91621));
CrWall(start, end, vis)
{ blockb = [];
blockc = [];
blockd = [];
D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
H = Distance((0, 0, start[2]), (0, 0, end[2]));
if(!isDefined(vis)) vis = 0;
if(vis == 0)
{ blocks = roundUp(D/55);
height = roundUp(H/30);
tr = 75;
th = 40;
mod = "com_plasticcase_beige_big";
} else {
blocks = roundUp(D/90);
height = roundUp(H/90);
tr = 120;
th = 100;
mod = "tag_origin";
}
CX = end[0] - start[0];
CY = end[1] - start[1];
CZ = end[2] - start[2];
XA = (CX/blocks);
YA = (CY/blocks);
ZA = (CZ/height);
TXA = (XA/4);
TYA = (YA/4);
Temp = VectorToAngles(end - start);
Angle = (0, Temp[1], 90);
for(h = 0; h < height; h++)
{ fstpos = (start + (TXA, TYA, 10) + ((0, 0, ZA) * h));
block = spawn("script_model", fstpos);
block setModel(mod);
block.angles = Angle;
blockb[h] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );
blockb[h].origin = fstpos;
blockb[h].angles = Angle;
blockb[h] setContents( 1 );
wait 0.001;
for(i = 1; i < blocks; i++){
secpos = (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h));
block = spawn("script_model", secpos);
block setModel(mod);
block.angles = Angle;
blockc[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );
blockc[i].origin = secpos;
blockc[i].angles = Angle;
blockc[i] setContents( 1 );
wait 0.001;
}
if(blocks > 1)
{ trdpos = ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h));
block = spawn("script_model", trdpos);
block setModel(mod);
block.angles = Angle;
blockd[h] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );
blockd[h].origin = trdpos;
blockd[h].angles = Angle;
blockd[h] setContents( 1 );
wait 0.001;
}
}
}
CrWall(start, end, vis)
{ blockb = [];
blockc = [];
blockd = [];
D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
H = Distance((0, 0, start[2]), (0, 0, end[2]));
if(!isDefined(vis)) vis = 0;
if(vis == 0)
{ blocks = roundUp(D/55);
height = roundUp(H/30);
tr = 75;
th = 40;
mod = "com_plasticcase_beige_big";
} else {
blocks = roundUp(D/90);
height = roundUp(H/90);
tr = 120;
th = 100;
mod = "tag_origin";
}
CX = end[0] - start[0];
CY = end[1] - start[1];
CZ = end[2] - start[2];
XA = (CX/blocks);
YA = (CY/blocks);
ZA = (CZ/height);
TXA = (XA/4);
TYA = (YA/4);
Temp = VectorToAngles(end - start);
Angle = (0, Temp[1], 90);
for(h = 0; h < height; h++)
{ fstpos = (start + (TXA, TYA, 10) + ((0, 0, ZA) * h));
block = spawn("script_model", fstpos);
block setModel(mod);
block.angles = Angle;
blockb[h] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );
blockb[h].origin = fstpos;
blockb[h].angles = Angle;
blockb[h] setContents( 1 );
wait 0.001;
for(i = 1; i < blocks; i++){
secpos = (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h));
block = spawn("script_model", secpos);
block setModel(mod);
block.angles = Angle;
blockc[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );
blockc[i].origin = secpos;
blockc[i].angles = Angle;
blockc[i] setContents( 1 );
wait 0.001;
}
if(blocks > 1)
{ trdpos = ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h));
block = spawn("script_model", trdpos);
block setModel(mod);
block.angles = Angle;
blockd[h] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, tr, th );
blockd[h].origin = trdpos;
blockd[h].angles = Angle;
blockd[h] setContents( 1 );
wait 0.001;
}
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.