mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 23:27:57 -05:00
Change file locations
Rename _zm_reimagined_zgrief to zgrief_reimagined Removes need for mod.gsc Makes grief code only load on grief gamemode Fixes maps without grief not being able to load
This commit is contained in:
@ -4840,7 +4840,7 @@ town_move_quickrevive_machine()
|
||||
use_trigger thread maps/mp/zombies/_zm_perks::electric_perks_dialog();
|
||||
|
||||
powered_on = maps/mp/zombies/_zm_perks::get_perk_machine_start_state( use_trigger.script_noteworthy );
|
||||
maps/mp/zombies/_zm_power::add_powered_item( maps/mp/zombies/_zm_power::perk_power_on, scripts/zm/main/_zm_reimagined::perk_power_off, maps/mp/zombies/_zm_power::perk_range, maps/mp/zombies/_zm_power::cost_low_if_local, 0, powered_on, use_trigger );
|
||||
maps/mp/zombies/_zm_power::add_powered_item( maps/mp/zombies/_zm_power::perk_power_on, scripts/zm/_zm_reimagined::perk_power_off, maps/mp/zombies/_zm_power::perk_range, maps/mp/zombies/_zm_power::cost_low_if_local, 0, powered_on, use_trigger );
|
||||
}
|
||||
|
||||
town_move_staminup_machine()
|
@ -1,14 +0,0 @@
|
||||
#include scripts/zm/main/_zm_reimagined;
|
||||
#include scripts/zm/main/_zm_reimagined_zgrief;
|
||||
|
||||
main()
|
||||
{
|
||||
scripts/zm/main/_zm_reimagined::main();
|
||||
scripts/zm/main/_zm_reimagined_zgrief::main();
|
||||
}
|
||||
|
||||
init()
|
||||
{
|
||||
scripts/zm/main/_zm_reimagined::init();
|
||||
scripts/zm/main/_zm_reimagined_zgrief::init();
|
||||
}
|
@ -191,11 +191,11 @@ round_end(winner, force_win)
|
||||
{
|
||||
if(player.team == team)
|
||||
{
|
||||
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You won the round" );
|
||||
player thread scripts/zm/zgrief/zgrief_reimagined::show_grief_hud_msg( "You won the round" );
|
||||
}
|
||||
else
|
||||
{
|
||||
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You lost the round" );
|
||||
player thread scripts/zm/zgrief/zgrief_reimagined::show_grief_hud_msg( "You lost the round" );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -203,7 +203,7 @@ round_end(winner, force_win)
|
||||
{
|
||||
foreach(player in players)
|
||||
{
|
||||
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( &"ZOMBIE_GRIEF_RESET" );
|
||||
player thread scripts/zm/zgrief/zgrief_reimagined::show_grief_hud_msg( &"ZOMBIE_GRIEF_RESET" );
|
||||
}
|
||||
}
|
||||
|
||||
@ -239,7 +239,7 @@ zombie_goto_round(target_round)
|
||||
|
||||
level thread player_respawn_award();
|
||||
|
||||
level thread scripts/zm/main/_zm_reimagined_zgrief::round_start_wait(5);
|
||||
level thread scripts/zm/zgrief/zgrief_reimagined::round_start_wait(5);
|
||||
}
|
||||
|
||||
player_respawn_award()
|
||||
|
Reference in New Issue
Block a user