[hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Knifa
Hi all. I've made a new brush entity called func_fortsite, when a player from the other team of who's fort site this is tries to fire a weapon (weapon_freezer) while in this brush, it should stop. Right now, I have it using flags and it works all well while the Solid Type is SOLID_BSP, but I want i

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Jeffrey \"botman\" Broome
Knifa wrote: I've made a new brush entity called func_fortsite, when a player from the other team of who's fort site this is tries to fire a weapon (weapon_freezer) while in this brush, it should stop. Right now, I have it using flags and it works all well while the Solid Type is SOLID_BSP, but I w

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Knifa
It's HL2 and I'm using TraceLine. I just tried using TraceHull, but I don't get what hullMin and hullMax are supposed to be. I tried them just the start and end of the trace, but that didn't work. What are they for/What should I put in them? Knifa wrote: I've made a new brush entity called func_for

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread jeff broome
On Thu, 24 Feb 2005 23:58:24 +, Knifa <[EMAIL PROTECTED]> wrote: > It's HL2 and I'm using TraceLine. > > I just tried using TraceHull, but I don't get what hullMin and hullMax > are supposed to be. > I tried them just the start and end of the trace, but that didn't work. > > What are they for/W

RE: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Jay Stelly
rom: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Knifa > Sent: Thursday, February 24, 2005 2:25 PM > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] Getting a trace to hit off a non solid entity > > Hi all. > > I've made a new brush entity calle

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Knifa
in to the UTIL_TraceLine() call. >The fortsite group goes on the entity. > > > > > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf Of Knifa >>Sent: Thursday, February 24, 2005 2:25 PM >>To: hlcoders@list.valves

RE: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Jay Stelly
ECTED] On Behalf Of Knifa > Sent: Thursday, February 24, 2005 5:05 PM > To: hlcoders@list.valvesoftware.com > Subject: Re: [hlcoders] Getting a trace to hit off a non solid entity > > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alterna

RE: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-24 Thread Jay Stelly
> > But this doesn't work, it still hits it. So you also need a case for collision groups lower than the brush's collision group: if ( collisionGroup1 == COLLISION_GROUP_FORTSITE_TEAM1 || collisionGroup1 == COLLISION_GROUP_FORTSITE_TEAM2 ) return false; _

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-25 Thread Knifa
It all works (and the way I had it before it worked too) I need to know how to get the trace to hit the entity even when it's NOT solid (with SOLID_NONE) It works if you make it SOLID_BSP, but a player can't walk through that and things can't move But this doesn't work, it still hits it. So you al

RE: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-25 Thread Jay Stelly
rom: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Knifa > Sent: Friday, February 25, 2005 8:00 AM > To: hlcoders@list.valvesoftware.com > Subject: Re: [hlcoders] Getting a trace to hit off a non solid entity > > It all works (and the way I had it before it worked too) >

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-25 Thread Knifa
ailto:[EMAIL PROTECTED] On Behalf Of Knifa >>Sent: Friday, February 25, 2005 8:00 AM >>To: hlcoders@list.valvesoftware.com >>Subject: Re: [hlcoders] Getting a trace to hit off a non solid entity >> >>It all works (and the way I had it before it worked too) >> >>I

Re: [hlcoders] Getting a trace to hit off a non solid entity

2005-02-25 Thread Knifa
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knifa Sent: Friday, February 25, 2005 8:00 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Getting a trace to hit off a non solid entity It all works (and the way I had it before it worked too)