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 »Bsp teleport switch not spawning player?

Author Topic: Bsp teleport switch not spawning player? (8 messages, Page 1 of 1)
Moderators: Dennis

Elote
Joined: Aug 13, 2017


Posted: Aug 13, 2017 04:04 AM    Msg. 1 of 8       
I'm trying to move a player to a different bsp in a campaign map with scripts

(script startup bspswitch
(sleep_until (volume_test_objects bspmover (players))15)
(switch_bsp 1)
(object_teleport (unit (list_get (players) 0)) player1_lift_base)
)

The bsp switches correctly but it shows a camera (kind of like when you die in campaign) that rotates slowly (like the player is dead) and nothing else happens.


DeadHamster
Joined: Jun 8, 2014


Posted: Aug 13, 2017 11:23 AM    Msg. 2 of 8       
The two BSP models should overlap, so that wherever your trigger volume goes exists on both BSP sections. Otherwise when you swap the BSP, your character is outside of it and may be getting deleted because of that.

You may be able to circumvent this if you teleport the player first, but I can't be sure.


MatthewDratt
Joined: Sep 11, 2010

CE3 - Takedown - HaloCE3.com


Posted: Aug 13, 2017 12:44 PM    Msg. 3 of 8       
Teleport the player first


Elote
Joined: Aug 13, 2017


Posted: Aug 13, 2017 08:36 PM    Msg. 4 of 8       
Quote: --- Original message by: MatthewDratt
Teleport the player first

It does the same camera thing but now it doesn't switch Bsps


MatthewDratt
Joined: Sep 11, 2010

CE3 - Takedown - HaloCE3.com


Posted: Aug 13, 2017 09:49 PM    Msg. 5 of 8       
What biped are you using?


Elote
Joined: Aug 13, 2017


Posted: Aug 13, 2017 10:43 PM    Msg. 6 of 8       
Quote: --- Original message by: MatthewDratt
What biped are you using?

Default h1 cyborg
Edited by Elote on Aug 13, 2017 at 10:52 PM


MatthewDratt
Joined: Sep 11, 2010

CE3 - Takedown - HaloCE3.com


Posted: Aug 15, 2017 01:42 PM    Msg. 7 of 8       
Try teleporting to a different place. I had an issue once where the bounding radius of an object forced the player to fall through the ground and I just so happened to teleport them next to it. If I moved away it was fine


Elote
Joined: Aug 13, 2017


Posted: Aug 15, 2017 07:19 PM    Msg. 8 of 8       
I fixed this by splitting the scripts into two different trigger volumes, putting the bsp switch slightly ahead of the teleport trigger

 

 
Previous Older Thread    Next newer Thread





Time: Thu December 14, 2017 7:50 PM 297 ms.
A Halo Maps Website