
Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: Jan 18, 2011 11:11 PM
Msg. 1 of 9
Could I make an AI drive a flying vehicle like a dropship with a specific command list and editing the vehicle AI movement in Guerilla to make a vehicle move in a specific way. Sort of like making an animation.
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 20, 2011 05:44 PM
Msg. 2 of 9
Set the 'ai driver flying' and the 'ai driver can-sidestep' flags in the vehicle tag.
Go down and set the ai sideslip distance to 4, the ai destination radius to 6, the ai avoidance distance to 1, the ai pathfinding radius to 4, and the ai charge repeat timeout to 1.
When you set up the encounter in-game, make sure you set the encounter with the AI pilots to have 3D firing positions. From what I've noticed when I make my AI fly pelicans, this, in addition with the 'ai driver flying' flag in the vehicle tag, seems to allow them to recognize command list points that are in the air.
|
|
|

jackotheblah
Joined: Jan 5, 2011
uthink ur lag is bad,takes jesus 3 days to respawn
|
Posted: Jan 20, 2011 05:59 PM
Msg. 3 of 9
i wouldnt recomend ai flying a dropship becuase they are highly unreliable and will probably repeatedly crash.
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 20, 2011 07:14 PM
Msg. 4 of 9
If they are on a command list, they will not crash.
|
|
|

jackotheblah
Joined: Jan 5, 2011
uthink ur lag is bad,takes jesus 3 days to respawn
|
Posted: Jan 20, 2011 11:19 PM
Msg. 5 of 9
well when i tried to make them fly dropships on the command list they didnt work to well or in any vehicle and i looked through most tutorials and start a thread all to no avail.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 21, 2011 01:25 AM
Msg. 6 of 9
Tick initially blind, deaf, braindead (and the other one if there is one) in the ai encounter in sapien. Then in the command list, in between every go to command have a set radius command telling the ai how close they need to go to the point then when u want the ai back to normal use these commands:
(ai_braindead encounter1 false) (ai_set_blind encounter1 false) (ai_set_deaf encounter1 false)
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 21, 2011 08:01 AM
Msg. 7 of 9
Quote: --- Original message by: jackotheblah well when i tried to make them fly dropships on the command list they didnt work to well or in any vehicle and i looked through most tutorials and start a thread all to no avail. I just told you how to do it. Did you go try it?
|
|
|

Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: Jan 22, 2011 12:22 AM
Msg. 8 of 9
I'm trying to try it, but I need to load the AI into the vehicle with a script. (I'm using a Spirit Dropship).
I'm trying to use the script
(vehicle_load_magic )
Would I use this:
(vehicle_load_magic hi driver oy)
Encounter is called: hi
Vehicle is named: oy
Correct me plzzzzzzzzzz
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 22, 2011 12:50 AM
Msg. 9 of 9
(vehicle_load_magic oy driver (ai_actors hi/driver1))
U'll need a squad with one guy in it called driver1
|
|
|