
Kustrin 117
Joined: Aug 6, 2009
\
|
Posted: Feb 21, 2010 02:30 AM
Msg. 1 of 10
How can I change the sky???
|
|
|

Dark Neon
Joined: Jun 8, 2009
|
Posted: Feb 21, 2010 08:10 AM
Msg. 2 of 10
Open up the .scenario of the map that you want to change the sky. RIGHT at the top redirect the sky to the .sky that you want.
|
|
|

Kustrin 117
Joined: Aug 6, 2009
\
|
Posted: Feb 22, 2010 03:48 AM
Msg. 3 of 10
No. I meant the command to change the sky, when I have multiple BSPs.
|
|
|

barrettrouton
Joined: Nov 15, 2008
|
Posted: Feb 22, 2010 08:35 PM
Msg. 4 of 10
Here is the basic command where secondbspname is the name of the bsp to switch to. (begin (switch_bsp secondbspname) )
If you want to make it online syncable here is the script based on the life of a biped where bipedname is the name of the biped whos death will trigger the change. (script continuous switching (if (= (unit_get_health bipedname) 0) (begin (switch_bsp secondbspname) ) ) ) (script continuous sync_part (if (= (unit_get_health bipedname) 0) (begin (object_create_anew bipedname) (sleep 30) ) )
|
|
|

Kustrin 117
Joined: Aug 6, 2009
\
|
Posted: Feb 23, 2010 04:01 AM
Msg. 5 of 10
I meant to change the sky after changing the bsp with not the biped.... Like in the SP map Demise.
|
|
|

PX173
Joined: Aug 22, 2009
It was worth it.
|
Posted: Feb 23, 2010 07:23 AM
Msg. 6 of 10
Actually you're both mistaken.
barret: I believe he wants to change the sky when you have multiple BSPs, not just change the BSP. I don't know if you can have multiple skies for each BSP, though, unless you can change both the sky and the BSP.
Krustin: It's for the syncing part in MP.
|
|
|

Megaguirus
Joined: Feb 26, 2009
Om nom nom
|
Posted: Feb 23, 2010 04:22 PM
Msg. 7 of 10
E: misread :V
There are 2 blocks for the sky, not sure how its applied to the bsp though Edited by Megaguirus on Feb 23, 2010 at 04:36 PM
|
|
|

Kustrin 117
Joined: Aug 6, 2009
\
|
Posted: Feb 24, 2010 08:59 AM
Msg. 8 of 10
Quote: --- Original message by: PX173 Actually you're both mistaken.
barret: I believe he wants to change the sky when you have multiple BSPs, not just change the BSP. I don't know if you can have multiple skies for each BSP, though, unless you can change both the sky and the BSP.
Krustin: It's for the syncing part in MP. I'm using for an SP map.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Feb 24, 2010 02:29 PM
Msg. 9 of 10
I ran into this problem before. There must be a way to define the skies for each BSP somewhere in the model or the compiling process but I don't know how. If that's the case, then it's definitely the better option.
However, I have a clumsy solution for the meantime. It's very tedious, but it works.
Open the BSP tag for which you want to change the sky with Kornman's Guerilla v2. You'll need it to edit this value, and either way it's good to have since you can edit practically all of the fields that were locked in the original Guerilla.
Go down to 'Clusters' and you should see a field labeled 'sky'. That's the sky index from the scenario that will be shown in that cluster. '-1' means no sky, '0' means first sky, '1' means second sky, etc. Most likely they're set to '0' and you want it set to '1'. If in doubt, look at the numbers next to the list of skies in your scenario and choose the right one.
Now, sky references are defined by each Cluster in the map, so you'll have to do this for every single Cluster in that list. That's the tedious part. In my case, I had to do it for around 160 clusters. To say the least, I was brain dead when I finished.
But, it did work, so it was worth it.
|
|
|

Kustrin 117
Joined: Aug 6, 2009
\
|
Posted: Mar 3, 2010 06:37 AM
Msg. 10 of 10
Thanks.
|
|
|