mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-08 06:12:17 -05:00
Made everything into a function
This commit is contained in:
parent
bc6a56ae44
commit
63ff9d47bb
@ -77,7 +77,7 @@
|
|||||||
### Tranzit
|
### Tranzit
|
||||||
* Pack-a-Punch door is automatically open whenever the power is on
|
* Pack-a-Punch door is automatically open whenever the power is on
|
||||||
|
|
||||||
### Town
|
#### Town
|
||||||
* Moved Stamin-Up to its location on Tranzit
|
* Moved Stamin-Up to its location on Tranzit
|
||||||
|
|
||||||
#### Farm
|
#### Farm
|
||||||
|
34
redacted.gsc
34
redacted.gsc
@ -69,7 +69,13 @@ post_all_players_spawned()
|
|||||||
|
|
||||||
zone_changes();
|
zone_changes();
|
||||||
|
|
||||||
|
electric_trap_always_kill();
|
||||||
|
|
||||||
jetgun_disable_explode_overheat();
|
jetgun_disable_explode_overheat();
|
||||||
|
//jetgun_increase_grind_range(); // not working
|
||||||
|
|
||||||
|
slipgun_always_kill();
|
||||||
|
slipgun_disable_reslip();
|
||||||
|
|
||||||
//disable_pers_upgrades(); // TODO
|
//disable_pers_upgrades(); // TODO
|
||||||
|
|
||||||
@ -93,14 +99,6 @@ post_all_players_spawned()
|
|||||||
|
|
||||||
level thread tomb_remove_shovels_from_map();
|
level thread tomb_remove_shovels_from_map();
|
||||||
|
|
||||||
// not working
|
|
||||||
//level.zombies_vars["jetgun_grind_range"] = 256;
|
|
||||||
|
|
||||||
level.etrap_damage = maps/mp/zombies/_zm::ai_zombie_health( 255 );
|
|
||||||
|
|
||||||
level.zombie_vars["slipgun_reslip_rate"] = 0;
|
|
||||||
level.slipgun_damage = maps/mp/zombies/_zm::ai_zombie_health( 255 );
|
|
||||||
|
|
||||||
//level.round_number = 115;
|
//level.round_number = 115;
|
||||||
//level.zombie_move_speed = 105;
|
//level.zombie_move_speed = 105;
|
||||||
//level.zombie_vars[ "zombie_spawn_delay" ] = 0.08;
|
//level.zombie_vars[ "zombie_spawn_delay" ] = 0.08;
|
||||||
@ -449,6 +447,16 @@ enemies_ignore_equipments()
|
|||||||
maps/mp/zombies/_zm_equipment::enemies_ignore_equipment("riotshield_zm");
|
maps/mp/zombies/_zm_equipment::enemies_ignore_equipment("riotshield_zm");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
electric_trap_always_kill()
|
||||||
|
{
|
||||||
|
level.etrap_damage = maps/mp/zombies/_zm::ai_zombie_health( 255 );
|
||||||
|
}
|
||||||
|
|
||||||
|
jetgun_increase_grind_range()
|
||||||
|
{
|
||||||
|
level.zombies_vars["jetgun_grind_range"] = 256;
|
||||||
|
}
|
||||||
|
|
||||||
jetgun_fast_cooldown()
|
jetgun_fast_cooldown()
|
||||||
{
|
{
|
||||||
self endon( "death_or_disconnect" );
|
self endon( "death_or_disconnect" );
|
||||||
@ -591,6 +599,16 @@ jetgun_remove_forced_weapon_switch()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slipgun_always_kill()
|
||||||
|
{
|
||||||
|
level.slipgun_damage = maps/mp/zombies/_zm::ai_zombie_health( 255 );
|
||||||
|
}
|
||||||
|
|
||||||
|
slipgun_disable_reslip()
|
||||||
|
{
|
||||||
|
level.zombie_vars["slipgun_reslip_rate"] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
on_equipment_placed()
|
on_equipment_placed()
|
||||||
{
|
{
|
||||||
self endon( "death" );
|
self endon( "death" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user