Home   Help Search Login Register  

Author Topic: get chased down  (Read 491 times)

0 Members and 1 Guest are viewing this topic.

BronzeEagle

  • Guest
get chased down
« on: 25 Dec 2004, 13:42:28 »
the hunterkiller script doesn't really chase you down fast enough for you to not outrun it, we need a good chase script to where the ai will be just as fast as the person running from him and he'll keep chasing you down till he's within one foot of you.  This will be especially good for jeeps with machine guns on them vs. jeeps with machine guns on them.  We need a good get chased, or chase me script.  

bowery

Knowlife

  • Guest
Re:get chased down
« Reply #1 on: 25 Dec 2004, 16:15:02 »
There's a problem with being chased on foot, I wont tell you how, but there's a bug that lets you run faster than the ai (and other players if they don't know it). The bug isn't anything special to ofp, it's nearly in every other fps out there, so don't blame bis... However I really like the jeep idear.. :)

Dubieman

  • Guest
Re:get chased down
« Reply #2 on: 26 Dec 2004, 06:05:49 »
Make a small script for it.
************************************
Chase.sqs

_chasee = _this select 0
_pursuer = _this select 1

_pursuer dofire _chasee
#update
_cpos = getpos _chasee
 _pursuer move _cpos
~5
NOT ALIVE _pursuer: goto "exit"
~30
goto "update"
#exit
exit
*************************

I guess something like that, you can change the time values, these values are if the chase is over a large area. Smaller values for a quicker chase, so the pursuer has an almost constant changing target place to go. Or maybe a basic Destroy waypoint might do it.... :P

Oh yeah script called like this...
[bobbybruning, sergeisergunov] exec "Chase.sqs"