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 »Scripting Dropships

Author Topic: Scripting Dropships (9 messages, Page 1 of 1)
Moderators: Dennis

Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Nov 28, 2010 06:02 AM    Msg. 1 of 9       
(object_create drop1)
(object_create w4)
(ai_place cov_drop1)
(ai_place droper1)
(objects_attach w4 "" drop1 "")
(vehicle_load_magic w4 driver (ai_actors cov_drop1/elite1))
(vehicle_load_magic drop1 driver (ai_actors droper1/elite1))
(vehicle_load_magic drop1 CD-passengerL01 (ai_actors cov_drop1/grunt1))
(vehicle_load_magic drop1 CD-passengerL02 (ai_actors cov_drop1/grunt2))
(vehicle_load_magic drop1 CD-passengerL03 (ai_actors cov_drop1/grunt3))
(vehicle_load_magic drop1 CD-passengerR02 (ai_actors cov_drop1/grunt4))
(vehicle_load_magic drop1 CD-passengerR01 (ai_actors cov_drop1/elite2))
(vehicle_load_magic drop1 CD-passengerL04 (ai_actors cov_drop1/brute1))
(ai_command_list droper1 base_attack1)
(ai_command_list_advance droper1)
(sleep 600)
(objects_detach w1 drop1)
(vehicle_unload drop1 CD-passengerL01)
(vehicle_unload drop1 CD-passengerL02)
(vehicle_unload drop1 CD-passengerL03)
(vehicle_unload drop1 CD-passengerL04)
(vehicle_unload drop1 CD-passengerR01)
(vehicle_unload drop1 CD-passengerR02)
(game_save_totally_unsafe)
(ai_command_list_advance droper1)
This is my script for a dropship.
1) The dropship driver doesnt move. Insted he gets the dropship stuck in the floor.
2) The AI dont hop in.
3) The wraith attaches to the driver area. Not the place for wraiths.

ANY HELP PLZ.

Also:
(sleep_until (= (ai_living_count cov_drop1) 0) 15)
(object_create pelican1)
(object_destroy drop1)
(ai_place pelican_driver1)
(ai_place people)
(vehicle_load_magic pelican1 driver (ai_actors pelican_driver1/marine1) )
(vehicle_load_magic pelican1 passenger_left_front (ai_actors people/guy1) )
(vehicle_load_magic pelican1 passenger_left_centre (ai_actors people/guy3) )
(vehicle_load_magic pelican1 passenger_left_back (ai_actors people/guy4) )
(vehicle_load_magic pelican1 passenger_right_back (ai_actors people/guy5) )
(vehicle_load_magic pelican1 passenger_right_centre (ai_actors people/guy1) )
(ai_command_list pelican_driver1 tuby)
(game_save_totally_unsafe)
(sleep 600)
(vehicle_unload pelican1 passenger_left_front)
(vehicle_unload pelican1 passenger_left_centre)
(vehicle_unload pelican1 passenger_left_back)
(vehicle_unload pelican1 passenger_right_back)
(vehicle_unload pelican1 passenger_right_front)
(ai_command_list_advance pelican_driver1)
(object_destroy open)
(effect_new effects\explosions\c40_broken_door_explosion ex1)
(ai_place cov_hot)
(ai_command_list cov_hot walking)
This for a pelican dropping trops.
1) The pelican driver doesnt do anything
2) Marines dont hop in.
Edited by Head Noob on Nov 28, 2010 at 06:07 AM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Nov 28, 2010 01:17 PM    Msg. 2 of 9       
Replace your inefficient and overly specific vehicle_load_magic scripts with this:

(vehicle_load_magic pelican1 "" (ai_actors pelican_driver1))
(vehicle_load_magic pelican1 "" (ai_actors people))

Also, be sure the vehicle is set up to enable command lists.


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Nov 29, 2010 01:36 AM    Msg. 3 of 9       
where do I change the vehicle so that it can do command lists?

Also lik this?
(object_create pelican1)
(object_destroy drop1)
(ai_place pelican_driver1)
(ai_place people)
(vehicle_load_magic pelican1 driver (ai_actors pelican_driver1/marine1))
(vehicle_load_magic pelican1 "" (ai_actors people) )
(ai_command_list pelican_driver1 tuby)
(game_save_totally_unsafe)
(sleep 600)
(vehicle_unload pelican1 passenger_left_front)
(vehicle_unload pelican1 passenger_left_centre)
(vehicle_unload pelican1 passenger_left_back)
(vehicle_unload pelican1 passenger_right_back)
(vehicle_unload pelican1 passenger_right_front)
(ai_command_list_advance pelican_driver1)
Edited by Head Noob on Nov 29, 2010 at 01:39 AM


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Nov 29, 2010 01:38 AM    Msg. 4 of 9       
See that's where it gets tricky. I never could get flying vehicles to follow command lists, only ground vehicles.
You'll need custom/recorded animations.


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Nov 29, 2010 03:45 AM    Msg. 5 of 9       
I thought tha might happen. I was trying to do it without custom reordings. I might use insted a shadow to drop of people and wraiths. Until I get gmax working on my new computer. I get it on the 11/12.


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Nov 29, 2010 05:16 AM    Msg. 6 of 9       
Make sure to make the drivers have no initiative, brains, or aiming in the commands lists. It will screw everything up if they do.


Head Noob
Joined: Oct 3, 2010

This difficulty is for noobs! Mythic is for pros


Posted: Nov 29, 2010 06:02 AM    Msg. 7 of 9       
Ya they do screw it up. Funny though if an encounter is brain dead they just stand there and look at u. LOL


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Nov 29, 2010 06:10 AM    Msg. 8 of 9       
That's the point. If they are braindead then they have nothing else to do but follow the command list.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Nov 29, 2010 05:18 PM    Msg. 9 of 9       
It's actually better to set the AI to blind and deaf rather than braindead. I don't think they're even capable of following command lists when braindead.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 1:55 PM 156 ms.
A Halo Maps Website