Skip to content

Instantly share code, notes, and snippets.

@aSharkTank
Last active September 1, 2024 15:50
Show Gist options
  • Save aSharkTank/041605c01ecc3e223607dc777b6d97cc to your computer and use it in GitHub Desktop.
Save aSharkTank/041605c01ecc3e223607dc777b6d97cc to your computer and use it in GitHub Desktop.
[CS2] SharkFly's Colormod

Installing the language file

  1. Open the file and download it using Ctrl+S
  2. Name this file csgo_sharkmod.txt and put it inside the following folder: "root"\steamapps\common\Counter-Strike Global Offensive\game\csgo\resource (replace "root" with the root directory of your steam installation)
  3. Go to your steam application, right click Counter Strike: Global Offensive > Properties, scroll down until you find the Launch Options area and add in the following launch option: -language sharkmod

Features

  • Updated Chat Messages
  • Utility thrown is more visible and easily noticeable
  • Easily noticeable team-join messages
  • Simpler money Award and Penalty messages
  • Corrections to default, map-specific, in-game callouts (Unique Feature!)

Screenshots

cs2_sharkmod_utility cs2_sharkmod_awards cs2_sharkmod_penalties cs2_sharkmod_teams cs2_sharkmod_chat_t cs2_sharkmod_chat_ct cs2_sharkmod_scoreboard cs2_sharkmod_spectator

Encountering Issues

First, identifying the issue:

  • Broken Buttons: Make sure that the correct and most updated file of this textmod is being used in the game\csgo\resource
  • Crash: In a case of a crash, double check that you're only running the -language sharkmod parameter, otherwise it could lead to a crash
  • Doesn't work:
    1. Make sure the base game language is English, you can check this under CS:GO Properties (follow step 3), make sure it says Language: English this usually occurs because for any other translation but English, the game requires ALL the key+value pairs of the language file
    2. double check that you're only running the -language sharkmod launch parameter.

If you encounter any that you do not manage to solve with the above steps, or you would like to suggest anything, you can message me on discord with the username: sharkfly.

Credits

TO CLARIFY: THIS WAS NOT MY ORIGINAL IDEA

Original idea by spddl

The next public version was made by Orel

Was later rewritten and edited by Maxim (MrMaxim / BananaGaming) for CS:GO

Current version is inspired by both MrMaxim and xPaw's CS2 text mod

Re-made for Counter Strike: 2 by SharkFly (aSharkTank)

Sidenote

I encourage people to edit any of the values to the way they want them to be, as the looks are 100% subjective, so if you dislike something- your best bet would be to open up your favourite text editor, press Ctrl+F to find the value/key and save the file!

"lang"
{
// Text Color Mod
// Original idea by Orel & spddl
// Rewritten and edited by Maxim (MrMaxim / BananaGaming) since Version 1.0
// Current version inspired by https://gist.github.com/xPaw 's CS2 text mod
// Re-made for Counter Strike: 2 by SharkFly
"Language" "English"
"Tokens"
{
// ---------------------------------------------------------------------------------------------
// Server Loading
"LoadingProgress_SpawningServer" "*(0%) Starting local game server..."
"LoadingProgress_Changelevel" "(10%) Changing map..."
"LoadingProgress_LoadMap" "(20%) Loading world..."
"LoadingProgress_PrecacheWorld" "(30%) Initializing world..."
"LoadingProgress_LoadResources" "(50%) Loading resources..."
"LoadingProgress_SignonLocal" "(80%) Initializing resources..."
"LoadingProgress_SignonDataLocal" "(90%) Initializing game data..."
"LoadingProgress_CompilingShaders" "(100%) Compiling shaders..."
// Titles
"Cstrike_TitlesTXT_Bomb_Defused" " Bomb defused"
"Cstrike_TitlesTXT_Bomb_Planted" " Bomb planted (%s1 seconds left)"
"Cstrike_TitlesTXT_Defusing_Bomb" " DEFUSING!"
"Cstrike_TitlesTXT_Planting_Bomb" " PLANTING!"
"Cstrike_TitlesTXT_Game_join_ct" "%s1 > CT \n"
"Cstrike_TitlesTXT_Game_join_ct_auto" "%s1 > CT (auto)\n"
"Cstrike_TitlesTXT_Game_join_terrorist" "%s1 > T \n"
"Cstrike_TitlesTXT_Game_join_terrorist_auto" "%s1 > T (auto)\n"
"Cstrike_game_join_spectators" "%s1 > Spectators\n"
"Cstrike_game_join_terrorist" "%s1 > T \n"
"Cstrike_game_join_ct" "%s1 > CT \n"
"Cstrike_TitlesTXT_Got_bomb" "+ C4"
"Cstrike_TitlesTXT_Got_defuser" "+ KIT"
"Cstrike_TitlesTXT_Weapon_Pickup" "+ %s1"
"Cstrike_TitlesTXT_Game_teammate_attack" "%s1 attacked a teammate"
"SFUI_TitlesTXT_Fire_in_the_hole" " • Grenade"
"SFUI_TitlesTXT_Molotov_in_the_hole" " • Molotov"
"SFUI_TitlesTXT_Incendiary_in_the_hole" " • Incendiary"
"SFUI_TitlesTXT_Flashbang_in_the_hole" " • Flash"
"SFUI_TitlesTXT_Smoke_in_the_hole" " • Smoke"
"SFUI_TitlesTXT_Decoy_in_the_hole" " • Decoy"
// Chat
"Game_radio" " %s1 : %s2"
"Game_radio_location" " [%s2] | %s1 : %s3"
"Cstrike_Chat_CT_Loc" " [%s3] | (CT) %s1 : %s2"
"Cstrike_Chat_CT" " (CT) %s1 : %s2"
"Cstrike_Chat_T_Loc" " [%s3] | (T) %s1 : %s2"
"Cstrike_Chat_T" " (T) %s1 : %s2"
"Cstrike_Chat_CT_Dead" "  *DEAD * (CT) %s1 : %s2"
"Cstrike_Chat_T_Dead" "  *DEAD * (T) %s1 : %s2"
"Cstrike_Chat_Spec" " (SPEC) %s1 : %s2"
"Cstrike_Chat_All" " %s1 : %s2"
"Cstrike_Chat_AllDead" " %s1 [DEAD] : %s2"
"Cstrike_Chat_AllSpec" " %s1 [SPEC] : %s2"
"SFUI_Settings_Chat_Say" " ALL"
"SFUI_Settings_Chat_SayTeam" " TEAM"
"SFUI_Settings_Chat_SayParty" " PARTY"
"SFUI_Settings_Chat_SayPartyEmpty" " PARTY (it's just you at the moment)"
// Cash
// Team
"Team_Cash_Award_T_Win_Bomb" " +$%s1: C4 detonated"
"Team_Cash_Award_Elim_Hostage" " +$%s1: Team elimination"
"Team_Cash_Award_Elim_Bomb" " +$%s1: Team elimination"
"Team_Cash_Award_Win_Time" " +$%s1: Time is up"
"Team_Cash_Award_Win_Defuse_Bomb" " +$%s1: C4 defused"
"Team_Cash_Award_Win_Hostages_Rescue" " +$%s1: Hostages rescued"
"Team_Cash_Award_Win_Hostage_Rescue" " +$%s1: Hostages rescued"
"Team_Cash_Award_Loser_Bonus" " +$%s1: Round lost"
"Team_Cash_Award_Loser_Bonus_Neg" " -$%s1: Round lost"
"Team_Cash_Award_Planted_Bomb_But_Defused" " +$%s1: C4 planted"
"Team_Cash_Award_no_income" " 0: Out of time and survived"
"Team_Cash_Award_no_income_suicide" " 0: Suicide"
// Player
"Player_Cash_Award_Kill_Teammate" " -$%s1: Team Kill"
"Player_Cash_Award_Killed_Enemy_Generic" " +$%s1: Kill Award"
"Player_Cash_Award_Killed_Enemy" " +$%s1: %s2 Kill Award"
"Player_Cash_Award_Bomb_Planted" " +$%s1: Planting C4"
"Player_Cash_Award_Bomb_Defused" " +$%s1: Defusing C4"
// Inventory
"SFUI_InvTooltip_Wear_Amount_0" "Factory New (5)"
"SFUI_InvTooltip_Wear_Amount_1" "Minimal Wear (4)"
"SFUI_InvTooltip_Wear_Amount_2" "Field-Tested (3)"
"SFUI_InvTooltip_Wear_Amount_3" "Well-Worn (2)"
"SFUI_InvTooltip_Wear_Amount_4" "Battle-Scarred (1)"
// Ranks
// MM
"SFUI_ELO_RankName_1" "(1/18) Silver I"
"SFUI_ELO_RankName_2" "(2/18) Silver II"
"SFUI_ELO_RankName_3" "(3/18) Silver III"
"SFUI_ELO_RankName_4" "(4/18) Silver IV"
"SFUI_ELO_RankName_5" "(5/18) Silver Elite"
"SFUI_ELO_RankName_6" "(6/18) Silver Elite Master"
"SFUI_ELO_RankName_7" "(7/18) Gold Nova I"
"SFUI_ELO_RankName_8" "(8/18) Gold Nova II"
"SFUI_ELO_RankName_9" "(9/18) Gold Nova III"
"SFUI_ELO_RankName_10" "(10/18) Gold Nova Master"
"SFUI_ELO_RankName_11" "(11/18) Master Guardian I"
"SFUI_ELO_RankName_12" "(12/18) Master Guardian II"
"SFUI_ELO_RankName_13" "(13/18) Master Guardian Elite"
"SFUI_ELO_RankName_14" "(14/18) Distinguished Master Guardian"
"SFUI_ELO_RankName_15" "(15/18) Legendary Eagle"
"SFUI_ELO_RankName_16" "(16/18) Legendary Eagle Master"
"SFUI_ELO_RankName_17" "(17/18) Supreme Master First Class"
"SFUI_ELO_RankName_18" "(18/18) The Global Elite"
// Danger Zone
"skillgroup_1dangerzone" "(1/15) Lab Rat I"
"skillgroup_2dangerzone" "(2/15) Lab Rat II"
"skillgroup_3dangerzone" "(3/15) Sprinting Hare I"
"skillgroup_4dangerzone" "(4/15) Sprinting Hare II"
"skillgroup_5dangerzone" "(5/15) Wild Scout I"
"skillgroup_6dangerzone" "(6/15) Wild Scout II"
"skillgroup_7dangerzone" "(7/15) Wild Scout Elite"
"skillgroup_8dangerzone" "(8/15) Hunter Fox I"
"skillgroup_9dangerzone" "(9/15) Hunter Fox II"
"skillgroup_10dangerzone" "(10/15) Hunter Fox III"
"skillgroup_11dangerzone" "(11/15) Hunter Fox Elite"
"skillgroup_12dangerzone" "(12/15) Timber Wolf"
"skillgroup_13dangerzone" "(13/15) Ember Wolf"
"skillgroup_14dangerzone" "(14/15) Wildfire Wolf"
"skillgroup_15dangerzone" "(15/15) The Howling Alpha"
// Bots
"SFUI_bot_decorated_name" " BOT %s1"
"SFUI_bot_decorated_name_controlled" " BOT (%s2)"
// Weapons
"SFUI_Notice_YouDroppedWeapon" "- %s1"
// Buy Menu
"SFUI_BuyMenu_CanOnlyCarryXGrenades" "You can only carry {s:s1} grenades"
"SFUI_BuyMenu_MaxItemsOfType" "You can only carry {s:s1} of this type"
"SFUI_BuyMenu_MaxItemsOfTypePurchased" "You can only purchase {s:s1} of this type"
// Play Main dropdown
"play_setting_online" "MATCHMAKING"
"play_setting_offline" "PRACTICE"
"play_setting_training_course" "Training Course"
"play_training_confirm" "Ready to begin Training?"
"play_setting_workshop" "WORKSHOP"
"play_setting_community" "COMMUNITY SERVERS"
// Scoreboard
"Scoreboard_money" "MONEY"
"Scoreboard_lossmoneybonus" "LOSS BONUS"
"Scoreboard_kills" "KILLS"
"Scoreboard_kills_header" "K"
"Scoreboard_kills_val" "{d:stat_d_kills}"
"Scoreboard_assists" "ASSISTS"
"Scoreboard_assists_header" "A"
"Scoreboard_assists_val" "{d:stat_d_assists}"
"Scoreboard_deaths" "DEATHS"
"Scoreboard_deaths_header" "D"
"Scoreboard_deaths_val" "{d:stat_d_deaths}"
"Scoreboard_money_val" "${d:r:stat_d_money}"
"Scoreboard_damage" "DMG"
// Death Panel (Doesn't work as of September 16th 2023)
// "Panorama_DeathPanel_DamageTaken:p{hits_taken}" "<font color='#A0A0A0'>Damage taken:</font> <b><font color='#f03333'>{d:damage_taken}</font></b> <font color='#A0A0A0'> in</font> <font color='#FFFFFF'><b>{d:hits_taken} hit </b></font>#|#<font color='#A0A0A0'>Damage taken:</font> <font color='#f03333'><b>{d:damage_taken}</b></font> <font color='#A0A0A0'> in</font> <font color='#FFFFFF'><b>{d:hits_taken} hits </b></font>"
// "Panorama_DeathPanel_DamageGiven:p{hits_given}" "<font color='#A0A0A0'>Damage given:</font> <b><font color='#69f033'>{d:damage_given}</font></b> <font color='#A0A0A0'> in</font> <font color='#FFFFFF'><b>{d:hits_given} hit </b></font>#|#<font color='#A0A0A0'>Damage given:</font> <font color='#69f033'><b>{d:damage_given}</b></font> <font color='#A0A0A0'> in</font> <font color='#FFFFFF'><b>{d:hits_given} hits </b></font>"
"DeathPanel_DamageTaken" "<font color='#A0A0A0'>Damage taken:</font> <b>%s1</b>  in <b>%s2 hit </b> from %s3"
"DeathPanel_DamageGiven" "<font color='#A0A0A0'>Damage given:</font> <b>%s1</b>  in <b>%s2 hit </b> to %s3"
"DeathPanel_DamageTaken_Multi" "<font color='#A0A0A0'>Damage taken:</font> <b>%s1</b>  in <b>%s2 hits from %s3"
"DeathPanel_DamageGiven_Multi" "<font color='#A0A0A0'>Damage given:</font> <b>%s1</b>  in <b>%s2 hits to %s3"
// Notice Panel
"SFUI_Notice_Got_Bomb" " + C4"
"SFUI_Notice_C4_Defuse_Must_Be_On_Ground" " You must be on the ground to defuse the bomb"
"SFUI_Notice_Bomb_Already_Being_Defused" " The bomb is already being defused"
"SFUI_Notice_Defusing_Bomb_With_Defuse_Kit" " Defusing the bomb"
"SFUI_Notice_Defusing_Bomb_Without_Defuse_Kit" " Defusing WITHOUT a defuse kit"
"SFUI_Notice_C4_Plant_At_Bomb_Spot" " C4 must be planted at a bomb site"
"SFUI_Notice_C4_Plant_Must_Be_On_Ground" " You must be standing on the ground to plant the C4"
"SFUI_Notice_Player_DisconnectedTooLong1min" " %s1 has disconnected, waiting 1 more minute before abandoning\n"
"SFUI_Notice_Player_DisconnectedTooLong2min" " %s1 has disconnected, waiting 2 more minutes before abandoning\n"
"SFUI_Notice_Player_DisconnectedTooLong3min" " %s1 has disconnected, waiting 3 more minutes before abandoning\n"
"SFUI_Notice_Player_AbandonedCooldown_Min" " %s1 abandoned the match and received a %s2 minute competitive matchmaking cooldown\n"
"SFUI_Notice_Player_AbandonedCooldown_Hrs" " %s1 abandoned the match and received a %s2 hour competitive matchmaking cooldown\n"
"SFUI_Notice_Player_AbandonedCooldown_Days" " %s1 abandoned the match and received a %s2 day competitive matchmaking cooldown\n"
"SFUI_Notice_Player_PermanentCooldown" " %s1 has been permanently banned from official Counter-Strike servers\n"
"SFUI_Notice_Report_Server_Success" " Report for server %s1 submitted, report id %s2\n"
"SFUI_Notice_Report_Server_Failed" " Failed to submit report for server, please try again later\n"
"SFUI_Notice_Report_Player_Success" " Report for %s1 submitted, report id %s2\n"
"SFUI_Notice_Report_Player_Failed" " Failed to submit report for player, please try again later\n"
"SFUI_Notice_Commend_Player_Success" " Commendation for %s1 submitted\nThank you\n"
"SFUI_Notice_Commend_Player_TooEarly" " You have submitted too many commendations recently, please try again tomorrow\n"
"SFUI_Notice_Commend_Player_Failed" " Failed to submit commendation for player, please try again later\n"
"SFUI_Notice_Commend_Player_YouGotNewCommendation" " Congratulations! You have received a commendation\n"
"SFUI_Notice_Match_Will_Pause" " The match is set to pause during freeze time"
"SFUI_Notice_Match_Will_Pause_Technical" " The match is set to pause during freeze time for a technical timeout"
"SFUI_Notice_Match_Will_Resume" " Freeze time pause has been cancelled"
"SFUI_Notice_Killed_Teammate" " You killed a teammate"
"SFUI_Notice_Game_teammate_kills" " WARNING: You will be banned from the server if you kill %s1 more teammates"
"SFUI_Notice_Banned_For_TK_Start" " You are being banned from the server for killing a teammate at round start"
"SFUI_Notice_Banned_For_Killing_Teammates" " You are being banned from the server for killing too many teammates"
///////////////
// Callouts //
///////////////
// Default Callouts:
"CTSpawn" "CT Spawn"
"TSpawn" "T Spawn"
"Middle" "Mid"
"SnipersNest" "Window"
// Inferno
"Garden" "Garden"
"Ruins" "Church"
"Banana" "Banana"
"Logs" "Logs"
"TStairs" "T Stairs"
"SecondMid" "Second Mid"
"Hay" "Hay"
"Quad" "Porch"
"Arch" "Arch"
"Library" "Library"
"Graveyard" "Graveyard"
"LowerMid" "Bottom Mid"
//Overpass
"LowerPark" "Banana"
"UpperPark" "Long"
"Fountain" "Fountain"
"Playground" "Playground"
"Restroom" "Toilets"
"Construction" "Short"
"Canal" "Monster"
"Tunnels" "T Conn"
"Pipe" "Short Tunnel"
"Walkway" "Walkway"
//Mirage
"Cart" "Cart"
"PalaceAlley" "T Spawn"
"PalaceTunnel" "Palace"
"Shop" "Market"
"Scaffolding" "Scaffolding"
"Connector" "Connector"
"TicketBooth" "Ticket"
"Jungle" "Jungle"
//DUST2
"MidArch" "Mid Arch"
"OutsideLong" "Outside Long"
"LongDoors" "Long Doors"
"AbovePit" "Above Pit"
"Pit" "Pit"
"APlatform" "A Platform"
"LongA" "Long A"
"ARamp" "A Ramp"
"BackofA" "Back of A"
"Bricks" "Bricks"
"ShortStairs" "Short Stairs"
"Short" "Short"
"Catwalk" "Catwalk"
"Mid" "Mid"
"TopofMid" "Top of Mid"
"MidDoors" "Mid Doors"
"ExtendedA" "Short"
"BDoors" "B Doors"
"Hole" "Window"
"BPlatform" "Back Platform"
"BackofB" "Back of B"
"UpperTunnel" "Upper Tunnel"
"TunnelStairs" "Tunnel Stairs"
"LowerTunnel" "Lower Tunnel"
"OutsideTunnel" "Outside Tunnel"
"UnderA" "Under A"
"TRamp" "T Ramp"
//NUKE
"HutRoof" "Hut Roof"
"Secret" "Secret"
"Crane" "Crane"
"Vents" "Vents"
"Decon" "Single Door"
"Observation" "Control"
"Admin" "Admin"
"Toxic" "Toxic"
"Mini" "Main"
"Control" "Radio"
"Heaven" "Heaven"
"Hell" "Hell"
"Vending" "Vending"
"Trophy" "Trophy"
"Silo" "Silo"
"SniperBox" "Sniper Box"
"Radio" "Radio"
"Hut" "Hut"
"Crows" "Heaven"
"Squeaky" "Squeaky"
"Yellow" "Yellow"
"Main" "Main"
"CTRed" "CT Red"
"Red" "Red"
"Warehouse" "Warehouse"
"BackStairs" "Back Stairs"
"Rafters" "Rafters"
"Forklift" "Forklift"
// Q3JlZGl0IHRvIFNoYXJrRmx5IGZvciBDUzIgdmVyc2lvbg==
// TGFzdCBVcGRhdGVkOiBTZXB0ZW1iZXIsIDIwMjM=
//
// Credit to https://gist.github.com/xPaw for the colours list
// C01 #ffffff  - Normal, white
// C02 #ff0000  - "Use old colors", dark red
// C03 #ba81f0  - Player name, team color (CT - #a2c6ff, T - #ffdf93)
// C04 #40ff40  - Location, bright green
// C05 #bfff90  - Achievement, light green
// C06 #a2ff47  - Award, bright green
// C07 #ff4040  - Penalty, light red
// C08 #c5cad0  - Silver
// C09 #ede47a (tab character) - Gold
// C10 #b0c3d9 (line feed) - Common?
// C11 #5e98d9 - Uncommon, very light blue
// C12 #4b69ff - Rare, darker blue
// C13 #8847ff (carriage return) - Mythical?
// C14 #d32ce6  - Legendary, purple
// C15 #eb4b4b  - Ancient, lighter red
// C16 #e4ae39  - Immortal, orange
}
@OpPixel
Copy link

OpPixel commented Sep 17, 2023

neat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment