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

[TF2] Interact with texture of brushes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LordM
Junior Member
Join Date: Oct 2018
Old 08-16-2020 , 23:31   [TF2] Interact with texture of brushes?
Reply With Quote #1

Is it possible to get the texture path of one face of a brush? Or to get the face of a brush that has a specific texture on it?

I want to make brushes that use the tools/toolsinvisibleladder texture to signify which side of a brush should be climbed by players. I haven't seen any interaction with brush textures yet from a plugin, so I don't know if this is possible or not.

Last edited by LordM; 08-16-2020 at 23:32.
LordM is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 08-17-2020 , 11:08   Re: [TF2] Interact with texture of brushes?
Reply With Quote #2

I don't know if it's possible to get surface material/texture but you should check out sdktools_trace API (especially functions containing "Surface" in their name).
__________________
MAGNAT2645 is offline
EvilGuy
Junior Member
Join Date: Jun 2019
Location: Turkey / Istanbul
Old 08-17-2020 , 12:54   Re: [TF2] Interact with texture of brushes?
Reply With Quote #3

TR_GetSurfaceName, i saw this in my old plugin. Probably works fine.
EvilGuy is offline
LordM
Junior Member
Join Date: Oct 2018
Old 08-25-2020 , 21:13   Re: [TF2] Interact with texture of brushes?
Reply With Quote #4

Quote:
Originally Posted by EvilGuy View Post
TR_GetSurfaceName, i saw this in my old plugin. Probably works fine.
Ok, thanks
LordM 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 01:59.


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