Hi Tom,

The problem was, the helicopter really wasn't flying like we wanted it to. I 
didn't realize you could set the velocity up to 65535 (I thought it was based 
on 0-255... stupid lack of documentation!)
And the npc_helicopter really doesn't like to follow path tracks unless you set 
the output of each path_track (OnPass) to make the helicopter 
FlyToSpecifiedPathCorner(something or other) and then provide the next path 
corner name as a parameter.

Solved the "angle of entry" issue, too, by putting a trigger in the 
helicopter's path and firing a "Set Angles" to 0 303 30 to have it plow into 
the billboard sideways.

The final issue was getting the chopper to ignore the solidity of the brush, 
and that was accomplished by using a func_brush with it set to "Never Solid" 
and another flag (something about allow npc to ignore solidity)

Thanks to everyone for their input


Chad


> Date: Sun, 13 Apr 2008 08:25:08 +0100
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: [hlcoders] Crashing an npc_helicopter
> 
> Even with a scripted sequence you'll probably need new AI code to 
> achieve this. The closest you're likely to get with Valve's binaries is 
> the effect from the end of Lost Coast, but I doubt that you want the 
> copter exploding /before/ he hits anything. :p
> 
> Cory de La Torre wrote:
> > Hmmm oddly he might be acting like this due to the path going right through
> > the Brush itself. One of the things you can do is maybe use a scripted
> > sequence, and have it take over his AI, and override it. By doing this, you
> > might be able to very well have him continue through a path without avoiding
> > a obstacle. Sadly I've not worked much with Helicopters, so I might not be
> > as of much help to you. Sorry for that.
> >
> > On Sat, Apr 12, 2008 at 6:17 PM, Some Person <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Hi,
> >>
> >> Thank you for your response.
> >>
> >> There's a flag "Ignore avoid spheres+boxes" for npc_helicopter... but I
> >> don't see "Do not avoid obstacles".
> >>
> >> That flag "Ignore avoid" didn't seem to work.
> >>
> >>
> >> Chad
> >>
> >>     
> >>> Date: Sat, 12 Apr 2008 18:03:39 -0700
> >>> From: [EMAIL PROTECTED]
> >>> To: [email protected]
> >>> Subject: Re: [hlcoders] Crashing an npc_helicopter
> >>>
> >>> Try setting the Flag: 'Do not avoid obstacles.'
> >>>
> >>> On Sat, Apr 12, 2008 at 5:54 PM, Some Person <[EMAIL PROTECTED]>
> >>>       
> >> wrote:
> >>     
> >>>> Hi,
> >>>>
> >>>>
> >>>> Trying to crash a helicopter into a billboard (func_brush with
> >>>>         
> >> solidity
> >>     
> >>>> set to never solid).
> >>>>
> >>>> Helicopter approaches (on a path track--that goes through the
> >>>>         
> >> billboard)
> >>     
> >>>> slows down, and turns away.
> >>>>
> >>>> We want it to just plow right into the billboard. It's too smart, I
> >>>>         
> >> guess.
> >>     
> >>>> How is this done?
> >>>>
> >>>> Thanks
> >>>>
> >>>>
> >>>> Chad
> >>>>
> >>>> _________________________________________________________________
> >>>> More immediate than e-mail? Get instant access with Windows Live
> >>>> Messenger.
> >>>>
> >>>>
> >>>>         
> >> http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008
> >>     
> >>>> _______________________________________________
> >>>> To unsubscribe, edit your list preferences, or view the list archives,
> >>>> please visit:
> >>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>>>
> >>>>
> >>>>         
> >>> --
> >>> Gear Dev
> >>> _______________________________________________
> >>> To unsubscribe, edit your list preferences, or view the list archives,
> >>>       
> >> please visit:
> >>     
> >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>>
> >>>       
> >> _________________________________________________________________
> >> More immediate than e-mail? Get instant access with Windows Live
> >> Messenger.
> >>
> >> http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list archives,
> >> please visit:
> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>
> >>
> >>     
> >
> >
> >   
> 
> 
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 

_________________________________________________________________
Going green? See the top 12 foods to eat organic.
http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to