Raised This Month: $51 Target: $400
 12% 

[CSGO] Arms race top stats UI manipulation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
orglee
Member
Join Date: Dec 2005
Old 12-04-2021 , 11:36   [CSGO] Arms race top stats UI manipulation
Reply With Quote #1

Hi,
I wonder if it's possible to manipulate this UI from the plugin code?

The issue is related to my GunGame post: https://forums.alliedmods.net/showpo...postcount=5254



serverfiles/csgo/gamemodes.txt:
Code:
 "gungame"
                {
                        "value"                         "1"
                        "nameID"                        "#SFUI_GameTypeGungame"

                        // This is the list of game modes supported by this game type.
                        "gameModes"
                        {
                                "gungameprogressive"
                                {
                                        "value"                         "0"
                                        "nameID"                        "#SFUI_GameModeGGProgressive"
                                        "descID"                        "#SFUI_GameModeGGProgressiveDesc"
                                        "descID_List"           "#SFUI_GameModeGGProgressiveDescList"
                                        "uid"                           "11"
                                        "maxplayers"            "10"

                                        // These are the descriptive ui elements to display in the information box on.
                                        // These key/values should be pairs of strings.  The "key" will appear in the left
                                        // column, the "value" will appear in the right column.
                                        "ui"
                                        {
                                                "0"             { "label" "#SFUI_WinMatchColon"                 "value" "30 #SFUI_Minutes" }
                                                "1"             { "label" "#SFUI_SpectateColon"                 "value" "#SFUI_SpectateAnyone" }
                                                "2"             { "label" "#SFUI_BotsColon"                             "value" "#SFUI_BotDifficulty2" }
                                        }
__________________
orglee is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-04-2021 , 17:49   Re: [CSGO] Arms race top stats UI manipulation
Reply With Quote #2

...it is not recommend to edit gamemodes.txt file itself. You should use override file
gamemodes_server.txt

Last time I try mess something with gamemodes, all settings feels like it is client side behaviour, like it only affect you not else. It have been long time.

And gamemodes_server.txt actually add more "key" values, but not replace original ones tough :/

Maybe one day look at it again.
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode