AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS GO] Team Name & Team Logo & Team Flag (https://forums.alliedmods.net/showthread.php?t=334892)

Lantejoula 10-25-2021 09:50

[CS GO] Team Name & Team Logo & Team Flag
 
9 Attachment(s)
[CS GO] Team Name & Team Logo & Team Flag (Compatible with Half Time)

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)

• sm_teamname_halftime - Is halftime calculated with rounds (mp_maxrounds) or with time (mp_timelimit)? (1 - Rounds | 0 - Time)

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)

• sm_teamlogo_halftime - Is halftime calculated with rounds (mp_maxrounds) or with time (mp_timelimit)? (1 - Rounds | 0 - Time)

• Note: I use Vector Magic to convert all logos to .svg. When you install Team Logo, you need to restart your csgo after download the logos!

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)

• sm_teamflag_halftime - Is halftime calculated with rounds (mp_maxrounds) or with time (mp_timelimit)? (1 - Rounds | 0 - Time)

Changelog

31-12-2021 (v1.4)

• NEW CONVARS: sm_team?_halftime
• Now you can choose if halftime is calculated with rounds or with time

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


Printscreen

TEAM NAME AND TEAM LOGO

Print

TEAM FLAG

Print

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.


Lantejoula 10-26-2021 07:39

Re: Team Name & Team Logo & Team Flag
 
26-10-2021 (v1.1)

• I put includes in folders
• FIX BUG: Team logos are fixed.

Lantejoula 11-03-2021 15:24

Re: [CS GO] Team Name & Team Logo & Team Flag
 
03-11-2021 (v1.2) - Requested by MICO

• NEW: Fix compatibility with the mp_restartgame command present in other plugins, for exemple, knife round

Lantejoula 11-08-2021 08:52

Re: [CS GO] Team Name & Team Logo & Team Flag
 
08-11-2021 (v1.3) - Requested by AiDN

• New ConVar for All Plugins: sm_teamXXX_halftime
• New ConVar for Team Logos: sm_teamlogo_custom

Lantejoula 12-31-2021 15:14

Re: [CS GO] Team Name & Team Logo & Team Flag
 
31-12-2021 (v1.4)

• NEW CONVARS: sm_team?_halftime
• Now you can choose if halftime is calculated with rounds or with time

edibaba 04-19-2022 01:47

Re: [CS GO] Team Name & Team Logo & Team Flag
 
Working thanks so much

Gena 05-22-2022 03:47

Re: [CS GO] Team Name & Team Logo & Team Flag
 
It is a good idea!!!
and there are already similar plugins

[SM] Plugin Team.smx failed to load: Unable to open file.
The name changes it, but the logos do not load. :(

also the .cfg is not created for me.
with my fastdl I probed without using bzip2 and using it but nothing.
I tried disabling the hextag in case it interfered and it didn't work either.

EDIT:
I looked at the plugin again and realized that the file was not missing, he created the included folder with name "includes" instead of "include".

lugaa 05-29-2022 02:28

Re: [CS GO] Team Name & Team Logo & Team Flag
 
Is it possible that this plugin gives the team name after the first player to enter the server? automatically like FACEiT

Lantejoula 05-29-2022 22:32

Re: [CS GO] Team Name & Team Logo & Team Flag
 
Quote:

Originally Posted by lugaa (Post 2780387)
Is it possible that this plugin gives the team name after the first player to enter the server? automatically like FACEiT

Yes I can put the team name with the name of the first person to join that team. The question is: if the player leaves, will her name still be on the team?

Lantejoula 05-29-2022 22:33

Re: [CS GO] Team Name & Team Logo & Team Flag
 
Quote:

Originally Posted by Gena (Post 2779916)
It is a good idea!!! (but it gives me some errors haha)
and there are already similar plugins

[SM] Plugin Team.smx failed to load: Unable to open file.
The name changes it, but the logos do not load. :(

also the .cfg is not created, I recommend you put it in the zip file to make it easier and we can compile your plugin.
with my fastdl I probed without using bzip2 and using it but nothing.
I tried disabling the hextag in case it interfered and it didn't work either.

.cfg is not created because failed to load... Cfg is only create when plugin load correctly


All times are GMT -4. The time now is 15:55.

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