[CS GO] Team Name & Team Logo & Team Flag (Compatible with Half Time)
Posted: Tue Nov 23, 2021 3:44 pm
Description
I created this plugin because the names, logos and flags of the teams that after the half time, are changed badly, it corrects for the real name, logo and flags.
If I install Team Logo, you cannot install Team Flag as they are incompatible.
ConVars
TEAM NAME
• sm_teamname_ct - Counter-Terrorist Team Name
• sm_teamname_t - Terrorist Team Name
• sm_teamname_halftime - Enable/Disable Change Team Name on Half Time (1 - Enable | 0 - Disable)
TEAM LOGO
• sm_teamlogo_ct - Counter-Terrorist Logo File Name (materials/panorama/images/tournaments/teams) [Format: .svg]
• sm_teamlogo_t - Terrorist Logo File Name (materials/panorama/images/tournaments/teams) [Format: .svg]
• sm_teamlogo_halftime - Enable/Disable Change Team Logo on Half Time (1 - Enable | 0 - Disable)
• sm_teamlogo_custom - Enable/Disable Custom Logos (1 - Enable | 0 - Disable)
• Note: Team Logos must be in .svg format and 64x64 in size preferably, although it also comes in other sizes. I use Vector Magic to convert my logo to .svg.
TEAM FLAG
• sm_teamflag_ct - Counter-Terrorist Contry Flag (Condensed/Initials) - Exemple: Portugal - pt | Poland - pl
• sm_teamflag_t - Terrorist Contry Flag (Condensed/Initials) - Exemple: Portugal - pt | Poland - pl
• sm_teamflag_halftime - Enable/Disable Change Team Flag on Half Time (1 - Enable | 0 - Disable)
Changelog
08-11-2021 (v1.3) - Requested by AiDN
• New ConVar for All Plugins: sm_teamXXX_halftime
• New ConVar for Team Logos: sm_teamlogo_custom
03-11-2021 (v1.2) - Requested by MICO
• NEW: Fix compatibility with the mp_restartgame command present in other plugins, for exemple, knife round
26-10-2021 (v1.1)
• I put includes in folders
• FIX BUG: Team logos are fixed.
25-10-2021 (v1.0)
• Initial release.
Plugin tested in CSGO with:
• Sourcemod 1.10
• Metamod:Source 1.10
Instalation
• Upload the files (.smx for plugins folders)
• Restart your Server
• Configure the file .cfg (csgo/cfg/sourcemod/.cfg)
• [Optional] If you install Team Logo, you need to put the materials on the server or else your own logos.
team name 1.3
team flag 1.3
team logo 1.3
I created this plugin because the names, logos and flags of the teams that after the half time, are changed badly, it corrects for the real name, logo and flags.
If I install Team Logo, you cannot install Team Flag as they are incompatible.
ConVars
TEAM NAME
• sm_teamname_ct - Counter-Terrorist Team Name
• sm_teamname_t - Terrorist Team Name
• sm_teamname_halftime - Enable/Disable Change Team Name on Half Time (1 - Enable | 0 - Disable)
TEAM LOGO
• sm_teamlogo_ct - Counter-Terrorist Logo File Name (materials/panorama/images/tournaments/teams) [Format: .svg]
• sm_teamlogo_t - Terrorist Logo File Name (materials/panorama/images/tournaments/teams) [Format: .svg]
• sm_teamlogo_halftime - Enable/Disable Change Team Logo on Half Time (1 - Enable | 0 - Disable)
• sm_teamlogo_custom - Enable/Disable Custom Logos (1 - Enable | 0 - Disable)
• Note: Team Logos must be in .svg format and 64x64 in size preferably, although it also comes in other sizes. I use Vector Magic to convert my logo to .svg.
TEAM FLAG
• sm_teamflag_ct - Counter-Terrorist Contry Flag (Condensed/Initials) - Exemple: Portugal - pt | Poland - pl
• sm_teamflag_t - Terrorist Contry Flag (Condensed/Initials) - Exemple: Portugal - pt | Poland - pl
• sm_teamflag_halftime - Enable/Disable Change Team Flag on Half Time (1 - Enable | 0 - Disable)
Changelog
08-11-2021 (v1.3) - Requested by AiDN
• New ConVar for All Plugins: sm_teamXXX_halftime
• New ConVar for Team Logos: sm_teamlogo_custom
03-11-2021 (v1.2) - Requested by MICO
• NEW: Fix compatibility with the mp_restartgame command present in other plugins, for exemple, knife round
26-10-2021 (v1.1)
• I put includes in folders
• FIX BUG: Team logos are fixed.
25-10-2021 (v1.0)
• Initial release.
Plugin tested in CSGO with:
• Sourcemod 1.10
• Metamod:Source 1.10
Instalation
• Upload the files (.smx for plugins folders)
• Restart your Server
• Configure the file .cfg (csgo/cfg/sourcemod/.cfg)
• [Optional] If you install Team Logo, you need to put the materials on the server or else your own logos.
team name 1.3
team flag 1.3
team logo 1.3