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 662 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Farzadundefined Offline
    Farzadundefined Offline
    Farzad
    wrote on last edited by Farzad
    #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";
    
    
    Kalitosundefined 1 Reply Last reply
    0
    • Farzadundefined Farzad

      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";
      
      
      Kalitosundefined Offline
      Kalitosundefined Offline
      Kalitos
      wrote on last edited by Kalitos
      #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
      • homuraundefined Offline
        homuraundefined Offline
        homura
        Banned
        wrote on 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
        • mikzyundefined Offline
          mikzyundefined Offline
          mikzy
          Banned
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • Gnarniaundefined Offline
            Gnarniaundefined Offline
            Gnarnia
            wrote on 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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

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