From 035e70e776cd2b82f1831cd5f22e6c71d1360929 Mon Sep 17 00:00:00 2001 From: Giegue Date: Fri, 24 Feb 2023 15:29:07 -0300 Subject: [PATCH] Update config files. --- README.md | 20 +++++++++++--------- cfg/example_monster.cfg | 5 ++--- cfg/monster_precache.cfg | 7 +++++-- cfg/monster_skill.cfg | 12 ++++++++++++ 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 962d563..7994667 100644 --- a/README.md +++ b/README.md @@ -35,17 +35,19 @@ Under no circumstances shall we allow this project to fade away and become lost ## Installation -*NOTE: Outdated. Ideally, users should be able to use the plugin "out-of-the-box" without the need to do the complicated mess explained below.* +The plugin -should- be able to be used out-of-the-box by simply downloading the binary and adding the appropiate entry in metamod's plugin list. -*TODO: Add build instructions, just using 'make' on G++ 4.8 is really vague.* +**Windows:** +`win32 addons\monstermod\monster_mm.dll` -If you are trying to use the compiled binary, you must know that it has been compiled with a mayor GCC version and it will be highly unlikely that it will run on a vanilla HLDS server. If the plugin fails to load due to libstdc++ not having CXXABI_1.X.X or similar, read on. HLDS uses it's own libstdc++ library. Any plugins compiled with GCC versions 5.x and greater will not work with the outdated library. +**Linux:** +`linux addons/monstermod/monster_mm_i386.so` -To remedy this issue you have two options: +Additional configuration files are included in the release files, each explaining it's usage and installation instructions. -You can recompile the source code under g++ 4.8 and use the newly generated binary. Make sure to edit the Makefile so it points to that version of g++. Compilation is done by simply running `make` on the `src/dlls` folder. +## Build Instructions -Alternatively, you can "remove" the outdated library to force HLDS to use the libstdc++ provided by the linux distro, which is generally more up to date. You might need to install GCC/G++ on the operating system if it doesn't work. +*TODO: Add build instructions.* ## MonsterMod and ReHLDS @@ -55,7 +57,7 @@ Keeping track of the number of precached content will allow you to maximize the ## Using MonsterMod on Counter-Strike -Counter-Strike precaches non trivial sounds of all weapons. This means that sounds such as "clip-ins", "clip-outs" are added to the list, taking quite a bit of space in the precache count. Let it be a reminder that our good old Half-Life can only store a maximum of 512 precached resources. Since these sounds are handled client-side by the models themselves, theres is no need to be kept precached on the server. Only the weapons fire sounds are needed. +Counter-Strike precaches the sounds of all weapons. This means that sounds such as "clip-ins", "clip-outs" are added to the list, taking quite a bit of space in the precache count. Let it be a reminder that our good old Half-Life can only store a maximum of 512 precached resources. Most of these sounds are handled client-side by the models themselves, there is no need for all of them to be kept precached on the server. Only the weapons fire sounds are needed. MonsterMod does not have an integrated "Unprecacher" to remove those sounds, but you can remove them manually with AMX Mod X, using Fakemeta. Register forward **FM_PrecacheSound** and return **FMRES_SUPERCEDE** on the following sounds: @@ -193,8 +195,8 @@ Current milestones are separated by "Tiers", which are as follows: - Update source code so it can compile AND run **ON WINDOWS**. **[DONE]** - Implement *-almost-* all Opposing Force monsters. **[DONE]** - Implement *-almost-* all default Sven Co-op monsters. **[DONE]** -- Make MonsterMod aware of normal game entities. *-For those who want to use the plugin in vanilla HL.-* **[DONE]** -- Custom model support. +- Make MonsterMod aware of normal game entities. *-For those wanting to use this in vanilla HL.-* **[DONE]** +- Custom model support. **[DONE]** ### Tier 4 diff --git a/cfg/example_monster.cfg b/cfg/example_monster.cfg index a36586d..e403115 100755 --- a/cfg/example_monster.cfg +++ b/cfg/example_monster.cfg @@ -3,12 +3,11 @@ // Send this new file to your maps folder. // // To add entries to this file, just pretend it's ripent. -// -// "delay" means monster respawndelay. // -// You may also be interesed in these other 2 keyvalues: +// You may also be interesed in these other keyvalues: // // "displayname" to change the monster's name, shown in HUD when you point at it. +// "model" to change the monster's default model. If using monstermaker, use "new_model". // "classify" to change the monster's default classification, use one of these values: // // CLASS_NONE -1 diff --git a/cfg/monster_precache.cfg b/cfg/monster_precache.cfg index e8b529a..3c098a6 100755 --- a/cfg/monster_precache.cfg +++ b/cfg/monster_precache.cfg @@ -32,6 +32,9 @@ //monster_otis //monster_pitdrone //monster_shocktrooper -//monster_voltigore -//monster_baby_voltigore +//monster_alien_voltigore +//monster_alien_babyvoltigore //monster_babygarg +//monster_hwgrunt +//monster_robogrunt +//monster_stukabat diff --git a/cfg/monster_skill.cfg b/cfg/monster_skill.cfg index d6a24d0..88ebb8b 100755 --- a/cfg/monster_skill.cfg +++ b/cfg/monster_skill.cfg @@ -139,6 +139,18 @@ sk_babygarg_dmg_slash 24 sk_babygarg_dmg_fire 4 sk_babygarg_dmg_stomp 80 +// Heavy Weapons Grunt +sk_hwgrunt_health 100 + +// Robo Grunt +sk_rgrunt_health 50 +sk_rgrunt_armor 0.75 + +// Stukabat +sk_stukabat_health 80 +sk_stukabat_dmg_bite 11 +sk_stukabat_speed 400 + // MONSTER WEAPON DAMAGE sk_9mm_bullet 5