diff --git a/README.md b/README.md index 12992da..c4cb99a 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Current milestones are separated by "Tiers", which are as follows: - Add *-at least minimal-* death messages. *-Example: "\ was killed by a \".-* **[DONE]** - Implement HUD info about the monsters, along with the "displayname" keyvalue. **[DONE]** -- Implement custom monster classification, the "classify" keyvalue. +- Implement custom monster classification, the "classify" keyvalue. **[DONE]** ### Tier 3 diff --git a/cfg/example_monster.cfg b/cfg/example_monster.cfg index 3c086ea..d1bbcb7 100755 --- a/cfg/example_monster.cfg +++ b/cfg/example_monster.cfg @@ -5,10 +5,31 @@ // 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: +// +// "displayname" to change the monster's name, shown in HUD when you point at it. +// "classify" to change the monster's default classification, use one of these values: +// +// CLASS_NONE 0 +// CLASS_MACHINE 1 +// CLASS_PLAYER 2 +// CLASS_HUMAN_PASSIVE 3 +// CLASS_HUMAN_MILITARY 4 +// CLASS_ALIEN_MILITARY 5 +// CLASS_ALIEN_PASSIVE 6 +// CLASS_ALIEN_MONSTER 7 +// CLASS_ALIEN_PREY 8 +// CLASS_ALIEN_PREDATOR 9 +// CLASS_INSECT 10 +// CLASS_PLAYER_ALLY 11 +// CLASS_PLAYER_BIOWEAPON 12 +// CLASS_ALIEN_BIOWEAPON 13 { "origin" "90 -180 150" "delay" "30" +"displayname" "Example Custom Name" "orientation" "1" "spawnflags" "32" "classname" "monster_miniturret" @@ -16,6 +37,7 @@ { "origin" "123 456 789" "delay" "5" +"classify" "7" "angles" "0 45 0" "classname" "monster_houndeye" } diff --git a/cfg/monster_precache.cfg b/cfg/monster_precache.cfg index dfd0839..2fbe81e 100755 --- a/cfg/monster_precache.cfg +++ b/cfg/monster_precache.cfg @@ -12,12 +12,11 @@ //monster_bigmomma //monster_bullsquid //monster_gargantua -//monster_hassassin +//monster_human_assassin //monster_headcrab //monster_human_grunt //monster_houndeye //monster_alien_slave -//monster_icthyosaur //monster_alien_controller //monster_scientist //monster_snark diff --git a/src/dlls/monster_api.cpp b/src/dlls/monster_api.cpp index 9d4304c..1177bc0 100644 --- a/src/dlls/monster_api.cpp +++ b/src/dlls/monster_api.cpp @@ -56,8 +56,8 @@ static META_FUNCTIONS gMetaFunctionTable = plugin_info_t Plugin_info = { META_INTERFACE_VERSION, // interface version "MonsterMod", // name - "2-prerelease", // version - "01/06/2020", // date in DD/MM/YYYY format + "2.0", // version + "03/06/2020", // date in DD/MM/YYYY format "botman, Rick90, Giegue", // original authors + recreation by... "https://github.com/JulianR0/monstermod-redo", // url "MONSTER", // logtag