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
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
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
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
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
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
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
> > 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;
_
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
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)
>
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
-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)
12 matches
Mail list logo