View Single Post
Author Message
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-14-2015 , 20:25   [CS:GO] Team Logo Manager 1.4.2 [2016.04.09]
Reply With Quote #1

[CS:GO] Team Logo Manager 1.4.2
Quote:
Originally Posted by CSGO has been updated to version 1.34.7.1
[TOURNAMENT SUPPORT]
- Added the ability to specify team logos just like we specify team names or flags (via convars mp_teamlogo_1 and mp_teamlogo_2 using team's shorthand image name).
-- Team logos now show in the spectator scoreboard, the win panel and the player scoreboard.
- Added a new win panel string that shows the team name if they win the round
This plugin adds the team logo files stored in 'csgo/resource/flash/econ/tournaments/teams/' to your servers download table. The main purpose of this plugin is to remove the requirement for a download table manager plugin if you want to use the new team logo features.


Quote:
Logo file names cant be any longer 5 chars (excluding extension). If file names are longer, when you set the mp_teamlogo_* cvars, the logo wont display on clients.
Features
- Adds logo files to the servers download table automatically.
- (optional) Random logo selection at the start of each map.
- (optional) Add default Valve team logos to random selection.
- (optional) Automatically set team names based on the logo selection.
- (optional) Use team player group names to auto select team logo (by decowboy).
- Teamnames and logos automatically switch at half time.
Installation instructions
1. Copy the .smx file to your sourcemod plugins folder.
2. Add your team icon's files to 'csgo/resource/flash/econ/tournaments/teams/'.
3. Be sure to also add your icon files to your fastdl server.
4. Set cvars mp_teamlogo_1 and mp_teamlogo_2 in your servers configs.
Enabling Random Selection Mode
1. Set convar 'teamlogo_randomlogos' to 1 in your server configs.
2. Set convar 'teamlogo_defaultlogos' to 1 if you want to also include the default Valve team logos.
Extra Logos and Team Name Configs
Kokarn has taken the time and effort to give us some custom team logos and a website to download them from.

- Kokarn's download repository.
- Kokarn's entire logo set and configs (FastDL)
* You add additional logo and config files in '/csgo/resource/flash/econ/tournaments/teams/'.
* Don't forget to add your .png files to your fastdl server (.cfg files only need to be stored on your game sever).

Default Valve Logo Names
Configuring Team Names
1. Set convar 'teamlogo_teamnames' to 1 in your server configs.

Team names are loaded from .cfg files which share the same filename as the logo file. The .cfg file contains the straight text of the team name. An example would be: if a logo file name is 'austg.png', the cfg file would be named 'austg1.cfg'. If the config file contained 'Toxic Gamers', the teams name would display as 'Toxic Gamers' in game.
If you also have 'teamlogo_defaultlogos' set to 1. Find the default logo teamname configs here.
Please see the 'Extra Logos and Team Name Configs' section for examples.
Convars
teamlogo_randomlogos :: Enables selection of random team logos on map load.
1 - Enabled
0 - Disabled (default)
teamlogo_defaultlogos :: Adds the Valve default logos to the team logo list if 'teamlogo_randomlogos' is set to 1.
1 - Enabled
0 - Disabled (default)
teamlogo_teamnames :: Team names will be loaded from .cfg files with the same name and location as the logo file.
1 - Enabled
0 - Disabled (default)
teamlogo_halftime_teamswitch :: Plugin will switch team logo's and names at half time.
1 - Enabled
0 - Disabled (default)
teamlogo_autologos :: Plugin will auto-select team logos based on player clan tags.
1 - Enabled
0 - Disabled (default)
Update notes
Version 1.1
- Changed default plugin settings to enable plugin to act as a download manager for your team logos.
-- Added convar 'teamlogo_randomlogos'.
-
Renamed cvars, plugin and script globals to reflect 'logo' instead of 'icon'.
- Optimised plugin based on asherkin's advise (thanking you).
Version 1.2
- Fixed some team logos no displaying properly.
- Added team name functionality (see features for more information).
- Added team name and logo switching at announce_phase_end (halftime).
- Added error logging to Sourcemod's error logs.

Version 1.3
- Changed code to new transitional syntax.
- Added cvar 'teamlogo_halftime_teamswitch' to enable/disable team logo/name switching at half time.

Version 1.3.1
- Compiled using Sourcemod 1.7.1 compiler
Other notes
The team logo files are stored @ 'csgo/resource/flash/econ/tournaments/teams/' and are in .png format and must be 64x64.
Known Issues
Quote:
Please be aware that I have identified that the logo file names cant be any longer 5 chars (excluding extension). If filenames are longer, when you set the mp_teamlogo_* cvars, the logo wont display on clients.

I have raised this issue on the CSGO mailing list. However I'm not holding my breath on valve allowing more then 5 chars for the mp_teamlogo_* cvars.
Latest Download - Version 1.4.2
Github Repository

Previous download count: 2000+
__________________

Last edited by Neuro Toxin; 04-10-2016 at 19:29. Reason: release 1.5.3 pushed
Neuro Toxin is offline