Raised This Month: $32 Target: $400
 8% 

[TF2] Outline effect on a client


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 09-01-2015 , 00:57   [TF2] Outline effect on a client
Reply With Quote #1

Hey there.

I am trying to create a nice highlight effect on a player. The effect is the same thing that this plugin offers but I need it not to be able to be seen through brushes.

I was hoping of using the outline effect on hats such as the Dueler or Gifting Man From Gifting Land but I found out that they're built into the model.

Any other suggestions? I'd appreciate all your help!
Phil25 is offline
w1200441
Senior Member
Join Date: Dec 2011
Old 09-01-2015 , 01:08   Re: [TF2] Outline effect on a client
Reply With Quote #2

Code:
SetEntProp(client, Prop_Send, "m_bGlowEnabled", 1);
I think this is not working anymore.
w1200441 is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 09-01-2015 , 01:24   Re: [TF2] Outline effect on a client
Reply With Quote #3

It is working, that is the same thing the plugin I mentioned uses. However, it's not what I'm looking for becuase m_bGlowEnabled can be seen through walls.
Phil25 is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 09-01-2015 , 08:40   Re: [TF2] Outline effect on a client
Reply With Quote #4

You are looking for a modeler / texturer who can make custom models with alpha masks or whatever those use to achieve those affects.
__________________
Chdata is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 09-01-2015 , 09:07   Re: [TF2] Outline effect on a client
Reply With Quote #5

Compiling all the player models and making clients download them seems like a quite hefty way of achieving this. Is there no way of editing the current glow option, at least making it fade over distance?
Phil25 is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 09-01-2015 , 09:20   Re: [TF2] Outline effect on a client
Reply With Quote #6

It's either on or off.
__________________
Chdata is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 09-19-2015 , 16:45   Re: [TF2] Outline effect on a client
Reply With Quote #7

Sorry for bumping this old thread, but there's one outline effect that was introduced in Gun Mettle, which is the yellow outline on dropped weapons. It seems just what I was looking for because it can't be seen through brushes.

Does anyone have more info on that and whether or not it's possible to toggle said effect on a player?
Phil25 is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 09-19-2015 , 22:56   Re: [TF2] Outline effect on a client
Reply With Quote #8

Different entites have different colors that come with m_bGlowEnabled. That's what happens to be there for dropped weapons.

Your best bet is to look at Slender Fortress 2's glow / outline code, which also has code for determining when its visible (it's normally always visible).
__________________
Chdata is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 09-22-2015 , 23:24   Re: [TF2] Outline effect on a client
Reply With Quote #9

Quote:
Originally Posted by Chdata View Post
Different entites have different colors that come with m_bGlowEnabled. That's what happens to be there for dropped weapons.

Your best bet is to look at Slender Fortress 2's glow / outline code, which also has code for determining when its visible (it's normally always visible).
Has Slender Fortress 2 even been publicly released?
404UserNotFound is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 09-23-2015 , 07:42   Re: [TF2] Outline effect on a client
Reply With Quote #10

Quote:
Originally Posted by abrandnewday View Post
Has Slender Fortress 2 even been publicly released?
Yes since 1 year even more.

https://github.com/KitRifty/slender-fortress
__________________

Last edited by Benoist3012; 09-23-2015 at 07:43.
Benoist3012 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 11:37.


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