[Support] Replacing Outcomes
-
Would this be the correct way to replace “Round Win” at the end of a victory round on SnD? Why is their an underscore after win? Does that space both words? Is that why? And is this right?
if ( isround ) { outcometitle settext( game[ "strings" ][ "round_win" ] ); } else { outcometitle settext( game[ "strings" ][ "victory" ] ); } outcometitle.color = ( 0,42, 0,68, 0,46 );
Here are the two strings tied with the above or in other words the function if its correct:
game[ "strings" ][ "round_win" ] = &"MP_ROUND_WIN_CAPS"; game[ "strings" ][ "victory" ] = &"MP_VICTORY_CAPS";
-
Farzad Referring to the post of "[Release] Overwrite Default Class (GSC)" where it declares the following:
init() { level thread onPlayerConnect(); game["strings"]["change_class"] = undefined; }
I think, if what you need is to change the message it shows the player, if you declare it like this, it should work.
init() { level thread onPlayerConnect(); game[ "strings" ][ "round_win" ] = "Your message"; game[ "strings" ][ "victory" ] = "Your message"; }
-
We discussed it on Discord. It was located in _hud_message.gsc and he was wondering how to change localized strings. For anyone wondering how:
game[ "strings" ][ "round_win" ] = &"MP_ROUND_WIN_CAPS";
can become
game[ "strings" ][ "round_win" ] = "you just won the round bruh";
-
This post is deleted!