ItsMods

Full Version: Grace period name
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Hm..
grace period = prematch period ?

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

Sry, I'm French

pretty much
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()"
thanks