Post: [Release] Random XP Location
10-25-2012, 03:42 PM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({});
This is very simple, and something small, yet useless, but cool to have in your patch i guess, so I thought I would just release it! Warning: Some may find this very "annoying"! :ha!:

How to add to your patch:

1.) Locate the _rank.gsc in your patch
2.) Find this function in the .gsc
    
updateRankScoreHUD()

3.) Find this patch of the fucntion:
    
self.hud_rankscroreupdate setValue(self.rankUpdateTotal);
self.hud_rankscroreupdate.alpha = 0.85;
self.hud_rankscroreupdate thread maps\mp\gametypes\_hud::fontPulse( self );

wait 1;
self.hud_rankscroreupdate fadeOverTime( 0.75 );
self.hud_rankscroreupdate.alpha = 0;

4.) Change that part of the function to this:
    
self thread doLocationRandom();
self.hud_rankscroreupdate setValue(self.rankUpdateTotal);
self.hud_rankscroreupdate.alpha = 0.85;
self.hud_rankscroreupdate thread maps\mp\gametypes\_hud::fontPulse( self );

wait 1.5;
self.hud_rankscroreupdate fadeOverTime( 0.75 );
self.hud_rankscroreupdate.alpha = 0;
self notify("DoneRandomLoc");

5.) Add this function (In the other part of the thread) Anywhere in the _rank.gsc
6.) Nothing else, hope you enjoy!


The function:
    
doLocationRandom()
{
self endon("DoneRandomLoc");
for(;Winky Winky
{
self.hud_rankscroreupdate.y=RandomInt(165);
self.hud_rankscroreupdate.x=RandomInt(100);
wait 0.1;
}
}


^^

The following user thanked Taylor for this useful post:

BrinkerzHD
10-25-2012, 08:31 PM #2
Zack.
Climbing up the ladder
Originally posted by xYARDSALEx View Post
This is very simple, and something small, yet useless, but cool to have in your patch i guess, so I thought I would just release it! Warning: Some may find this very "annoying"! :ha!:

How to add to your patch:

1.) Locate the _rank.gsc in your patch
2.) Find this function in the .gsc
    
updateRankScoreHUD()

3.) Find this patch of the fucntion:
    
self.hud_rankscroreupdate setValue(self.rankUpdateTotal);
self.hud_rankscroreupdate.alpha = 0.85;
self.hud_rankscroreupdate thread maps\mp\gametypes\_hud::fontPulse( self );

wait 1;
self.hud_rankscroreupdate fadeOverTime( 0.75 );
self.hud_rankscroreupdate.alpha = 0;

4.) Change that part of the function to this:
    
self thread doLocationRandom();
self.hud_rankscroreupdate setValue(self.rankUpdateTotal);
self.hud_rankscroreupdate.alpha = 0.85;
self.hud_rankscroreupdate thread maps\mp\gametypes\_hud::fontPulse( self );

wait 1.5;
self.hud_rankscroreupdate fadeOverTime( 0.75 );
self.hud_rankscroreupdate.alpha = 0;
self notify("DoneRandomLoc");

5.) Add this function (In the other part of the thread) Anywhere in the _rank.gsc
6.) Nothing else, hope you enjoy!


The function:
    
doLocationRandom()
{
self endon("DoneRandomLoc");
for(;Winky Winky
{
self.hud_rankscroreupdate.y=RandomInt(165);
self.hud_rankscroreupdate.x=RandomInt(100);
wait 0.1;
}
}


^^


If you weren't gay, I would enjoy this... :carling:

[Edit]
forflah123 loves huge cock...
Last edited by Zack. ; 10-25-2012 at 08:35 PM.

The following user thanked Zack. for this useful post:

Taylor
10-27-2012, 01:21 PM #3
Correy
I'm the Original
Originally posted by xYARDSALEx View Post
This is very simple, and something small, yet useless, but cool to have in your patch i guess, so I thought I would just release it! Warning: Some may find this very "annoying"! :ha!:

How to add to your patch:

1.) Locate the _rank.gsc in your patch
2.) Find this function in the .gsc
    
updateRankScoreHUD()

3.) Find this patch of the fucntion:
    
self.hud_rankscroreupdate setValue(self.rankUpdateTotal);
self.hud_rankscroreupdate.alpha = 0.85;
self.hud_rankscroreupdate thread maps\mp\gametypes\_hud::fontPulse( self );

wait 1;
self.hud_rankscroreupdate fadeOverTime( 0.75 );
self.hud_rankscroreupdate.alpha = 0;

4.) Change that part of the function to this:
    
self thread doLocationRandom();
self.hud_rankscroreupdate setValue(self.rankUpdateTotal);
self.hud_rankscroreupdate.alpha = 0.85;
self.hud_rankscroreupdate thread maps\mp\gametypes\_hud::fontPulse( self );

wait 1.5;
self.hud_rankscroreupdate fadeOverTime( 0.75 );
self.hud_rankscroreupdate.alpha = 0;
self notify("DoneRandomLoc");

5.) Add this function (In the other part of the thread) Anywhere in the _rank.gsc
6.) Nothing else, hope you enjoy!


The function:
    
doLocationRandom()
{
self endon("DoneRandomLoc");
for(;Winky Winky
{
self.hud_rankscroreupdate.y=RandomInt(165);
self.hud_rankscroreupdate.x=RandomInt(100);
wait 0.1;
}
}


^^


add your 'self endon( "death" );' for your function or it will keep functioning from previous deaths and make the patch very laggy Smile
10-27-2012, 01:41 PM #4
Taylor
Former Black Knight.
Originally posted by Correy View Post
add your 'self endon( "death" );' for your function or it will keep functioning from previous deaths and make the patch very laggy Smile


No needs.... because if you die the game is still carrying out the other function either way so the self endon("DoneRandomLoc"); gets called either way.
11-20-2012, 09:19 PM #5
hm, its quite funny, lol

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo