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 »AI not spawning correctly after switching bsps

Author Topic: AI not spawning correctly after switching bsps (4 messages, Page 1 of 1)
Moderators: Dennis

The Gravemind
Joined: Jul 26, 2016

I Am The Monument To All Your Sins


Posted: Feb 8, 2018 09:34 PM    Msg. 1 of 4       
So it's my first time working on a level with multiple bsps and I want to trigger ai to be placed on a different bsp but whenever I enter the trigger the AI do spawn but are in T-pose and wont move.

This is my script

(script startup following
(ai_follow_target_players marines)
)

(script dormant spawnkill
(ai_place marine2)
(ai_follow_target_players marine2)
(ai_kill_silent marines)
)

(script startup timeformurd
(sleep_until (volume_test_objects marinekillspa (players)) 15)
(wake spawnkill)
)

(script dormant switch
(switch_bsp 1)
)

(script startup aftsw
(sleep_until (volume_test_objects bspsw (players)) 15)
(wake switch)
)

(script dormant switch2
(switch_bsp 2)
)

(script startup aftsw2
(sleep_until (volume_test_objects bspsw2 (players)) 15)
(wake switch2)
)

(script dormant spawn1
(ai_follow_target_players marine3)
(ai_place marine3)
(ai_kill_silent marine2)
)

(script startup spawn2
(sleep_until (volume_test_objects spawn3 (players)) 15)
(wake spawn1)
)

(script dormant spawn3
(ai_follow_target_players marine4)
(ai_place marine4)
(ai_kill_silent marine3)
)

(script startup spawnfinale
(sleep_until (volume_test_objects spawn4 (players)) 15)
(wake spawn3)
)


DeadHamster
Joined: Jun 8, 2014


Posted: Feb 8, 2018 10:42 PM    Msg. 2 of 4       
In Sapien, change the manual BSP index of the sqaud to match the BSP you're placing them in.

First BSP in the scenario is BSP index 0, the second is BSP index 1, the third is 2, and so on.


Halo Noob Modder117
Joined: Jan 22, 2016

When all mod plans fail just rip everyone elses...


Posted: Feb 8, 2018 10:57 PM    Msg. 3 of 4       
I had this exact same issue!

(EDIT- beat me to it Hamster)
Edited by Halo Noob Modder117 on Feb 8, 2018 at 10:57 PM


The Gravemind
Joined: Jul 26, 2016

I Am The Monument To All Your Sins


Posted: Feb 8, 2018 11:05 PM    Msg. 4 of 4       
Thanks this helped me alot!

 

 
Previous Older Thread    Next newer Thread





Time: Fri February 23, 2018 3:27 AM 171 ms.
A Halo Maps Website