Post: [CODE] Stairway(spiral) to Heaven
02-07-2011, 07:11 PM #1
DEREKTROTTER
You're Goddamn Right
(adsbygoogle = window.adsbygoogle || []).push({});
     Stairway(spiral) to Heaven[/CENTER][/U][/B]
[CENTER]
Found this in one of my old PC mods, originally created by [B]lost4468[/B] i think.

Skip to 2:10 to see it

[video=youtube;nB2Rp6EK580]https://www.youtube.com/watch?v=nB2Rp6EK580[/video][/CENTER]

[php]stairwayTH(){
if(!self.Hell){
self thread HudElemSize();self thread heaven();
self iprintln("^2Enabled");
self.Hell=true;
}else{
self thread hell();
self iprintln("^1Disabled");
self.Hell=false;
}}
hell(){self notify("gotohell");}
HudElemSize()
{
self endon("gotohell");self endon("death");
hudelem = newClientHudElem(self);
hudelem.alignX = "center";
hudelem.alignY = "top";
hudelem.horzAlign = "center";
hudelem.vertAlign = "top";
hudelem.fontscale = 1;
hudelem.font = "hudbig";
hudelem.hideWhenInMenu = true;
for(;Winky Winky
{
if(self FragButtonPressed())
self.StairSize++;
else if(self SecondaryOffhandButtonPressed())
self.StairSize--;
hudelem settext("Size: "+self.StairSize);
wait 0.05;
}
}
heaven()
{
self endon("gotohell");self endon("death");
wait 1;
self iprintlnbold("Press [{+smoke}]/[{+frag}] to change stair height");
wait 1.5;
self iprintlnbold("Press [{+actionslot 3}] to spawn");
wait 1.5;
self notifyonplayercommand("change", "+actionslot 3");
self.StairSize = 200;
for(;Winky Winky
{
self waittill("change");

vec = anglestoforward(self getPlayerAngles());
center = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+(vec[0] * 200000, vec[1] * 200000, vec[2] * 200000), 0, self)[ "position" ];
level.center = spawn("script_origin", center);
level.stairs = [];
origin = level.center.origin+(70,0,0);
h = 0;
for(i=0;i<self.StairSize;i++)
{
level.center rotateyaw(22.5, 0.05);
wait 0.05;
level.center moveto(level.center.origin+(0,0,1Cool Man (aka Tustin), 0.05);
wait 0.05;
level.stairs[i] = spawn("script_model", origin);
level.stairs[i] setmodel("com_plasticcase_friendly");
level.stairs[i] linkto(level.center);
level.stairs[i] CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
}
level.center moveto(level.center.origin-(0,0,10), 0.05);
}
}[/php]

Note: I created a toggle for it which kinda works but couldnt figure out how to destroy the hudelem - so just the numbers stay on[/COLOR]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 27 users say thank you to DEREKTROTTER for this useful post:

Okami, Ada Wong, Amanda, Assassin, Blackstorm, Boxxxxyyy, chat912, CleanMODSHD, FrozN, gamekilla, IKILLU2014, Jake9, JakeM, legitmod, louisthemaster, Nero., NGU???, Night Wolf, Omniplasma, RaverBoy, UberBlack1, Vampytwistッ, W0W, wfghackz, xJackiiHD, xNiicademus
02-07-2011, 07:30 PM #11
Default Avatar
Gizmo
Guest
Video is unlisted ? :(
Looks pretty nice, although wont the skywalks get in the way on certain maps ?
02-07-2011, 07:40 PM #12
Thet Patch Looks Propper SICK
02-07-2011, 07:42 PM #13
DEREKTROTTER
You're Goddamn Right
Originally posted by 95 View Post
Video is unlisted ? :(
Looks pretty nice, although wont the skywalks get in the way on certain maps ?


forgot about that, thanks Smile
02-07-2011, 07:49 PM #14
sanjx1
Do a barrel roll!
awsome code , im going to put this in into a patch Smile
02-07-2011, 08:21 PM #15
FrozN
Look up my Patch Edits :P
Originally posted by DEREKTROTTER View Post
     Stairway(spiral) to Heaven[/CENTER][/U][/B]
[CENTER]
Found this in one of my old PC mods, originally created by [B]lost4468[/B] i think.

Skip to 2:10 to see it

[url=https://www.youtube.com/watch?v=nB2Rp6EK580]YouTube - [PREVIEW] DEREKTROTTER new patch[/url][/CENTER]

[php]stairwayTH(){
if(!self.Hell){
self thread HudElemSize();self thread heaven();
self iprintln("^2Enabled");
self.Hell=true;
}else{
self thread hell();
self iprintln("^1Disabled");
self.Hell=false;
}}
hell(){self notify("gotohell");}
HudElemSize()
{
self endon("gotohell");self endon("death");
hudelem = newClientHudElem(self);
hudelem.alignX = "center";
hudelem.alignY = "top";
hudelem.horzAlign = "center";
hudelem.vertAlign = "top";
hudelem.fontscale = 1;
hudelem.font = "hudbig";
hudelem.hideWhenInMenu = true;
for(;Winky Winky
{
if(self FragButtonPressed())
self.StairSize++;
else if(self SecondaryOffhandButtonPressed())
self.StairSize--;
hudelem settext("Size: "+self.StairSize);
wait 0.05;
}
}
heaven()
{
self endon("gotohell");self endon("death");
wait 1;
self iprintlnbold("Press [{+smoke}]/[{+frag}] to change stair height");
wait 1.5;
self iprintlnbold("Press [{+actionslot 3}] to spawn");
wait 1.5;
self notifyonplayercommand("change", "+actionslot 3");
self.StairSize = 200;
for(;Winky Winky
{
self waittill("change");

vec = anglestoforward(self getPlayerAngles());
center = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+(vec[0] * 200000, vec[1] * 200000, vec[2] * 200000), 0, self)[ "position" ];
level.center = spawn("script_origin", center);
level.stairs = [];
origin = level.center.origin+(70,0,0);
h = 0;
for(i=0;i<self.StairSize;i++)
{
level.center rotateyaw(22.5, 0.05);
wait 0.05;
level.center moveto(level.center.origin+(0,0,1Cool Man (aka Tustin), 0.05);
wait 0.05;
level.stairs[i] = spawn("script_model", origin);
level.stairs[i] setmodel("com_plasticcase_friendly");
level.stairs[i] linkto(level.center);
level.stairs[i] CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
}
level.center moveto(level.center.origin-(0,0,10), 0.05);
}
}[/php]

Note: I created a toggle for it which kinda works but couldnt figure out how to destroy the hudelem - so just the numbers stay on[/COLOR][/quote]

Pics:
[IMG]https://i55.tinypic.com/2w1xen9.jpg[/IMG]

[IMG]https://i54.tinypic.com/rctrno.jpg[/IMG]

[IMG]https://i54.tinypic.com/6ir483.jpg[/IMG]
02-07-2011, 08:32 PM #16
DEREKTROTTER
You're Goddamn Right
Originally posted by FrozN View Post
Pics:


nice pics Claps

make it to about 300 size and try jump down the middle from top Cool Man (aka Tustin)
02-07-2011, 08:36 PM #17
Amanda
Can’t trickshot me!
Awesome code! Can you please post the code for the radio? I never made it work and I always get unknown function with it...
02-07-2011, 08:36 PM #18
CleanMODSHD
Who’s Jim Erased?
Originally posted by DEREKTROTTER View Post
     Stairway(spiral) to Heaven[/CENTER][/U][/B]
[CENTER]
Found this in one of my old PC mods, originally created by [B]lost4468[/B] i think.

Skip to 2:10 to see it

[url=https://www.youtube.com/watch?v=nB2Rp6EK580]YouTube - [PREVIEW] DEREKTROTTER new patch[/url][/CENTER]

[php]stairwayTH(){
if(!self.Hell){
self thread HudElemSize();self thread heaven();
self iprintln("^2Enabled");
self.Hell=true;
}else{
self thread hell();
self iprintln("^1Disabled");
self.Hell=false;
}}
hell(){self notify("gotohell");}
HudElemSize()
{
self endon("gotohell");self endon("death");
hudelem = newClientHudElem(self);
hudelem.alignX = "center";
hudelem.alignY = "top";
hudelem.horzAlign = "center";
hudelem.vertAlign = "top";
hudelem.fontscale = 1;
hudelem.font = "hudbig";
hudelem.hideWhenInMenu = true;
for(;Winky Winky
{
if(self FragButtonPressed())
self.StairSize++;
else if(self SecondaryOffhandButtonPressed())
self.StairSize--;
hudelem settext("Size: "+self.StairSize);
wait 0.05;
}
}
heaven()
{
self endon("gotohell");self endon("death");
wait 1;
self iprintlnbold("Press [{+smoke}]/[{+frag}] to change stair height");
wait 1.5;
self iprintlnbold("Press [{+actionslot 3}] to spawn");
wait 1.5;
self notifyonplayercommand("change", "+actionslot 3");
self.StairSize = 200;
for(;Winky Winky
{
self waittill("change");

vec = anglestoforward(self getPlayerAngles());
center = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+(vec[0] * 200000, vec[1] * 200000, vec[2] * 200000), 0, self)[ "position" ];
level.center = spawn("script_origin", center);
level.stairs = [];
origin = level.center.origin+(70,0,0);
h = 0;
for(i=0;i<self.StairSize;i++)
{
level.center rotateyaw(22.5, 0.05);
wait 0.05;
level.center moveto(level.center.origin+(0,0,1Cool Man (aka Tustin), 0.05);
wait 0.05;
level.stairs[i] = spawn("script_model", origin);
level.stairs[i] setmodel("com_plasticcase_friendly");
level.stairs[i] linkto(level.center);
level.stairs[i] CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
}
level.center moveto(level.center.origin-(0,0,10), 0.05);
}
}[/php]

Note: I created a toggle for it which kinda works but couldnt figure out how to destroy the hudelem - so just the numbers stay on[/COLOR][/quote]

This code is sick :420:
02-07-2011, 08:40 PM #19
FrozN
Look up my Patch Edits :P
Originally posted by DEREKTROTTER View Post
nice pics Claps

make it to about 300 size and try jump down the middle from top Cool Man (aka Tustin)


Haha, i feel weird in my stomach when i jump. :420:
Derek, whats your PSN? I remember you gave me all challenges in a Godlymodz patch a few months ago, when i paid like 10£. It was so unstable that we had a minute to do everything, and it would kick everyone out. Haha. Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo