Ticket #3397: t3397_v1.patch

File t3397_v1.patch, 2.1 KB (added by Sergey Kushnirenko, 8 years ago)
  • binaries/data/config/default.cfg

     
    323323attacknotificationmessage = true  ; Show attack notification messages
    324324camerajump.threshold = 40         ; How close do we have to be to the actual location in order to jump back to the previous one?
    325325timeelapsedcounter = false        ; Show the game duration in the top right corner
     326objectstitle = 2                   ;
    326327
    327328[gui.session.minimap]
    328329blinkduration = 1.7               ; The blink duration while pinging
  • binaries/data/mods/public/gui/options/options.json

     
    5454            "label": "Persist Match Settings",
    5555            "tooltip": "Save and restore match settings for quick reuse when hosting another game",
    5656            "parameters": { "config": "persistmatchsettings" }
     57        },
     58        {
     59            "type": "dropdown",
     60            "label": "Object title",
     61            "tooltip": "Object title",
     62            "parameters": { "list": [ "Generic", "Specific", "Both" ], "config": "gui.session.objectstitle" }
    5763        }
    5864    ],
    5965    "graphicsSetting":
  • binaries/data/mods/public/gui/session/selection_details.js

     
    232232    }
    233233
    234234    // Set Player details
     235    var titleType = Engine.ConfigDB_GetValue("user", "gui.session.objectstitle");
     236    if (titleType == "0")
     237    {
     238        specificName = genericName;
     239    }
     240    else if (titleType == "1")
     241    {
     242        genericName = specificName;
     243    }
     244
    235245    Engine.GetGUIObjectByName("specific").caption = specificName;
    236246    Engine.GetGUIObjectByName("player").caption = playerName;
    237247    Engine.GetGUIObjectByName("playerColorBackground").sprite = "color: " + playerColor;