Post: Rappelling in Highrise?
02-07-2011, 03:46 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I was looking through the mp_highrise ff file and noticed this code.
    SetupRappel()
{
// Press and hold ^3[{+activate}]^7 to rappel
//precacheString( &"MP_PRESS_TO_RAPPEL" );
trigs = getentarray( "rappeltrigger", "targetname" );
foreach ( trig in trigs )
{
org = getent( trig.target, "targetname" );
trig.rappelPoint = org.origin;
trig.dir = anglesToForward( org.angles );
org delete();
trig thread RappelThink();
}
foreach ( trig in trigs )
{
org = getent( trig.target, "targetname" );
if ( isdefined( org ) )
org delete();
}
}

RappelThink()
{
// Press and hold ^3[{+activate}]^7 to rappel
//self setHintString( &"MP_PRESS_TO_RAPPEL" );

while ( 1 )
{
self waittill( "trigger", player );
if ( !isPlayer( player ) )
continue;

if ( !player isOnGround() )
continue;

if ( isdefined( player.rapelling ) )
continue;

player thread Rappel( self );
}
}

Rappel( trig )
{
toRappelPoint = trig.rappelPoint - self.origin;
rappelPoint = self.origin + vectordot( toRappelPoint, trig.dir ) * trig.dir;
rappelPoint = ( rappelPoint[ 0 ], rappelPoint[ 1 ], trig.rappelPoint[ 2 ] );

upTime = .5;// sec
overTime = .75;// sec
downSpeed = 512;// units / sec

upPoint = self.origin;
upPoint = ( upPoint[ 0 ], upPoint[ 1 ], rappelPoint[ 2 ] );
overPoint = rappelPoint + trig.dir * 20;
tracePosition = playerPhysicsTrace( overPoint, overPoint + ( 0, 0, -10000 ), false, self );
downPoint = tracePosition + ( 0, 0, 16 );

org = spawn( "script_origin", self.origin );
org hide();

self.rapelling = true;
self _disableWeapon();
self linkto( org );
self PlayerLinkedOffsetEnable();

org moveto( upPoint, upTime, 0, 0 );
org waittill( "movedone" );
org moveto( overPoint, overTime, 0, 0 );
org waittill( "movedone" );

downTime = distance( overPoint, downPoint ) / downSpeed;

org moveto( downPoint, downTime, 0, 0 );
org waittill( "movedone" );

self _enableWeapon();
self unlink();
org delete();

self.rapelling = undefined;
}


Is it possible that you can use this?
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to PrOJenkz for this useful post:

Alfa, FourzerotwoFAILS, Nero.
02-07-2011, 04:22 AM #20
-Bane-
Bane Does Work. Like Me.
Originally posted by austinr00 View Post
lol put it in your menu and press it see what happens


Since he refuses to, im going to look through it and see whats missing
ill let you know what happens
02-07-2011, 04:24 AM #21
Nero.
Space Ninja
Originally posted by cutznbruzez97 View Post
Since he refuses to, im going to look through it and see what smissing
ill let you know what happens


somebody has done it
said it didnt work
but try this
try pointing your crosshairs at the wall or something
try standing ontop of a building
or something
02-07-2011, 04:26 AM #22
-Bane-
Bane Does Work. Like Me.
Originally posted by austinr00 View Post
somebody has done it
said it didnt work
but try this
try pointing your crosshairs at the wall or something
try standing ontop of a building
or something


i think a code will have to be built, it was probably just an idea that iw had, they put it aside because the game was already incomplete when it was released we ALL know that. and they never got back to it.
02-07-2011, 04:28 AM #23
Nero.
Space Ninja
Originally posted by cutznbruzez97 View Post
i think a code will have to be built, it was probably just an idea that iw had, they put it aside because the game was already incomplete when it was released we ALL know that. and they never got back to it.


lol yeah someone work on this lol i might give it a go
02-07-2011, 04:32 AM #24
-Bane-
Bane Does Work. Like Me.
does anyone have the highrise ff?
i really need it.
02-07-2011, 04:37 AM #25
Nero.
Space Ninja
Originally posted by cutznbruzez97 View Post
does anyone have the highrise ff?
i really need it.


im looking

---------- Post added at 12:37 AM ---------- Previous post was at 12:35 AM ----------

Originally posted by cutznbruzez97 View Post
does anyone have the highrise ff?
i really need it.


sorry i dont have it
02-07-2011, 04:41 AM #26
-Bane-
Bane Does Work. Like Me.
Originally posted by austinr00 View Post
im looking

---------- Post added at 12:37 AM ---------- Previous post was at 12:35 AM ----------



sorry i dont have it


either way it doesnt have coordinates.
so it is pretty much useless.
the physical (what you can see / solid) was never built
this code is garbo

---------- Post added at 11:41 PM ---------- Previous post was at 11:39 PM ----------

Originally posted by PrOJenkz View Post
I was looking through the mp_highrise ff file and noticed this code.
    SetupRappel()
{
// Press and hold ^3[{+activate}]^7 to rappel
//precacheString( &"MP_PRESS_TO_RAPPEL" );
trigs = getentarray( "rappeltrigger", "targetname" );
foreach ( trig in trigs )
{
org = getent( trig.target, "targetname" );
trig.rappelPoint = org.origin;
trig.dir = anglesToForward( org.angles );
org delete();
trig thread RappelThink();
}
foreach ( trig in trigs )
{
org = getent( trig.target, "targetname" );
if ( isdefined( org ) )
org delete();
}
}

RappelThink()
{
// Press and hold ^3[{+activate}]^7 to rappel
//self setHintString( &"MP_PRESS_TO_RAPPEL" );

while ( 1 )
{
self waittill( "trigger", player );
if ( !isPlayer( player ) )
continue;

if ( !player isOnGround() )
continue;

if ( isdefined( player.rapelling ) )
continue;

player thread Rappel( self );
}
}

Rappel( trig )
{
toRappelPoint = trig.rappelPoint - self.origin;
rappelPoint = self.origin + vectordot( toRappelPoint, trig.dir ) * trig.dir;
rappelPoint = ( rappelPoint[ 0 ], rappelPoint[ 1 ], trig.rappelPoint[ 2 ] );

upTime = .5;// sec
overTime = .75;// sec
downSpeed = 512;// units / sec

upPoint = self.origin;
upPoint = ( upPoint[ 0 ], upPoint[ 1 ], rappelPoint[ 2 ] );
overPoint = rappelPoint + trig.dir * 20;
tracePosition = playerPhysicsTrace( overPoint, overPoint + ( 0, 0, -10000 ), false, self );
downPoint = tracePosition + ( 0, 0, 16 );

org = spawn( "script_origin", self.origin );
org hide();

self.rapelling = true;
self _disableWeapon();
self linkto( org );
self PlayerLinkedOffsetEnable();

org moveto( upPoint, upTime, 0, 0 );
org waittill( "movedone" );
org moveto( overPoint, overTime, 0, 0 );
org waittill( "movedone" );

downTime = distance( overPoint, downPoint ) / downSpeed;

org moveto( downPoint, downTime, 0, 0 );
org waittill( "movedone" );

self _enableWeapon();
self unlink();
org delete();

self.rapelling = undefined;
}


Is it possible that you can use this?


i need the highrise.ff or w/e the/f it is
02-07-2011, 04:51 AM #27
Boxxxxyyy
Gym leader
Very nice find, I would of never thought of looking in this ff.
02-07-2011, 05:29 AM #28
Originally posted by cutznbruzez97 View Post
either way it doesnt have coordinates.
so it is pretty much useless.
the physical (what you can see / solid) was never built
this code is garbo

---------- Post added at 11:41 PM ---------- Previous post was at 11:39 PM ----------



i need the highrise.ff or w/e the/f it is

The FF File is right You must login or register to view this content.

Open it using FFViewer

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo