Post: Little Forge House [TERMINAL]
10-14-2012, 08:28 PM #1
ByteSource
League Champion
(adsbygoogle = window.adsbygoogle || []).push({});


Code Bellow

    [COLOR="#0000FF"][CENTER]/* Creadits 
Forge Made By iBe Reconized
Forge Patch Made By ChromePlaya
Spawningz Helped By ^2i Host Pc Do You
Please Leave Credits If You Decide Using This
Youtube.com/ Fuck Subcribers This Is Free */




iBezHouseLol()
{
CreateWalls((117.453,-2494.6,40.125), (433.661,-2492.49,287.945));
CreateWalls((433.361,-2494.49,287.945), (441.087,-2899.53,48.153));
CreateGrids((403.468,-2517.99,213.87Cool Man (aka Tustin), (315.812,-2908.19,209.873));
CreateWalls((291.467,-2892.64,205.824), (303.571,-2581.92,268.903));
CreateRamps((270.497,-2511.95,217.996), (273.878,-2752.64,48.16Cool Man (aka Tustin));
CreateWalls((95.5596,-2930.14,40.125), (443.956,-2917.23,291.382));
CreateWalls((62.9334,-2932.04,40.125), (90.5592,-2494.81,151.732));
CreateElevator((1212.74,3773.57,40.125), (95.1423,-2900.01,40.125));
}
CreateWalls(start, end)
{
D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
H = Distance((0, 0, start[2]), (0, 0, end[2]));
blocks = roundUp(D/55);
height = roundUp(H/30);
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++){
block = spawn("script_model", (start + (TXA, TYA, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
for(i = 1; i < blocks; i++){
block = spawn("script_model", (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
}
block = spawn("script_model", ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
}
}
CreateGrids(corner1, corner2, angle)
{
W = Distance((corner1[0], 0, 0), (corner2[0], 0, 0));
L = Distance((0, corner1[1], 0), (0, corner2[1], 0));
H = Distance((0, 0, corner1[2]), (0, 0, corner2[2]));
CX = corner2[0] - corner1[0];
CY = corner2[1] - corner1[1];
CZ = corner2[2] - corner1[2];
ROWS = roundUp(W/55);
COLUMNS = roundUp(L/30);
HEIGHT = roundUp(H/20);
XA = CX/ROWS;
YA = CY/COLUMNS;
ZA = CZ/HEIGHT;
center = spawn("script_model", corner1);
for(r = 0; r <= ROWS; r++){
for(c = 0; c <= COLUMNS; c++){
for(h = 0; h <= HEIGHT; h++){
block = spawn("script_model", (corner1 + (XA * r, YA * c, ZA * h)));
block setModel("com_plasticcase_friendly");
block.angles = (0, 0, 0);
block Solid();
block LinkTo(center);
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
}
}
center.angles = angle;
}
CreateRamps(top, bottom)
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
CreateElevator(enter, exit, angle)
{
flag = spawn( "script_model", enter );
flag setModel( level.elevator_model["enter"] );
wait 0.01;
flag = spawn( "script_model", exit );
flag setModel( level.elevator_model["exit"] );
wait 0.01;
self thread ElevatorThink(enter, exit, angle);
}[/CENTER][/COLOR]
(adsbygoogle = window.adsbygoogle || []).push({});
10-14-2012, 08:36 PM #2
BlurzGoHard
Maggbot timeout!
Originally posted by iBe
Ill Post A Video When Its Done Uploading

    [COLOR="#0000FF"][CENTER]/* Creadits 
Forge Made By iBe Reconized
Forge Patch Made By ChromePlaya
Spawningz Helped By ^2i Host Pc Do You
Please Leave Credits If You Decide Using This
Youtube.com/ Fuck Subcribers This Is Free */




iBezHouseLol()
{
CreateWalls((117.453,-2494.6,40.125), (433.661,-2492.49,287.945));
CreateWalls((433.361,-2494.49,287.945), (441.087,-2899.53,48.153));
CreateGrids((403.468,-2517.99,213.87Cool Man (aka Tustin), (315.812,-2908.19,209.873));
CreateWalls((291.467,-2892.64,205.824), (303.571,-2581.92,268.903));
CreateRamps((270.497,-2511.95,217.996), (273.878,-2752.64,48.16Cool Man (aka Tustin));
CreateWalls((95.5596,-2930.14,40.125), (443.956,-2917.23,291.382));
CreateWalls((62.9334,-2932.04,40.125), (90.5592,-2494.81,151.732));
CreateForce((92.2948,-2496.45,123.851), (77.0121,-2920.18,236.917));
CreateElevator((1212.74,3773.57,40.125), (95.1423,-2900.01,40.125));
}[/CENTER][/COLOR]


You want me to make a video on this ?
10-14-2012, 08:55 PM #3
ByteSource
League Champion
Originally posted by BlurzGoHard View Post
You want me to make a video on this ?


Please My Crap Wont Upload
10-14-2012, 09:05 PM #4
Cmd-X
It's been awhile.
Originally posted by iBe
iBezHouseLol() { CreateWalls((117.453,-2494.6,40.125), (433.661,-2492.49,287.945)); CreateWalls((433.361,-2494.49,287.945), (441.087,-2899.53,48.153)); CreateGrids((403.468,-2517.99,213.87Cool Man (aka Tustin), (315.812,-2908.19,209.873)); CreateWalls((291.467,-2892.64,205.824), (303.571,-2581.92,268.903)); CreateRamps((270.497,-2511.95,217.996), (273.878,-2752.64,48.16Cool Man (aka Tustin)); CreateWalls((95.5596,-2930.14,40.125), (443.956,-2917.23,291.382)); CreateWalls((62.9334,-2932.04,40.125), (90.5592,-2494.81,151.732)); CreateForce((92.2948,-2496.45,123.851), (77.0121,-2920.18,236.917)); CreateElevator((1212.74,3773.57,40.125), (95.1423,-2900.01,40.125)); }


Unknown Function :carling:
10-14-2012, 09:08 PM #5
BlurzGoHard
Maggbot timeout!
Originally posted by X View Post
Unknown Function :carling:

is it really cuz im not bouta waste my time recording this then ?
10-14-2012, 09:10 PM #6
Cmd-X
It's been awhile.
Originally posted by BlurzGoHard View Post
is it really cuz im not bouta waste my time recording this then ?


Yes it is, he didn't include the base threads wat
10-14-2012, 09:12 PM #7
BlurzGoHard
Maggbot timeout!
Originally posted by X View Post
Yes it is, he didn't include the base threads wat


not everyone is as smart as you buddy :love: :carling:
10-14-2012, 09:14 PM #8
Cmd-X
It's been awhile.
Originally posted by BlurzGoHard View Post
not everyone is as smart as you buddy :love: :carling:


since i can't groan you at the moment i'll just say it; Groan.

anyways yeah, he needs to include the CreateGrid() and CreateWalls() etc.. unless it's a built-in function, but I don't think it is...
10-14-2012, 09:19 PM #9
ByteSource
League Champion
Originally posted by X View Post
Unknown Function :carling:


Sorry Hold On U need These Functions

---------- Post added at 09:19 PM ---------- Previous post was at 09:14 PM ----------

Originally posted by BlurzGoHard View Post
is it really cuz im not bouta waste my time recording this then ?



Originally posted by X View Post
Originally Posted by BlurzGoHard
not everyone is as smart as you buddy
since i can't groan you at the moment i'll just say it; Groan.

anyways yeah, he needs to include the CreateGrid() and CreateWalls() etc.. unless it's a built-in function, but I don't think it is...


I Fixed It My Bad I Was Busy So I Just Posted It Like Nothing But now It Has To Work
i Just Tried It So There Is No Unknown Function
10-14-2012, 09:49 PM #10
homeedog
I am error
No.. Buddy... If your going to include functions in which, use create grid,walls, etc. you need to include their function also. for instance, if i were to make a code, lets say
     CreateWalls((433.361,-2494.49,287.945), (441.087,-2899.53,48.153)); 
then i would also need a function to carry out that code Example
     CreateWalls((433.361,-2494.49,287.945), (441.087,-2899.53,48.153));   
CreateWalls(){Whatever the code is to create walls}
this is because createwalls isnt a standard function and needs to be manually created.... the reason youre not getting unknown function is because createwalls has already been defined in your patch!Enzo
Originally posted by iBe
Sorry Hold On U need These Functions

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo