mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 23:27:57 -05:00
Power Station: add buildable tarps
This commit is contained in:
@ -48,6 +48,7 @@ main()
|
|||||||
init_wallbuys();
|
init_wallbuys();
|
||||||
init_barriers();
|
init_barriers();
|
||||||
show_powerswitch();
|
show_powerswitch();
|
||||||
|
generatebuildabletarps();
|
||||||
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/loc_common::init();
|
scripts/zm/locs/loc_common::init();
|
||||||
@ -100,6 +101,19 @@ show_powerswitch()
|
|||||||
hand setModel( "p6_zm_buildable_pswitch_hand" );
|
hand setModel( "p6_zm_buildable_pswitch_hand" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
generatebuildabletarps()
|
||||||
|
{
|
||||||
|
// power switch
|
||||||
|
tarp = spawn( "script_model", ( 12169, 8498, -752 ) );
|
||||||
|
tarp.angles = ( 0, 180, 0 );
|
||||||
|
tarp setModel( "p6_zm_buildable_bench_tarp" );
|
||||||
|
|
||||||
|
// trap
|
||||||
|
tarp = spawn( "script_model", ( 11325, 8170, -488 ) );
|
||||||
|
tarp.angles = ( 0, 0, 0 );
|
||||||
|
tarp setModel( "p6_zm_buildable_bench_tarp" );
|
||||||
|
}
|
||||||
|
|
||||||
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