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 »Switching bsp's help.

Author Topic: Switching bsp's help. (14 messages, Page 1 of 1)
Moderators: Dennis

Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Jan 14, 2009 05:03 PM    Msg. 1 of 14       
Well, I was wondering what the command for switching bsp's is? I know that it is (switch_bsp [short]) but what exactly goes in the '[short]' area? I figured it was something along the lines of 0,1. Although I am not completely sure.

Another question, I dont mean to waste your time, how do I get the map to load a 'specific' bsp upon starting?


Advancebo
Joined: Jan 14, 2008


Posted: Jan 14, 2009 05:04 PM    Msg. 2 of 14       
Is this in sapien or halo ce dev?

In halo ce dev, the [short] is the bsp number, like in bloodgulch, the bsp is #0

In sapien, theres a menu at the top to switch to a bsp without the need of a dev command.

In scripts, its pretty much the same as the Dev


Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Jan 14, 2009 05:07 PM    Msg. 3 of 14       
Sorry, I should have stated sapien, ok, thanks for the help, theres still the little problem of getting my map to load a 'specific' bsp. Any ideas about this?


Advancebo
Joined: Jan 14, 2008


Posted: Jan 14, 2009 05:13 PM    Msg. 4 of 14       
Do you have any other Bsps?


Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Jan 14, 2009 05:16 PM    Msg. 5 of 14       
A total of 13. I tried the bsp switch script to change the bsp on spawn. But, sadly, it didn't work. So that leaves me with the option of changing the bsp that the map first loads, and of which I have no clue how to do. Help?
Edited by Lone Warrior on Jan 14, 2009 at 05:18 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 14, 2009 07:31 PM    Msg. 6 of 14       
Quote: --- Original message by: Lone Warrior

A total of 13. :O I tried the bsp switch script to change the bsp on spawn. But, sadly, it didn't work.What was your script? So that leaves me with the option of changing the bsp that the map first loads, and of which I have no clue how to do. Help?In Guerilla, put the first map that loads on top of all the other maps.
Edited by Lone Warrior on Jan 14, 2009 at 05:18 PM


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Jan 15, 2009 03:01 PM    Msg. 7 of 14       
You can always script a startup script to switch to the designated bsp, or in guerilla, you can scroll down to the bottom where it lsits all your bsps. just make the bsp you want to load first be the top one (bsp 0).


Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Jan 15, 2009 03:09 PM    Msg. 8 of 14       
Ah, I see. To Gamma the script was:

(script startup bsp-switch1
(sleep_until (volume_test_objects bsp-switch1 (players)) 15)
(switch_bsp 5
)
)

Scripts successfully compiled after this. But I still spawned mid-air. The bsp's are b40's bsp's I'm doing an sp mod, starting with this map, fyi.

And to Masters, I had hunch about that, so just line them up in the order I want it to go in?

I'll try this out when I'm done my homework.


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jan 15, 2009 04:04 PM    Msg. 9 of 14       
Not sure if spawning in air has anything to do with scripting, but there is a much easier way to switch bsps, without scripting. Just name the trigger volume "bsp 0,1" (without the quotes) and when the player enters it will change from bsp 0 to bsp 1, the next bsp on the list in Guerilla. You can also do this for returning to a previous bsp, e.g. "bsp 1,0" or "bsp 2,1" (2 being the third bsp).


Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Jan 15, 2009 04:14 PM    Msg. 10 of 14       
OH, so thats how you do it, I thought you needed a script to accompany the trigger volume so it will work, so basically, all I do is make a trigger volume, and name it bsp ?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 15, 2009 06:38 PM    Msg. 11 of 14       
To switch bsp, yes you would create a script such as

(script startup bsp
(sleep_until (volume_test_objects bsp (players)) 15)
(switch_bsp [bsp number])
)


About your problem, best I can understand is that you are spawning in your trigger volume, and it's switching immediately, and you spawn in the second BSP, which is not near your first BSP, so your spawn point doesn't correspond to anything.


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jan 15, 2009 07:23 PM    Msg. 12 of 14       
Quote: --- Original message by: Gamma927
To switch bsp, yes you would create a script such as

(script startup bsp
(sleep_until (volume_test_objects bsp (players)) 15)
(switch_bsp [bsp number])
)


About your problem, best I can understand is that you are spawning in your trigger volume, and it's switching immediately, and you spawn in the second BSP, which is not near your first BSP, so your spawn point doesn't correspond to anything.


Did you not understand my post? You don't NEED a script, you just name the trigger volume "bsp [current bsp #],[next bsp #]"


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jan 15, 2009 07:45 PM    Msg. 13 of 14       
Bleh. I misread his post. I thought he wanted the script, not confirmation on how to switch bsp.


Lone Warrior
Joined: Dec 14, 2008

-Himalayan Wizard and Mystical Guru of the Mts.-


Posted: Jan 16, 2009 02:20 PM    Msg. 14 of 14       
I'm just looking for the fastest and most effective way to switch bsp's. And thanks for your help everyone, much appreciated :D.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 8:48 AM 156 ms.
A Halo Maps Website