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

[ANY] Trails Chroma (Player Trails) [2021 Update]


Post New Thread Reply   
 
Thread Tools Display Modes
Nickelony
Junior Member
Join Date: Aug 2017
Location: Poland
Old 01-31-2018 , 10:39   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #21

Quote:
Originally Posted by sime0282 View Post
How do i do so i give acces to all players or only vip?
There's a ConVar for this: sm_trails_adminsonly
You can also use the sm_trails_override command to override the current admin flag.
Nickelony is offline
crafting
Senior Member
Join Date: May 2014
Location: Somewhere on Earth
Old 02-24-2018 , 13:47   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #22

Hello, I have a problem. I use this plugin as part of my ViP package and I just saw this message from my steam group:

"Hey I had temp donator for a while (dont know why) and I put on a trail. Now I have lost temp donator but the trails still there and I cant get rid of it. Please help."

Basically, if someone is able to give themself a trail, but their permission is changed while they still have a trail attached then they can't remove it if they wanted to. Could you add a command that is outside of "sm_trails_override" to remove a trail (like sm_trails_remove)? Or the possible easier way, if a player currently doesn't have the permission it would automatically remove the trail.

Last edited by crafting; 02-25-2018 at 02:47.
crafting is offline
extremeg
Senior Member
Join Date: Dec 2012
Old 02-25-2018 , 02:16   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #23

dont works for me with sm 1.8 stable build
extremeg is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 04-21-2018 , 13:19   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #24

can u add a command that allows players to turn off trails, players that dont have access to the trails and dont want to see them in-game.

Something like sm_hidetrails
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 04-21-2018 at 13:19.
zwetch is offline
Johnoclock
Member
Join Date: Oct 2014
Location: denmark
Old 06-12-2018 , 15:14   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #25

i cant get it to work the trails are not showing when picked
Johnoclock is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 06-13-2018 , 14:47   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #26

Quote:
Originally Posted by john96dk View Post
i cant get it to work the trails are not showing when picked
in csgo\addons\sourcemod\configs add this to trails-colors.txt

Make sure u added the materials to your fastdl!

>>> If it still doesn't work this you installed it incorrect <<<

Code:
"Trails"
{
	"0"
	{
		"name"		"None"
	}

	"1"
	{
		"name"		"Spectrum"

		"special"	"1"

		"alpha"		"128"
	}

	"2"
	{
		"name"		"Wave"

		"special"	"2"

		"alpha"		"128"
	}

	"3"
	{
		"name"		"Red"

		"red"		"255"
		"green"		"0"
		"blue"		"0"

		"alpha"		"128"
	}

	"4"
	{
		"name"		"Yellow"

		"red"		"255"
		"green"		"255"
		"blue"		"0"

		"alpha"		"128"
	}

	"5"
	{
		"name"		"Green"

		"red"		"0"
		"green"		"255"
		"blue"		"0"

		"alpha"		"128"
	}

	"6"
	{
		"name"		"Cyan"

		"red"		"0"
		"green"		"255"
		"blue"		"255"

		"alpha"		"128"
	}

	"7"
	{
		"name"		"Blue"

		"red"		"0"
		"green"		"0"
		"blue"		"255"

		"alpha"		"128"
	}

	"8"
	{
		"name"		"Magenta"

		"red"		"255"
		"green"		"0"
		"blue"		"255"

		"alpha"		"128"
	}
	
	"9"
	{
		"name"		"Lime"

		"red"		"0"
		"green"		"255"
		"blue"		"0"

		"alpha"		"128"
	}
	
	"10"
	{
		"name"		"White"

		"red"		"255"
		"green"		"255"
		"blue"		"255"

		"alpha"		"128"
	}
	
	"11"
	{
		"name"		"Orange"

		"red"		"255"
		"green"		"153"
		"blue"		"0"

		"alpha"		"128"
	}
	
	"12"
	{
		"name"		"Brown"

		"red"		"128"
		"green"		"128"
		"blue"		"0"

		"alpha"		"128"
	}
	
	"13"
	{
		"name"		"Pink"

		"red"		"255"
		"green"		"0"
		"blue"		"255"

		"alpha"		"128"
	}

	"14"
	{
		"name"		"Silver"

		"red"		"192"
		"green"		"192"
		"blue"		"192"

		"alpha"		"128"
	}
	
	"15"
	{
		"name"		"Purple"

		"red"		"128"
		"green"		"0"
		"blue"		"128"

		"alpha"		"128"
	}
	
	"16"	
	{
		"name"		"Teal"

		"red"		"0"
		"green"		"255"
		"blue"		"255"

		"alpha"		"128"
	}
}
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 06-13-2018 at 14:50.
zwetch is offline
Nickelony
Junior Member
Join Date: Aug 2017
Location: Poland
Old 07-02-2018 , 08:47   Re: [ANY] Trails Chroma (Player Trails) [2nd July 2018]
Reply With Quote #27

UPDATE 2.4 IS OUT NOW!

Changelog:
+ Added trail hiding with sm_hide.
* Changed some CVar names and added new ones. (DELETE YOUR CURRENT cfg/sourcemod/plugin.trails-chroma.cfg FILE!)
* Removed "None" from the trails-colors.cfg file.

DELETE THIS FROM YOUR CONFIG FILE AND MOVE THE NUMBERS SO IT STARTS WITH 0 AFTER THIS IS REMOVED:
Code:
"0"
{
	"name"		"None"
}
* Code style changes for better readability.
* Minor bug fixes.
Nickelony is offline
Nickelony
Junior Member
Join Date: Aug 2017
Location: Poland
Old 07-08-2018 , 19:52   Re: [ANY] Trails Chroma (Player Trails) [9th July 2018]
Reply With Quote #28

Just fixed a bug where the trail couldn't be disabled after choosing "None". Everything should be fine now.
Nickelony is offline
creepa
Member
Join Date: Mar 2016
Old 07-20-2018 , 02:19   Re: [ANY] Trails Chroma (Player Trails) [9th July 2018]
Reply With Quote #29

what flag do u give to make this for vip only
creepa is offline
VOLK_RuS
Junior Member
Join Date: Mar 2016
Old 10-23-2018 , 15:17   Re: [ANY] Trails Chroma (Player Trails)
Reply With Quote #30

Quote:
Originally Posted by Nickelony View Post
UPDATE 2.0 IS OUT NOW!

First, I want to apologise for not updating this plugin for so long. I just couldn't find time for a complete redesing of this plugin, which is what I did with this update.

The changelog is so big, I don't even know where to start x)

Main changes:
* Added new CVars, such as "sm_trails_cheap" and "sm_trails_respawn".
* Added KeyValues which allow to modify the trails using a .cfg file.
* Added cookies. (finally)
* Removed multicolors support (which means no more .inc files).
* Optimised the whole code.



If you have any issues with this plugin, please post it here
I've already fixed spy's trail for CrazyGhostRider a long time ago, so there is a fix

Fix for invisible spy:
Code:
TF2_IsPlayerInCondition(client, TFCond_Cloaked) || TF2_IsPlayerInCondition(client, TFCond_Stealthed)
Fix for disguised spy:
Code:
TF2_IsPlayerInCondition(client, TFCond_Disguised)
fix for client invisibility from other sources(ex: rtd)
Code:
stock int GetEntityAlpha(int iEntity){
return GetEntData(iEntity, GetEntSendPropOffs(iEntity, "m_clrRender") + 3, 1);
}

Last edited by VOLK_RuS; 10-23-2018 at 15:31.
VOLK_RuS is offline
Reply


Thread Tools
Display Modes

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 07:29.


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