Simple fully functional standalone monster spawner script, automatically spawns and respawns monster_apache, also spawns small monsters at victims origin.
You can spawn any monster manually by console command - _monster. Don't forget to precache their resources.
Currently supported mods:
- Half-Life 25th Anniversary Update
Requirements:
Developed using required Metamod and AMX Mod X version.
- _monster - bind this command to spawn monsters manually
Installation:
- Compile apb_monster.sma and install like any other plugin.
- * version 1.0 (Dec 21 2023) Half-Life 25th Anniversary Update:
- First release
- * version 1.1 (Dec 24 2023) Half-Life 25th Anniversary Update:
- Fixed crash on monsters spawn and death. Added hassassin, zombie, agrunt, alien slave, alien controller, removed hgrunt for now.
- * version 1.2 (Dec 27 2023) Half-Life 25th Anniversary Update:
- Bugfixes and Quality of Life: Fixed game crashing when the monsters limit exceeded the specified amount and the monsters deletion script was launched.
- Monsters now will not disappear instantly after reaching limit. Added: bullsquid, hgrunt, headcrab, boss gargantua.
- Monster spawner more accurate - calculating free space nearby before dropping monster to the ground.
- * version 1.3 (Dec 27 2023) Half-Life 25th Anniversary Update:
- Fixed pev_flags -> pev_spawnflags for SF_MONSTER_FALL_TO_GROUND. Removed additional gargantua checks, drop to floor now checks for pev walkmove possibility before apply.
- * version 1.4 (Dec 27 2023) Half-Life 25th Anniversary Update:
- Fixed crashes on some maps like crossfire, where weapon_9mmAR is spawning by default. Added checks for hgrunt weapon_9mmAR.
PHP Code:
Signatures to update manually for Half-Life server (amxmodx is not updated yet, update it by yourself with this):
- * version 1.2 (Dec 27 2023) Half-Life 25th Anniversary Update: - Bugfixes and Quality of Life: Fixed game crashing when the monsters limit exceeded the specified amount and the monsters deletion script was launched. - Monsters now will not disappear instantly after reaching limit. Added: bullsquid, hgrunt, headcrab, boss gargantua. - Monster spawner more accurate - calculating free space nearby before dropping monster to the ground.
- * version 1.3 (Dec 27 2023) Half-Life 25th Anniversary Update: - Fixed pev_flags -> pev_spawnflags for SF_MONSTER_FALL_TO_GROUND. Removed additional gargantua checks, drop to floor now checks for pev walkmove possibility before apply.
- * version 1.4 (Dec 27 2023) Half-Life 25th Anniversary Update: - Fixed crashes on some maps like crossfire, where weapon_9mmAR is spawning by default. Added checks for hgrunt weapon_9mmAR.