• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grace period name
#1
hey is it possible to change the name of the grace period name to something else?

also

if people are in a certin co-ordinate to another co-ordinate is it possible to kill them?
  Reply
#2
Hm..
grace period = prematch period ?

Sry, I'm French
  Reply
#3
(03-14-2011, 16:52)Romuald27 Wrote: Hm..
grace period = prematch period ?

Sry, I'm French

pretty much
  Reply
#4
Ok, I know how Smile

Go in maps\mp\gametypes\_globallogic and replaces this code with this one


Quote:matchStartTimer()
{
visionSetNaked( "mpIntro", 0 );

matchStartText = createServerFontString( "extrabig", 1.5 );
matchStartText setPoint( "CENTER", "CENTER", 0, -40 );
matchStartText.sort = 1001;
matchStartText setText( game["strings"]["waiting_for_teams"] );
matchStartText.foreground = false;
matchStartText.hidewheninmenu = true;

waitForPlayers();
matchStartText setText( game["strings"]["match_starting_in_mod"] );

matchStartTimer = createServerFontString( "extrabig", 2.2 );
matchStartTimer setPoint( "CENTER", "CENTER", 0, 0 );
matchStartTimer.sort = 1001;
matchStartTimer.color = (1,1,0);
matchStartTimer.foreground = false;
matchStartTimer.hidewheninmenu = true;

matchStartTimer maps\mp\gametypes\_hud::fontPulseInit();

countTime = int( level.prematchPeriod );

if ( countTime >= 2 )
{
while ( countTime > 0 && !level.gameEnded )
{
matchStartTimer setValue( countTime );
matchStartTimer thread maps\mp\gametypes\_hud::fontPulse( level );
if ( countTime == 2 )
visionSetNaked( GetDvar( #"mapname" ), 3.0 );
countTime--;
wait ( 1.0 );
}
}
else
{
visionSetNaked( GetDvar( #"mapname" ), 1.0 );
}

matchStartTimer destroyElem();
matchStartText destroyElem();
}
Go in maps\mp\gametypes\_rank and add this code
Quote:precacheItems()
{

game["strings"]["match_starting_in_mod"] = "Your Text !";

precacheString(game["strings"]["match_starting_in_mod"]);

}

Then in init() add " level thread precacheItems()"
  Reply
#5
thanks
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ready up period Cprl.Rst 7 3,361 04-27-2012, 08:54
Last Post: kris
Exclamation Help Ready up Period Looping Eekhoorn Boomshay 1 2,039 07-03-2011, 02:30
Last Post: Boomshay
  Help Can you disable the jump button for a period of time? clxyeah 5 3,129 07-02-2011, 02:01
Last Post: koil
  Ready Up Period Mod/Snippet Boomshay 5 2,816 06-30-2011, 05:52
Last Post: Boomshay

Forum Jump:


Users browsing this thread: 1 Guest(s)