Raised This Month: $ Target: $400
 0% 

How to make an entity traceable.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 10-17-2009 , 07:17   How to make an entity traceable.
Reply With Quote #1

I have made some interesting tests and came up with these results.

An entity has this solid flag SOLID_SLIDEBOX (shootable and touchable)
After I changed it to SOLID_BBOX the result is this: The entity is still touchable but can not be shot.

My question is how to make it shootable/unshootable.
From this test it is clear that it does not depend totally on the SOLID flag.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 10-17-2009 at 07:30.
ot_207 is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 10-17-2009 , 07:19   Re: How to make an entity traceable.
Reply With Quote #2

awesome question. i need it too. i want make my discoball breakable/shootable
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 10-17-2009 , 07:30   Re: How to make an entity traceable.
Reply With Quote #3

Quote:
Originally Posted by One View Post
awesome question. i need it too. i want make my discoball breakable/shootable
To make an entity shootable you must spawn it as func_breakable.
After that set the solid flag to BBOX, give it health, size, everything, and it will work ok.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 10-17-2009 , 07:45   Re: How to make an entity traceable.
Reply With Quote #4

ty. i got it too with a little search in any of your posts. thanks
i wanted to ask how to give health but found this here Make grenades shootable
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 10-17-2009 , 07:55   Re: How to make an entity traceable.
Reply With Quote #5

TraceModel is good but I want to make the engine work with them alone.
I want TraceLine to see them.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-17-2009 , 11:43   Re: How to make an entity traceable.
Reply With Quote #6

Try to set model, modelindex, size, solid, and spawn it.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 22:33.


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