
pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Feb 15, 2009 07:21 PM
Msg. 1 of 6
I am making a MP map for myself to experiment with this. I have already made a command list for the AI to get in a vehicle. I have a question about it though. My AI spawn once they die and they spawn infinitely. So I think i have a problem with the command list then. Do i need to terminate the command list after they get in the warthog? Do i need to use the same command list they use when entering the warthog to make them follow points or do i need to create a whole new one?? Please help me with this and tell me how to get it to work. I have been following this tutorial somewhat. it is by adumbass. Here is the link to the tutorial. http://forum.halomaps.org/index.cfm%3Fpage=topic&topicID=22698' Please help me with this I need to know what i need to do to get this to work. I also do not care if the AI sync or not so don't tell me AI don't sync. I already know they don't this map is just for practice and learning for myself.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 15, 2009 09:00 PM
Msg. 2 of 6
Try it out in Sapien. Spawn the AI, get them into the vehicle, and hit the ` button. Then type: (ai_command_list [ai encounter] [command list])
Run the command list you want them to run. If it works, then go on to step 2. Add the commands from your second command list into your first command list, the one where they get into the vehicle. They should then get into the vehicle, and immediately execute the command list that you want. Beware, if the vehicle isn't there, they'll just walk the route that the vehicle takes.
|
|
|

pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Feb 15, 2009 09:07 PM
Msg. 3 of 6
Wait... why would i create 2 command lists if I only need one? Please explain in a little more detail please. what does the dev code you told me to enter in sapien do???
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 15, 2009 09:20 PM
Msg. 4 of 6
The devcode runs the command list. Basically, what I want you to do, is make sure the command list works, before you attempt to get it to run. So, get your AI into a vehicle through a command list, or use the (vehicle_load_magic) command to do it. Once you can see the AI sitting inside the vehicle in Sapien, run the second command list using the (ai_command_list) command. The people inside the vehicle should drive to the points that you designate. If it works, then combine the get-into-vehicle command list and the driving-points command list into one big command list.
|
|
|

pakar45
Joined: Sep 21, 2008
Hi
|
Posted: Feb 15, 2009 09:42 PM
Msg. 5 of 6
So wait... How would i combine them? Do i just re-add all of the other commands into the very first command list? Or is there a way to combine them easier?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 15, 2009 09:48 PM
Msg. 6 of 6
Just add the second command list's instructions (the one with the driving instructions) under the get into vehicle command list.
|
|
|