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(;
{
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(;
{
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,1
, 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]
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(;
{
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(;
{
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,1
, 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]
WOW i wish i could use this patch, it looks like so much fun
<<
. If you want even more proof, check my 7s profile and see the website listed
.Copyright © 2026, NextGenUpdate.
All Rights Reserved.