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, 11:59 PM #29
DEREKTROTTER
You're Goddamn Right
Originally posted by Dr.Dizzy View Post
and ac130, you just have to do sumut in missions for QSmod and everything else in ac130.gsc - I got plenty of space in your patch (no credits removed (of course)) :bro: <3


did that already, jsut delete all the ac130 funcs then rename Dancing
02-08-2011, 05:46 AM #30
pcfreak30
>> PCFreak30.com Happy<<
Funny, seeing as how I was one of the first to create stair cases from care packages. I did it with Antic on 7s, then lost took the idea and did a spiral Smile.

Still haven't released the "Shape Shitter" me and Antic coded a LONG LONG time ago..
02-08-2011, 10:01 AM #31
DEREKTROTTER
You're Goddamn Right
Originally posted by pcfreak30 View Post
Funny, seeing as how I was one of the first to create stair cases from care packages. I did it with Antic on 7s, then lost took the idea and did a spiral Smile.

Still haven't released the "Shape Shitter" me and Antic coded a LONG LONG time ago..


That's no good to us is it

The following user thanked DEREKTROTTER for this useful post:

Blackstorm
02-08-2011, 03:40 PM #32
Default Avatar
Gizmo
Guest
Originally posted by DEREKTROTTER View Post
That's no good to us is it


Exactly what I thought...
Is that the real pcfreak, or is just a fanboy , I strugle to see what motivation he would have to move to NGU when he was so respected on S7

The following user thanked Gizmo for this useful post:

legitmod
02-08-2011, 07:02 PM #33
DEREKTROTTER
You're Goddamn Right
Originally posted by 95 View Post
Exactly what I thought...
Is that the real pcfreak, or is just a fanboy , I strugle to see what motivation he would have to move to NGU when he was so respected on S7


i dont like his attitude acting big headed live he's better than everyone, when Mossy is a better coder than him.
02-08-2011, 07:05 PM #34
oO-GKUSH-Oo
< ^ > < ^ >
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]

Hey **** your sig man i spent hours trying to catch it lol
02-08-2011, 07:17 PM #35
Default Avatar
Gizmo
Guest
Originally posted by DEREKTROTTER View Post
i dont like his attitude acting big headed live he's better than everyone, when Mossy is a better coder than him.


Double Gold Rep :O

And yeh, I agree :/
02-11-2011, 03:29 AM #36
i like it a lot, its fun but you should work at getting those numbers off.other than that its a lot of fun! keep up the good work!:carling:
02-11-2011, 04:56 AM #37
DEREKTROTTER Thanks heaps for this code, atleast i dont have to make it with forge mode everytime i start the match now all i have to do is just like ^ then Staircase all done, thanks again mate keep up the good work

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo