
GameCreat0r
Joined: Apr 9, 2010
"Perhaps the ending has not yet been written..."
|
Posted: Jun 6, 2010 07:30 AM
Msg. 1 of 6
When I switch the bsp in my multiplayer level, can I also switch the senery? How to load and unload stuff? Can I specify to whitch bsp to switch? (I ques it's just switch_bsp 3 or something like that)
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 6, 2010 01:52 PM
Msg. 2 of 6
I'm assuming that BSP switching in MP does not inherently sync; thus, you'll require a biped kill script in order to sync it.
As for switching the scenery, just (object_create) and (object_destroy) the scenery objects you wish to change.
I have no clue what you mean by "loading and unloading".
Yes, you can choose which BSP to switch, but again, I have my doubts that it will sync to the clients.
|
|
|

doompig444
Joined: Mar 22, 2010
Mornië alantië
|
Posted: Jun 6, 2010 02:54 PM
Msg. 3 of 6
Quote: --- Original message by: Niels When I switch the bsp in my multiplayer level, can I also switch the senery? How to load and unload stuff? Can I specify to whitch bsp to switch? (I ques it's just switch_bsp 3 or something like that) 1) Yes, label all your scenery for that BSP accordingly, i.e. Bloodgulch BSP, name every scenery on Bloodgulch as "bg1" "bg2" etc. If next BSP is Danger Canyon, have "dg1" "dg2" on that BSP, then in the scripting, put "object_destroy_containing bg" "object_create_anew containing dg" to switch the scenery. 2) "vehicle_load_magic" "vehicle_unload_magic" 3) Yes, that should be obvious =/
|
|
|

GameCreat0r
Joined: Apr 9, 2010
"Perhaps the ending has not yet been written..."
|
Posted: Jun 6, 2010 08:00 PM
Msg. 4 of 6
why do I need a biped kill script to syncronizize?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 6, 2010 08:39 PM
Msg. 5 of 6
If you invoke the switch_bsp command, it does not sync with clients. A prime example of this, is the day and night script. If one player were to switch to night, the other players would remain in daytime, unless they explicitly switched to night.
|
|
|

GameCreat0r
Joined: Apr 9, 2010
"Perhaps the ending has not yet been written..."
|
Posted: Jun 7, 2010 02:30 AM
Msg. 6 of 6
So how to set up one that does syncronizize?
Edit: Lol my own post is the new post? WT#? Edited by Niels on Jun 7, 2010 at 02:33 AM
|
|
|