UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Replace the Round Number Text

broken avatar :(
Created 11 years ago
by jbird
0 Members and 1 Guest are viewing this topic.
1,950 views
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 13 May 2014
Last active: 5 days ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
×
jbird's Groups
I want to replace the round number text with different text that isn't the round number. I want it to be a variable that uses the tally mark system also.
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 4 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social LinksTimSmithtimsmith90THEREALBaDBoY17My clan Website

You mean When you first start the game and it says Round ??


if it you go to you ROOT / Raw / english / localizedstrings / zombie.str


edit it with notepad ++


and go To line 25


you will see


REFERENCE           ROUND_BEGIN
LANG_ENGLISH        "Round"


change where it says round to whatever you want also change this line 31


REFERENCE           ROUND
LANG_ENGLISH        "Round"


also change the round to what it want to say in the start of the map




if you talking about the chalkmarks it's easy find the ones you like


name it as the number it's showing


if it's 1 name it chalkmarks_1
if it's 2 name it chalkmarks_2
etc ...


i hope i helped you :)

broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 27 January 2015
Last active: 10 years ago
Posts
337
Respect
Forum Rank
Perk Hacker
Primary Group
Member
Signature
×
liamsa669's Groups
liamsa669's Contact & Social Links
he means like elfenlied's map's text rounds.

Open _zombiemode.gsc and find this:
Code Snippet
Plaintext
create_chalk_hud( x )
{
if( !IsDefined( x ) )
{
x = 0;
}

hud = create_simple_hud();
hud.alignX = "left";
hud.alignY = "bottom";
hud.horzAlign = "left";
hud.vertAlign = "bottom";
hud.color = ( 0.423, 0.004, 0 );
hud.x = x;
hud.alpha = 0;

hud SetShader( "hud_chalk_1", 64, 64 );

return hud;
}

replace it with:
Code Snippet
Plaintext
create_chalk_hud( x )
{
if( !IsDefined( x ) )
{
x = 0;
}

level.hud = create_simple_hud();
level.hud.alignX = "left";
level.hud.alignY = "bottom";
level.hud.horzAlign = "left";
level.hud.vertAlign = "bottom";
level.hud.color = ( 0.423, 0.004, 0 );
level.hud.x = x;
level.hud.alpha = 0;

level.hud SetShader( "hud_chalk_1", 64, 64 );

return hud;
}
then when you want it to be a text:
Code Snippet
Plaintext
level.hud Reset();
level.hud SetText("MEOW");

this is untested, but im pretty sure itll work, if not ill just write a method to destroy and recreate it

 
Loading ...