Raised This Month: $ Target: $400
 0% 

Getting brush entity texture name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-20-2013 , 09:20   Getting brush entity texture name
Reply With Quote #1

Hello, first i explain how i do this

I create entity in valve hammer, set target_name for something ( so i know thats the entity )
then i hook entity spawn and check target_name
how i get brush entity origin? ( its usually always 0.0,0.0,0.0 because entity dont have origin texture.. )
how i can get entity texture name ( entity is box and all faces are with same texture what name i need to know... )
Thank you!
.Dare Devil. is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-20-2013 , 09:36   Re: Getting brush entity texture name
Reply With Quote #2

It can be done with Orpheu. Take a look in the Orpheu module thread first post.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-20-2013 , 09:43   Re: Getting brush entity texture name
Reply With Quote #3

Quote:
Originally Posted by hornet View Post
It can be done with Orpheu. Take a look in the Orpheu module thread first post.
Well, i dont know anything about orpheu.
I did search orpheu in case mayby someone did that but no...
There have to be anyohter way.
.Dare Devil. is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 04-20-2013 , 10:19   Re: Getting brush entity texture name
Reply With Quote #4

Just search with your topics name and you will find that one for sure.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-20-2013 , 10:29   Re: Getting brush entity texture name
Reply With Quote #5

new Floatrigin[3]
get_brush_entity_origin(ent, origin)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-20-2013 , 10:47   Re: Getting brush entity texture name
Reply With Quote #6

Quote:
Originally Posted by ConnorMcLeod View Post
new Floatrigin[3]
get_brush_entity_origin(ent, origin)
thanks, seems like i still need to use this: engfunc(EngFunc_TraceTexture, 0, start, end, texture_name, charsmax(texture_name))
i think i will make a new point entity class so if you but this point entity class above brush entity then this point class will get texture name... never used EngFunc_TraceTexture before so it will be long testing for me.
.Dare Devil. is offline
Reply



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 10:46.


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