mr tarzan
Private

Posts: 93
Registered: 6-24-2005
Location: Norway
Member Is Offline
Mood: Happy
|
|
AI driven vehicles - Speed
Hey.
Does anybody know how to reduce the speed on vehicles driven by bots?
mr tarzan :o
|
|
|
Jonathan
Captain
  
Posts: 295
Registered: 5-4-2003
Member Is Offline
|
|
Assign the vehicle that the A/I is driving to a group. Such as group = enemy helo. Next go into the events and add two actions after the Redirect
Group (enemy helo) to waypoints.
The two actions are: Combat speed & Patrol Speed. Then pick a desired speed. 5km/h, 20km/h, ....
|
|
|
mr tarzan
Private

Posts: 93
Registered: 6-24-2005
Location: Norway
Member Is Offline
Mood: Happy
|
|
Thx for reply
Didn't find any of the two options you refered to. I did find an option called "Velocity, SSN" and set the speed there.
Tried different speeds, but I don't think it changed the vehicle's (zodiac) speed.
Are you sure you can do this with the med, and not only as a wac command?
mr tarzan :D
|
|
|
mr tarzan
Private

Posts: 93
Registered: 6-24-2005
Location: Norway
Member Is Offline
Mood: Happy
|
|
As I mensioned before, I never found the combatspeed or the patrolspeed in the dfxmed under the events. But I made this wac command:
// Zodiac patrol and combat speed
if groupalive(5) and never() then
ssncspd(356,30)
endif
if groupalive(5) and never() then
ssnpspd(356,30)
endif
group 5 is the gunner and driver, 356 is the vehicle's SSN and 30 is the speed (km/h). And the command works fine.
mr tarzan :P
|
|
|
Jonathan
Captain
  
Posts: 295
Registered: 5-4-2003
Member Is Offline
|
|
Under Events, pick Then (Actions) window, and click New Action. In the popup Window for Event Action, set the Action Type = Change A/I Group. For
the Action Subtype, select Combat Speed & Patrol Speed.
And I was going to mention this in my first reply, but forgot, that sometimes I don't see a big difference in the vehicles speeds. Not sure if this
is flaw with the DFx game engine or what.
Also, in the MED manual on page 36, there's a Velocity Group (Single) command that you could use. I've never noticed it before and haven't tried it.
Page 36 & 37 also have a little info on Combat and Patrol speed.
|
|
|
mr tarzan
Private

Posts: 93
Registered: 6-24-2005
Location: Norway
Member Is Offline
Mood: Happy
|
|
Ok, thx dude
Got it to work in the WAC anyway, but next time i'll try your way.
mr tarzan
|
|
|