
videoman
Joined: Feb 2, 2008
We are Microsoft, Resistance is Futile
|
Posted: Jan 19, 2011 08:49 PM
Msg. 1 of 15
So i have recently been trying to get AI's in Sapien to enter vehicles. I have placed the AI's, then i have made the command list and then assigned the AI's to the command list. But yet they do not even enter the vehicles. Whats even more annoying is that fact that when i place the vehicles....the AI's just walk (or run) around the vehicles....like they don't even EXIST. So my question is....what do i do? Also...i noticed that under the "vehicle" command list there is a short description about what the "vehicle" command....and it says something about....SWARMS? What's a SWARM. Because it mentions "DO NOT USE WITH SWARMS!". Ya....pretty much.
Thanks for any help given
Videoman
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 19, 2011 09:26 PM
Msg. 2 of 15
The script command for an ai to walk over to a vehicle and get into it is:
(ai_go_to_vehicle elites1/driver1 ghost1 G-driver)
where elites1 is the encounter, driver1 is the squad, ghost1 is the vehicle and G-driver is the seat
The script command to magically load a vehicle is:
(vehicle_load_magic ghost1 G-driver (ai_actors elites1/driver1))
For other proper seat names just look at the vehicle tag in guerilla and u'll find a section about seats
|
|
|

jackotheblah
Joined: Jan 5, 2011
uthink ur lag is bad,takes jesus 3 days to respawn
|
Posted: Jan 19, 2011 09:30 PM
Msg. 3 of 15
Quote: --- Original message by: videoman and it says something about....SWARMS? What's a SWARM. Because it mentions "DO NOT USE WITH SWARMS!".
Videoman a swarm is a squad with more than 1 ai in it.
|
|
|

videoman
Joined: Feb 2, 2008
We are Microsoft, Resistance is Futile
|
Posted: Jan 19, 2011 09:40 PM
Msg. 4 of 15
Thanks jackotheblah! That's my whole issue. xD I have a squad that has more then 1 AI in it. Also @Muscl3r...I was talking about in Sapien....not by using Notepad. BUT! I will keep in mind that script you posted earlier..Thus it coming in handy later.
Thanks you guys!
|
|
|

Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: Jan 20, 2011 01:31 AM
Msg. 5 of 15
Yeah, I used to have that problem when I tried to get them to drive anything.
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 20, 2011 05:43 AM
Msg. 6 of 15
I hate using ai command lists. Scripts are a much more efficient way of doing stuff
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 20, 2011 02:46 PM
Msg. 7 of 15
Quote: --- Original message by: jackotheblahQuote: --- Original message by: videoman and it says something about....SWARMS? What's a SWARM. Because it mentions "DO NOT USE WITH SWARMS!".
Videoman a swarm is a squad with more than 1 ai in it. No, a swarm is an encounter/squad with AI who, in their actor tag, have the SWARM flag checked off. If said actors do not have the SWARM flag checked off, you can still use that command.
|
|
|

videoman
Joined: Feb 2, 2008
We are Microsoft, Resistance is Futile
|
Posted: Jan 20, 2011 06:32 PM
Msg. 8 of 15
@drillinstructor...that's odd, Because when i go to check to see if the "swarm" check box is checked....it's not checked. and even when it's not checked they still don't get in. But when i tried have only one actor in a squad and assigned the actor to the vehicle command...it worked and they entered. So....you might be right drillinstructor....or you might be wrong. Honestly....i don't know. But like i said when i have only one actor spawn in one squad, it seem to work weather or not the "swarm" check box is checked. Thanks for trying though
Videoman
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 20, 2011 06:34 PM
Msg. 9 of 15
Are you making an ai map or something?
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 20, 2011 07:25 PM
Msg. 10 of 15
Quote: --- Original message by: videoman @drillinstructor...that's odd, Because when i go to check to see if the "swarm" check box is checked....it's not checked. and even when it's not checked they still don't get in. But when i tried have only one actor in a squad and assigned the actor to the vehicle command...it worked and they entered. So....you might be right drillinstructor....or you might be wrong. Honestly....i don't know. But like i said when i have only one actor spawn in one squad, it seem to work weather or not the "swarm" check box is checked. Thanks for trying though
Videoman Which actor are you trying to get to enter which vehicle? Might be an animation issue.
|
|
|

videoman
Joined: Feb 2, 2008
We are Microsoft, Resistance is Futile
|
Posted: Jan 20, 2011 09:52 PM
Msg. 11 of 15
mainly just the "marine armored" actors. One of them is called "marine_armored sniper rifle". So....ya. I have successfully been able to get a ODST into a vehicle...but that's AFTER he dies once and then he decides to be smart and get in it....odd isn't it?
Thanks
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 21, 2011 07:56 AM
Msg. 12 of 15
Is it a warthog you're trying to get them to enter? Pelican?
When you're doing the command list, do you check "allow initiative"?
|
|
|

videoman
Joined: Feb 2, 2008
We are Microsoft, Resistance is Futile
|
Posted: Jan 22, 2011 05:05 PM
Msg. 13 of 15
This is the vehicle i am using: http://www.xfire.com/video/3b3ea9/If you are thinking its a missile pod....then you guessed right. My friend was able to get it in-game. But when it comes to AI's....they seem to be too stupid to understand how to use it. Well....kinda. I have been able to get a ODST actor to use it, but he only uses it when he dies once when then he seem to get smarter and understands that the missile pod is there for him to use to help with battling enemies. Odd.....don't know why it seems to be that way..well....whatever. But i still can't seem to get the marines to board a SINGLE vehicle. Any help given would be greatly appreciated. Thanks Videoman
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 22, 2011 07:03 PM
Msg. 14 of 15
If i were you i'd just implement a script.
Here is another handy dandy command:
(ai_vehicle_enterable_actor_type spectre elite)
where spectre is the name of thevehicle and elite is the actor type. This command means that whenever an ai feels like using that vehicle they can do so
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Jan 22, 2011 11:31 PM
Msg. 15 of 15
Hahaha... that weapon is almost unfair. x)
On the command list, did you check "allow initiative"? If you did, uncheck it and they should go running for the weapon.
|
|
|