
cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 6, 2009 09:40 AM
Msg. 1 of 39
I watch the tutorial AI driving warthog and it taught me how to make the AI go into the vehicle but i cant make it follow the command list. like it gets into the vehicle and i make it go to point 1 but it doesnt go. it just flies randomly. ( i made an elite go into a banshee) and it doesnt fire anything too. just tries to ram you. Help?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 6, 2009 10:01 AM
Msg. 2 of 39
Were the command list points in the air?
|
|
|

117MC
Joined: Jul 20, 2009
117Ê¿¹Ù³¤
|
Posted: Aug 6, 2009 11:08 AM
Msg. 3 of 39
i got this problem with warthog too.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 6, 2009 11:14 AM
Msg. 4 of 39
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 6, 2009 11:44 AM
Msg. 5 of 39
well a guy who says his tut is better than his. just search ai driving warthogs tutorial. that one. though its almost the same
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 6, 2009 11:46 AM
Msg. 6 of 39
Ah, you sir, haven't paid attention to the second tutorial. First of all, the AI driving warthogs tutorial, makes you check the "AI flying" box. THAT makes it so that he CAN'T follow command lists. The second tutorial, the one I posted above, uses "AI can sidestep". That CAN follow command lists.
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 6, 2009 12:04 PM
Msg. 7 of 39
Quote: --- Original message by: Gamma927 Ah, you sir, haven't paid attention to the second tutorial. First of all, the AI driving warthogs tutorial, makes you check the "AI flying" box. THAT makes it so that he CAN'T follow command lists. The second tutorial, the one I posted above, uses "AI can sidestep". That CAN follow command lists. tried it. still doesnt work. wonder if its because of the banshee
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 6, 2009 12:12 PM
Msg. 8 of 39
It isn't. Here's a checklist of things you have to do.
1) Make sure vehicle is modified like in the picture 2) Make sure the command list points are in the air 3) Make sure the points don't have any sharp turns, and are close to one another
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 6, 2009 12:42 PM
Msg. 9 of 39
Quote: --- Original message by: Gamma927 It isn't. Here's a checklist of things you have to do.
1) Make sure vehicle is modified like in the picture 2) Make sure the command list points are in the air 3) Make sure the points don't have any sharp turns, and are close to one another Well i dont script the ai into the vehicle. i do the command vehicle. then i set up points just like in the pictures. but it still doesnt work
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 6, 2009 12:44 PM
Msg. 10 of 39
Wait, do you want the banshee to fly a certain path, or just fly around? Because you can accomplish the second by 3d firing positions.
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 6, 2009 09:53 PM
Msg. 11 of 39
a certian path. but all it does is fly around
|
|
|

Advancebo
Joined: Jan 14, 2008
|
Posted: Aug 6, 2009 10:10 PM
Msg. 12 of 39
Make sure the actor/variant tags for the vehicle work properly for perfect driving.
You want them to ignore danger. Edited by Advancebo on Aug 6, 2009 at 10:11 PM
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 13, 2009 10:50 AM
Msg. 13 of 39
I tried getting my marines to drive a warthog around bloodgulch ( well a small circle) but the marines just dont drive. they just sit there. heres a pic. i'll post a link to a vid later. this is a pic of the command list. tell me if i did anything wrong. and i did what they told me in adumbass's warthog tutorial and checked all the flags i need to check. 
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Aug 13, 2009 12:11 PM
Msg. 14 of 39
i cant seem to get my marines to enter the hog, whats the vehicle load magic script that forces them in when the vehicle spawns?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 13, 2009 12:31 PM
Msg. 15 of 39
(vehicle_load_magic [VEHICLE] [SEAT] (ai_actors [AI]))
And I think the problem is that you got the AI to enter the vehicle IN the command list, not through an external command.
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Aug 13, 2009 12:48 PM
Msg. 16 of 39
ok, problem solved. now i just need to make the command run, i have the exact problem cybykillers has
oh and in this part: (ai_actors [AI])) do you replace ai with the encounter or the squad? Edited by shadowslayer123 on Aug 13, 2009 at 12:51 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 13, 2009 12:52 PM
Msg. 17 of 39
Encounter. If you want to do a squad, you would do
(ai_actors [ENCOUNTER]/[SQUAD])
The /[SQUAD] isn't needed unless you want to specify a squad. For example, if I had an AI encounter named AI, and I wanted the whole encounter to get into the vehicle, I would type:
(vehicle_load_magic [VEHICLE] "" (ai_actors AI))
Now let's say I had a squad named squad, and I just wanted that squad to get in. I would type:
(vehicle_load_magic [VEHICLE] "" (ai_actors AI/squad))
|
|
|

shadowslayer123
Joined: Feb 22, 2009
Not the american average
|
Posted: Aug 13, 2009 12:55 PM
Msg. 18 of 39
thanks, so to make the command work you need to use this script, but you cant tell the ai to enter the vehicle as part of the command list?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 13, 2009 12:57 PM
Msg. 19 of 39
What I normally do, is use that command to get the AI into the vehicle. Once they're in the vehicle, I use
(ai_command_list [AI] [COMMAND LIST])
That makes them execute the command list after they're in. That way, you can keep the command list full of "go to" points.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Aug 13, 2009 04:06 PM
Msg. 20 of 39
Also, you set your radius to '20'. 20 Halo units is 200 feet...
That means your driver will think that he reached the command list point even if he's 200 feet away from it.
In fact, that might be one of the reasons why he doesn't seem to follow the command list at all. If all of the points are within 200 feet of him, then he'll 'reach' them all just by wandering around randomly.
Set it to something around 1-3 units. Even if that's not the problem, it's not a good idea to have a radius that large. Edited by Me KS on Aug 13, 2009 at 04:08 PM
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 12:14 AM
Msg. 21 of 39
so all i do is create a script to script the ai into the warthog? so in this case, i type this in a script? (vehicle_load_magic [warthog] [any seat] (ai_actors [marine warthog])) can you script anyseat? cause i want the 3 marines in the squad to go to any seat available. or how do you script an indivisual ai. Edited by cybykillers on Aug 14, 2009 at 12:18 AM http://www.youtube.com/watch?v=Zw8gZRqmJcQ vid may still be processing Edited by cybykillers on Aug 14, 2009 at 12:21 AM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 14, 2009 12:21 AM
Msg. 22 of 39
You'd do something like this, if your vehicle name was warthog, your AI encounter was marine_warthog, and your command list was named command. (script startup get_in (vehicle_load_magic warthog "" (ai_actors marine_warthog)) (ai_command_list marine_warthog command) )
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 12:22 AM
Msg. 23 of 39
so do i just type that on a document or a notepad? but how do u use it in sapien?
|
|
|

Switchblade
Joined: Jul 3, 2007
"Do you believe my threat is ended with my death?"
|
Posted: Aug 14, 2009 12:33 AM
Msg. 24 of 39
actually there is a way to get marines in the drivers seat of hogs using gurilla... you just rename the drivers seat to passenger or w/e and when the ai spawn next to the hog or other vehicle, they just hop in the driver's seat.
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 12:41 AM
Msg. 25 of 39
Quote: --- Original message by: Gamma927You'd do something like this, if your vehicle name was warthog, your AI encounter was marine_warthog, and your command list was named command. (script startup get_in (vehicle_load_magic warthog "" (ai_actors marine_warthog)) (ai_command_list marine_warthog command) )
I did exactly what you said but it still doesnt work. maybe im not getting spaces correctly. how many spaces are there between each of the words
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 14, 2009 12:51 AM
Msg. 26 of 39
Quote: --- Original message by: Switchblade actually there is a way to get marines in the drivers seat of hogs using gurilla... you just rename the drivers seat to passenger or w/e and when the ai spawn next to the hog or other vehicle, they just hop in the driver's seat. No, that just makes them a passenger. That doesn't mean they'll drive though.
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 03:42 AM
Msg. 27 of 39
my question?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 14, 2009 09:46 AM
Msg. 28 of 39
Define what you mean by "it doesn't work". Does the script compile?
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 10:29 AM
Msg. 29 of 39
no. well i dont know. theres alot of errors that show up and the ai dont follow the command
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Aug 14, 2009 10:35 AM
Msg. 30 of 39
Did you put the script in the right place?
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 11:21 AM
Msg. 31 of 39
in the script folder in bloodgulch right?
|
|
|

Scott
Joined: Apr 4, 2005
No.
|
Posted: Aug 14, 2009 11:22 AM
Msg. 32 of 39
This is COMPLETELY off topic and a useless post... but I love the opposite tanks chatting with each other in this thread. -_-
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 11:23 AM
Msg. 33 of 39
gtfo u life-less douche. go do something else other than posting trash in this topic
|
|
|

Megaguirus
Joined: Feb 26, 2009
Om nom nom
|
Posted: Aug 14, 2009 11:28 AM
Msg. 34 of 39
And then the bear comes
|
|
|

cybykillers
Joined: Feb 12, 2009
Tanky likes to eat babies for lunch >:)
|
Posted: Aug 14, 2009 11:30 AM
Msg. 35 of 39
Quote: --- Original message by: Megaguirus And then the bear comes lol
|
|
|