View Single Post
Plugin Info:     Modification:          Category:         
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 12-21-2023 , 11:27   Half-Life 25th Anniversary Update: Monsters
Reply With Quote #1




Description:

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.

- Metamod-P 1.21p38: https://metamod-p.sourceforge.net/
- AMX Mod X 1.10: https://www.amxmodx.org/downloads-new.php?branch=master

Console command to manual spawn:

- _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 yetupdate it by yourself with this):

amxmodx\data\gamedata\common.games\functions_engine

SV_DropClient
"windows" "\x55\x8B\xEC\x81\xEC\x04\x06\x00\x00\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x56"
Cvar_DirectSet"windows" "\x55\x8B\xEC\x81\xEC\x04\x04\x00\x00\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x56\x8B\x75\x0C"

amxmodx\data\gamedata\common.games\globalvars_engine

g_pGameRules
"windows" "\x8B\x2A\x2A\x2A\x2A\x2A\x85\x2A\x74\x2A\x8B\x2A\xFF\x2A\x2A\xB8" // StartFrame() 
- links to full package (All-In-One) under Youtube description
Attached Files
File Type: zip apb_monster_1.4.zip (9.3 KB, 144 views)

Last edited by 1xAero; 12-27-2023 at 07:49.
1xAero is offline