Add support for Bus Depot to spawn mechz.

Add forever solo game for all maps. Fix emps affecting bosses. Fix electric trap and lava affecting bosses.
This commit is contained in:
JezuzLizard
2024-02-20 00:21:27 -08:00
parent cc5da3d56e
commit 97c880e8b7
11 changed files with 275 additions and 24 deletions

View File

@ -54682,4 +54682,68 @@
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_town zgrief_town"
}
{
"targetname" "zone_pri_spawners"
"script_noteworthy" "mechz_location"
"origin" "-6587 5366 -55"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_transit zgrief_transit"
}
{
"targetname" "zone_station_ext_spawners"
"script_noteworthy" "mechz_location"
"origin" "-5935 5280 -52"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_transit zgrief_transit"
}
{
"targetname" "zone_station_ext_spawners"
"script_noteworthy" "mechz_location"
"origin" "-6222 4594 -63"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_transit zgrief_transit"
}
{
"targetname" "zone_station_ext_spawners"
"script_noteworthy" "mechz_location"
"origin" "-7141 4763 -63"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_transit zgrief_transit"
}
{
"targetname" "zone_trans_2b_spawners"
"script_noteworthy" "mechz_location"
"origin" "-7868 4832 -57"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_transit zgrief_transit"
}
{
"targetname" "zone_far_ext_spawners"
"script_noteworthy" "mechz_location"
"origin" "7906 -5698 10"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_farm zgrief_farm"
}
{
"targetname" "zone_brn_spawners"
"script_noteworthy" "mechz_location"
"origin" "8177 -4678 264"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_farm zgrief_farm"
}
{
"targetname" "zone_brn_spawners"
"script_noteworthy" "mechz_location"
"origin" "8214 -5498 40"
"classname" "script_struct"
"angles" "0 0 0"
"script_string" "zclassic_transit zstandard_farm zgrief_farm"
}

View File

@ -394,6 +394,9 @@ brutus_spawn( starting_health, has_helmet, helmet_hits, explosive_dmg_taken, zon
}
self setphysparams( width, 0, 60 );
self.immune_to_slowgun = true;
self.ignore_inert = true;
self.ignore_lava_damage = true;
self.ignore_electric_trap = true;
self.zombie_init_done = 1;
self notify( "zombie_init_done" );
self.allowpain = 0;

View File

@ -407,7 +407,7 @@ dog_init()
self.gibbed = 0;
self.head_gibbed = 0;
self.default_goalheight = 40;
self.ignore_inert = 1;
self.ignore_inert = true;
self.grenadeawareness = 0;
self.badplaceawareness = 0;
self.ignoresuppression = 1;

View File

@ -622,6 +622,9 @@ prespawn()
self endon( "death" );
level endon( "intermission" );
self.immune_to_slowgun = true;
self.ignore_inert = true;
self.ignore_lava_damage = true;
self.ignore_electric_trap = true;
self maps\mp\zombies\_zm_ai_ghost_ffotd::prespawn_start();
self.startinglocation = self.origin;
self.animname = "ghost_zombie";

View File

@ -615,6 +615,9 @@ mechz_spawn()
level notify( "sam_clue_mechz", self );
self.closest_player_override = maps\mp\zombies\_zm_ai_mechz::get_favorite_enemy;
self.immune_to_slowgun = true;
self.ignore_inert = true;
self.ignore_lava_damage = true;
self.ignore_electric_trap = true;
self.animname = "mechz_zombie";
self.has_legs = 1;
self.no_gib = 1;