mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-10 05:48:31 -05:00
Power Station: show power switch
This commit is contained in:
@ -47,6 +47,7 @@ main()
|
|||||||
treasure_chest_init();
|
treasure_chest_init();
|
||||||
init_wallbuys();
|
init_wallbuys();
|
||||||
init_barriers();
|
init_barriers();
|
||||||
|
show_powerswitch();
|
||||||
disable_zombie_spawn_locations();
|
disable_zombie_spawn_locations();
|
||||||
level thread maps/mp/zm_transit::falling_death_init();
|
level thread maps/mp/zm_transit::falling_death_init();
|
||||||
scripts/zm/locs/common::common_init();
|
scripts/zm/locs/common::common_init();
|
||||||
@ -84,6 +85,21 @@ init_barriers()
|
|||||||
scripts/zm/replaced/utility::barrier( "collision_player_wall_256x256x10", ( 10563, 8630, -344 ), ( 0, 270, 0 ) );
|
scripts/zm/replaced/utility::barrier( "collision_player_wall_256x256x10", ( 10563, 8630, -344 ), ( 0, 270, 0 ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show_powerswitch()
|
||||||
|
{
|
||||||
|
body = spawn( "script_model", ( 12237.4, 8512, -749.9 ) );
|
||||||
|
body.angles = ( 0, 0, 0 );
|
||||||
|
body setModel( "p6_zm_buildable_pswitch_body" );
|
||||||
|
|
||||||
|
lever = spawn( "script_model", ( 12237.4, 8503, -703.65 ) );
|
||||||
|
lever.angles = ( 0, 0, 0 );
|
||||||
|
lever setModel( "p6_zm_buildable_pswitch_lever" );
|
||||||
|
|
||||||
|
hand = spawn( "script_model", ( 12237.7, 8503.1, -684.55 ) );
|
||||||
|
hand.angles = ( 0, 270, 0 );
|
||||||
|
hand setModel( "p6_zm_buildable_pswitch_hand" );
|
||||||
|
}
|
||||||
|
|
||||||
disable_zombie_spawn_locations()
|
disable_zombie_spawn_locations()
|
||||||
{
|
{
|
||||||
level.zones["zone_trans_8"].is_spawning_allowed = 0;
|
level.zones["zone_trans_8"].is_spawning_allowed = 0;
|
||||||
|
Reference in New Issue
Block a user