Post: Gods Ghetto Slide Of Death [FAVELA]
10-14-2012, 10:46 PM #1
ByteSource
League Champion
(adsbygoogle = window.adsbygoogle || []).push({});
Originally posted by another user
Video Will Be Uploaded In A Bit




Here's A Slide I Made For Favela Umm U Can Do Pretty Good Things With It I Didn't Add The Death Function Because Its Up To You What You Want Add
Gods Ghetto Slide Of Death Is The Name I Made Up For It
Hope You Do Great Things With It


Update #2 Made It Much More Simpler No Syntax I Need Some One To Record It

    SlideOfDeath()
{
CreateRamps((10169.8,13901.5,6586.76), (9936.44,18332.2,13730.9));
CreateElevator((94.1143,-89.6967,-5.875), (9928.08,18315.5,14119.6));
}
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);
}
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;
}


How To Install

     Name Of The Function Will Be Named

[SIZE=2]---->>> SlideOfDeath[/SIZE]
The Rest CreateRamps & Elevator Is Just A Imput SO If Your Going To
Put The Code In Missions Make Sure All 3 Codes Go
There They All Have To Be Put Together
(adsbygoogle = window.adsbygoogle || []).push({});
10-15-2012, 08:27 PM #2
LightModz
League Champion
Originally posted by iBe
Video Will Be Uploaded In A Bit




Here's A Slide I Made For Favela Umm U Can Do Pretty Good Things With It I Didn't Add The Death Function Because Its Up To You What You Want Add
Gods Ghetto Slide Of Death Is The Name I Made Up For It
Hope You Do Great Things With It


    SlideOfDeath()
{
CreateRamps((9745.08,15809.,9418.3), (9942.43,18331,13780.7));
//Ramp Goes From The Top Of Gods Head To A Random Spot
CreateForce((9979.51,18369.6,13896.2), (9980.87,18487.1,13852));
CreateForce((9872.36,18366.8,13870.2), (9894.12,18513.2,13842.1));
CreateElevator((-130.765,-76.3084,-5.875), (9940.75,18425.9,13851.1));
//Flag To Teleport To The Slide is In The goaly court
}
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);
}
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;
}
CreateForce(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(level.chopper_fx["light"]["belly"]);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(level.chopper_fx["light"]["belly"]);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(level.chopper_fx["light"]["belly"]);block.angles=Angle;block Solid();block CloneBrushmodelToScriptmodel(level.airDropCrateCollision);wait 0.001;}}


video/pictures?

The following user thanked LightModz for this useful post:

BlurzGoHard
10-15-2012, 09:15 PM #3
BlurzGoHard
Maggbot timeout!
Originally posted by LightModz View Post
video/pictures?


i cant get it to work in my patch :/ it its a cool idea you should make it better Sir :love:
10-15-2012, 09:33 PM #4
ByteSource
League Champion
Originally posted by LightModz View Post
video/pictures?


Can u record it for me or sumthing idk wat to use to rec on my pc and my pvr dont work no more

---------- Post added at 09:33 PM ---------- Previous post was at 09:27 PM ----------

Originally posted by BlurzGoHard View Post
i cant get it to work in my patch :/ it its a cool idea you should make it better Sir :love:


How is it that u cant get it to work lol
10-15-2012, 09:37 PM #5
BlurzGoHard
Maggbot timeout!
Originally posted by iBe
Can u record it for me or sumthing idk wat to use to rec on my pc and my pvr dont work no more

---------- Post added at 09:33 PM ---------- Previous post was at 09:27 PM ----------



How is it that u cant get it to work lol


idk it jsut might be this blulite menu base and i could get ur terminal house or ur editied welcome message to work
10-15-2012, 09:46 PM #6
ByteSource
League Champion
Originally posted by BlurzGoHard View Post
idk it jsut might be this blulite menu base and i could get ur terminal house or ur editied welcome message to work


Wait so u can get my house and msg to work or not
also eny ideas on what i should make and wat map to make on because i was going to use sub base and make it to a game mode called sink the submarine so they would have wars
10-15-2012, 09:47 PM #7
BlurzGoHard
Maggbot timeout!
Originally posted by iBe
Wait so u can get my house and msg to work or not
also eny ideas on what i should make and wat map to make on because i was going to use sub base and make it to a game mode called sink the submarine so they would have wars


i cant get them to work but that would be kewl
10-15-2012, 10:05 PM #8
ByteSource
League Champion
Originally posted by BlurzGoHard View Post
i cant get them to work but that would be kewl


Yea i no but theres one problem idk how to add gamemodes or patches i was hopeng to see if u can help me with tht problem

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo