Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Replacing Outcomes

[Support] Replacing Outcomes

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 5 Posters 221 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined Offline
    undefined Offline
    Farzad
    wrote on Apr 9, 2020, 6:21 PM last edited by Farzad Apr 9, 2020, 9:25 PM
    #1

    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";
    
    
    undefined 1 Reply Last reply Apr 9, 2020, 6:53 PM
    0
    • undefined Offline
      undefined Offline
      Kalitos
      replied to Farzad on Apr 9, 2020, 6:53 PM last edited by Kalitos Apr 9, 2020, 10:29 PM
      #2

      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";
      }
      
      1 Reply Last reply
      0
      • undefined Offline
        undefined Offline
        homura Banned
        wrote on Apr 9, 2020, 6:53 PM last edited by
        #3

        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";
        
        1 Reply Last reply
        1
        • undefined Offline
          undefined Offline
          mikzy Banned
          wrote on Jul 10, 2020, 10:51 PM last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • undefined Offline
            undefined Offline
            Nemesis Gnarnia
            wrote on Feb 21, 2025, 4:38 AM last edited by
            #5

            i wanna change the text from "Victory" to something else for private match games but cant find where to do that

            1 Reply Last reply
            0

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate