A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »How to bring in AI by dropships.

Author Topic: How to bring in AI by dropships. (7 messages, Page 1 of 1)
Moderators: Dennis

Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: May 28, 2011 02:34 PM    Msg. 1 of 7       
I've been trying to do this for along time now, but just can't seem to do it. I've been using The_Cereal_killers command list method but have had no luck, the dropship just doesn't spawn. How do you do this?

The command list method I'm trying is here:
http://forum.halomaps.org/index.cfm%3Fpage=topic&topicID=37364
It's a few post down in the thread.

Thanks.


The Cereal Killer
Joined: Mar 18, 2011

Scripts, AI, cutscenes, ui_widgets, animation.


Posted: May 28, 2011 05:06 PM    Msg. 2 of 7       
You have the names set correctly in the scenario as well as the script?


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: May 28, 2011 07:02 PM    Msg. 3 of 7       
Quote: --- Original message by: The Cereal Killer
You have the names set correctly in the scenario as well as the script?

I believe so, but where you fill things in on the script is confusing. You said to name both the encounter and squad "pilot." So the script would look like this:

(script dormant dropoff
(object_create_anew dropship)
(object_create_anew ship_pilot)
(object_teleport dropship start_point)
(unit_enter_vehicle ship_pilot dropship "")
(ai_attach ship_pilot pilot)
(ai_command_list_by_unit ship_pilot ship_dropoff)
(ai_place pilot)
(vehicle_load_magic dropship "" (ai_actors pilot()))
(sleep_until (= (ai_command_list_status ship_pilot) 1))
(vehicle_hover dropship true)
(vehicle_unload dropship "")
(unit_enter_vehicle ship_pilot dropship "")
(ai_command_list_by_unit ship_pilot ship_leave)
(vehicle_hover dropship false)
(sleep_until (= (ai_command_list_status ship_pilot) 1))
(unit_kill_silent ship_pilot)
(object_destroy dropship)
)

The part in the bold is what I'm not sure of. There seems to be an extra set of parenthesis, I tried deleting them but it didn't work. Is there supposed to be an extra command in those parenthesis? I tried just putting the encounter name but that didn't seem to work.

Thanks.
Edited by pepzee on May 28, 2011 at 07:03 PM


The Cereal Killer
Joined: Mar 18, 2011

Scripts, AI, cutscenes, ui_widgets, animation.


Posted: May 28, 2011 10:02 PM    Msg. 4 of 7       
Well the correct way would be

(vehicle_load_magic dropship "" (ai_actors pilot))

but that wouldn't stop the ship from spawning in general...


Pepzee
Joined: Sep 9, 2010

Retired Halo Modder


Posted: May 28, 2011 10:13 PM    Msg. 5 of 7       
Quote: --- Original message by: The Cereal Killer
Well the correct way would be

(vehicle_load_magic dropship "" (ai_actors pilot))

but that wouldn't stop the ship from spawning in general...

The vehicle I was using was just the standard covenant drop ship. The biped I was using was just a standard elite biped. If any of that matters. I also have questions on the script. What are all of the "" for? I've never seen them used in a script before. Also if you could point out in the script where I need to fill in the encounter name. Maybe I missed a spot.

Also, does it matter where I place the vehicle and the encounter, because I put them outside the map. Not sure if it makes a difference though.

Thanks.
Edited by pepzee on May 29, 2011 at 12:03 AM


Smok Niszczyciel
Joined: Aug 12, 2010

Where the laws of physics don't exist...


Posted: May 29, 2011 08:30 AM    Msg. 6 of 7       
If you,ppl, find out how to make dropships fly from some part of map and then spawn AI, then finally I won't have problems with putting floods to my new map!
It's really weird when they just randomly appear in water as a 15unit swarm and head to your base...


Smok Niszczyciel
Joined: Aug 12, 2010

Where the laws of physics don't exist...


Posted: May 29, 2011 11:04 AM    Msg. 7 of 7       
I can learn easily. All programming languages are similiar to each other, so why I couldn't learn Halo scripting? Anyway I'm trying to learn and train everything possible. Yeah I'm * up and I have serious issues. Lol.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 12:04 AM 140 ms.
A Halo Maps Website