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-11-2011, 03:09 PM #38
xFkN
Haxor!
Amazing Flashing Menu Derek =) you Spiral Tower ist very Cool and easy to Edit to a Patch =)
02-12-2011, 11:45 PM #39
<Jimbo>
</Jimbo>
Good Code, I like it... There are alway's people in my lobbies tryna make a stairway to heaven! I can no just whip this out to show them up! :P
02-13-2011, 12:42 AM #40
Greenbolt111
Bounty hunter
Looks so epic!
02-19-2011, 07:28 PM #41
HerbalEye
I'm thinking of a number...
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]

WOW i wish i could use this patch, it looks like so much fun
02-25-2011, 12:36 AM #42
I am Mara
Can I Haz Kebab?
I love this, DT! Thank you so much!!<3
02-25-2011, 01:16 AM #43
pcfreak30
>> PCFreak30.com Happy<<
Um, I would consider myself equal to mossy. Sorry for acting cocky, just sometimes annoys me of all the newbs around here. And I am the real PCFreak30.

If you want proof, visit derrickhammer.com. Not advertising, just has my contacts as well as public profiles. As to the person who said about 7s, why should I stick to one place. I am respected here as well. I have XBOX AND PS3. FYI, 7S ps3 section is a dump.

Oh and you should know I modded ps3 before xbox anyways Smile. If you want even more proof, check my 7s profile and see the website listed Smile.

BTW good job with the stair case. Geometry always blew my mind especially on MW2.
02-25-2011, 01:56 AM #44
nice man i like keep editing patches ur good at it Smile
02-25-2011, 04:50 AM #45
I made mine out of dev spheres :420:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo