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 General Discussion »How do I script a night BSP change?

Author Topic: How do I script a night BSP change? (3 messages, Page 1 of 1)
Moderators: Dennis

Officer egg
Joined: Mar 16, 2008

Dancing is forbidden.


Posted: Jul 10, 2008 01:13 PM    Msg. 1 of 3       
Like, on extinction where you kill the biped and it turns to night.

How do I script that?


gruntfromhalo
Joined: Nov 21, 2007

actual loli


Posted: Jul 10, 2008 05:04 PM    Msg. 2 of 3       
First, you copy the BSP and add it to the scenario, so there is 2 BSPs. Make one of the BSPs have a night sky, the other day. Run lightmaps/radiosity for the other BSP so that it would be dark. Make a biped named switch. Then for scripting (I'm not that good at scripting so it might have an error...).
(script startup nightday
(sleep_until (= (unit_get_health switch) 0))
(switch_bsp 1)
)


Officer egg
Joined: Mar 16, 2008

Dancing is forbidden.


Posted: Jul 10, 2008 05:43 PM    Msg. 3 of 3       
Alright, thanks man.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 11:25 PM 110 ms.
A Halo Maps Website