From df78e8dee630c28430eb352f10ac09265176ab1b Mon Sep 17 00:00:00 2001 From: Xylemon Date: Wed, 20 Sep 2023 22:32:54 -0700 Subject: [PATCH] NPC updates, added dead variants and some various fixes --- zpak001.pk3dir/def/monsters.def | 3 + zpak001.pk3dir/def/monsters/alien_grunt.def | 8 +-- zpak001.pk3dir/def/monsters/alien_slave.def | 8 +-- .../def/monsters/alien_slave_dead.def | 17 +++++ zpak001.pk3dir/def/monsters/barney_dead.def | 18 +++-- zpak001.pk3dir/def/monsters/bullchicken.def | 12 ++-- zpak001.pk3dir/def/monsters/gman.def | 10 +-- zpak001.pk3dir/def/monsters/hevsuit_dead.def | 32 +++++++++ zpak001.pk3dir/def/monsters/hgrunt_dead.def | 43 ++++++++++++ zpak001.pk3dir/def/monsters/houndeye_dead.def | 17 +++++ zpak001.pk3dir/def/monsters/human_grunt.def | 8 +-- .../def/monsters/scientist_dead.def | 65 +++++++++++++++++++ .../def/monsters/sitting_scientist.def | 14 ++-- zpak001.pk3dir/def/monsters/skeleton_dead.def | 29 +++++++++ zpak001.pk3dir/def/monsters/zombie.def | 4 +- 15 files changed, 251 insertions(+), 37 deletions(-) create mode 100644 zpak001.pk3dir/def/monsters/alien_slave_dead.def create mode 100644 zpak001.pk3dir/def/monsters/houndeye_dead.def create mode 100644 zpak001.pk3dir/def/monsters/skeleton_dead.def diff --git a/zpak001.pk3dir/def/monsters.def b/zpak001.pk3dir/def/monsters.def index 2ddb1fb..7fdcf4d 100644 --- a/zpak001.pk3dir/def/monsters.def +++ b/zpak001.pk3dir/def/monsters.def @@ -1,6 +1,7 @@ include "monsters/alien_controller.def" include "monsters/alien_grunt.def" include "monsters/alien_slave.def" +include "monsters/alien_slave_dead.def" include "monsters/apache.def" include "monsters/babycrab.def" include "monsters/barnacle.def" @@ -17,6 +18,7 @@ include "monsters/headcrab.def" include "monsters/hevsuit_dead.def" include "monsters/hgrunt_dead.def" include "monsters/houndeye.def" +include "monsters/houndeye_dead.def" include "monsters/human_assassin.def" include "monsters/human_grunt.def" include "monsters/ichthyosaur.def" @@ -29,6 +31,7 @@ include "monsters/scientist.def" include "monsters/scientist_dead.def" include "monsters/sentry.def" include "monsters/sitting_scientist.def" +include "monsters/skeleton_dead.def" include "monsters/tentacle.def" include "monsters/turret.def" include "monsters/zombie.def" diff --git a/zpak001.pk3dir/def/monsters/alien_grunt.def b/zpak001.pk3dir/def/monsters/alien_grunt.def index 50dd56b..d349825 100644 --- a/zpak001.pk3dir/def/monsters/alien_grunt.def +++ b/zpak001.pk3dir/def/monsters/alien_grunt.def @@ -2,8 +2,8 @@ entityDef monster_alien_grunt { "spawnclass" "NSMonster" "model" "models/agrunt.mdl" - "netname" "Zombie" - "health" "skill:zombie_health" + "netname" "Alien Grunt" + "health" "skill:alien_grunt_health" "mins" "-16 -16 0" "maxs" "16 16 72" "eye_height" "64" @@ -56,13 +56,13 @@ entityDef melee_agrunt_punch entityDef ranged_agrunt_shot { "spawnclass" "NSProjectile" - "model" "models/hornet.mdl" + "model" "models/hornet.mdl" "def_damage" "damage_hornetDirect" "health" "0" "velocity" "300" - "fuse" "10" + "fuse" "10" "detonate_on_fuse" "0" "detonate_on_death" "0" "detonate_on_world" "0" diff --git a/zpak001.pk3dir/def/monsters/alien_slave.def b/zpak001.pk3dir/def/monsters/alien_slave.def index 39db8d2..38f61ee 100644 --- a/zpak001.pk3dir/def/monsters/alien_slave.def +++ b/zpak001.pk3dir/def/monsters/alien_slave.def @@ -1,13 +1,13 @@ entityDef monster_alien_slave { "spawnclass" "NSMonster" - "model" "models/islave.mdl" + "model" "models/islave.mdl" "netname" "Vortigaunt" "health" "skill:islave_health" - "mins" "-16 -16 0" - "maxs" "16 16 72" + "mins" "-16 -16 0" + "maxs" "16 16 72" "eye_height" "64" - "team" "2" + "team" "2" "propdata" "actor_alien" "speed_walk" "72" "speed_run" "72" diff --git a/zpak001.pk3dir/def/monsters/alien_slave_dead.def b/zpak001.pk3dir/def/monsters/alien_slave_dead.def new file mode 100644 index 0000000..c095d86 --- /dev/null +++ b/zpak001.pk3dir/def/monsters/alien_slave_dead.def @@ -0,0 +1,17 @@ +entityDef monster_alien_slave_dead +{ + "spawnclass" "NSMonster" + "model" "models/islave.mdl" + "netname" "Dead Vortigaunt" + "health" "skill:islave_health" + "mins" "-16 -16 0" + "maxs" "16 16 72" + "eye_height" "32" + "team" "2" + "propdata" "actor_alien" + "speed_walk" "32" + "speed_run" "72" + + "dead" "1" + "frame" "0" +} \ No newline at end of file diff --git a/zpak001.pk3dir/def/monsters/barney_dead.def b/zpak001.pk3dir/def/monsters/barney_dead.def index aa77027..3577063 100644 --- a/zpak001.pk3dir/def/monsters/barney_dead.def +++ b/zpak001.pk3dir/def/monsters/barney_dead.def @@ -1,23 +1,27 @@ entityDef monster_barney_dead { "spawnclass" "NSTalkMonster" - "model" "models/barney.mdl" + "model" "models/barney.mdl" "netname" "Barney" - "health" "50" - "mins" "-16 -16 0" - "maxs" "16 16 72" + "health" "skill:barney_heath" + "mins" "-16 -16 0" + "maxs" "16 16 72" "eye_height" "64" - "team" "0" + "team" "0" "propdata" "actor_human" "weapon_drawn" "0" "body_on_draw" "1:2" - "dead" "1" - "frame" "35" + "dead" "1" + "frame" "35" + + // Side when "pose" equals "1" { "frame" "36" } + + // Stomach when "pose" equals "2" { "frame" "37" } diff --git a/zpak001.pk3dir/def/monsters/bullchicken.def b/zpak001.pk3dir/def/monsters/bullchicken.def index 4ebc4d5..05b3839 100644 --- a/zpak001.pk3dir/def/monsters/bullchicken.def +++ b/zpak001.pk3dir/def/monsters/bullchicken.def @@ -1,13 +1,13 @@ entityDef monster_bullchicken { "spawnclass" "NSMonster" - "model" "models/bullsquid.mdl" + "model" "models/bullsquid.mdl" "netname" "Bullsquid" "health" "skill:bullsquid_health" - "mins" "-16 -16 0" - "maxs" "16 16 72" + "mins" "-16 -16 0" + "maxs" "16 16 72" "eye_height" "32" - "team" "2" + "team" "2" "propdata" "actor_alien" "speed_walk" "32" "speed_run" "72" @@ -54,13 +54,13 @@ entityDef melee_bullchicken_tailwhip entityDef ranged_bullchicken_spit { "spawnclass" "NSProjectile" - "model" "sprites/bigspit.spr" + "model" "sprites/bigspit.spr" "def_damage" "damage_spitDirect" "health" "0" "velocity" "900" - "fuse" "10" + "fuse" "10" "detonate_on_fuse" "0" "detonate_on_death" "0" "detonate_on_world" "1" diff --git a/zpak001.pk3dir/def/monsters/gman.def b/zpak001.pk3dir/def/monsters/gman.def index 0dd663e..bef49c8 100644 --- a/zpak001.pk3dir/def/monsters/gman.def +++ b/zpak001.pk3dir/def/monsters/gman.def @@ -1,13 +1,13 @@ entityDef monster_gman { "spawnclass" "NSTalkMonster" - "model" "models/gman.mdl" + "model" "models/gman.mdl" "netname" "G-Man" - "health" "0" - "mins" "-16 -16 0" - "maxs" "16 16 72" + "health" "0" // he can't die, he's the G-Man! + "mins" "-16 -16 0" + "maxs" "16 16 72" "eye_height" "64" - "team" "0" + "team" "0" "propdata" "actor_human" "speed_walk" "77" diff --git a/zpak001.pk3dir/def/monsters/hevsuit_dead.def b/zpak001.pk3dir/def/monsters/hevsuit_dead.def index e69de29..2ad02c9 100644 --- a/zpak001.pk3dir/def/monsters/hevsuit_dead.def +++ b/zpak001.pk3dir/def/monsters/hevsuit_dead.def @@ -0,0 +1,32 @@ +entityDef monster_hevsuit_dead +{ + "spawnclass" "NSMonster" + "model" "models/player.mdl" + "body1" "1" + "netname" "Dead H.E.V. Scientist" + "health" "50" + "mins" "-16 -16 0" + "maxs" "16 16 72" + "eye_height" "64" + "team" "0" + "propdata" "actor_human" + + "dead" "1" + "frame" "73" + "body1" "1" + + // Seated + when "pose" equals "1" { + "frame" "74" + } + + // Stomach + when "pose" equals "2" { + "frame" "75" + } + + // On Table + when "pose" equals "3" { + "frame" "76" + } +} \ No newline at end of file diff --git a/zpak001.pk3dir/def/monsters/hgrunt_dead.def b/zpak001.pk3dir/def/monsters/hgrunt_dead.def index e69de29..37ba4eb 100644 --- a/zpak001.pk3dir/def/monsters/hgrunt_dead.def +++ b/zpak001.pk3dir/def/monsters/hgrunt_dead.def @@ -0,0 +1,43 @@ +entityDef monster_hgrunt_dead +{ + "spawnclass" "NSMonster" + "model" "models/hgrunt.mdl" + "netname" "Dead Human Grunt" + "health" "skill:hgrunt_health" + "mins" "-16 -16 0" + "maxs" "16 16 72" + "eye_height" "64" + "team" "0" + "propdata" "actor_human" + + "dead" "1" + "frame" "44" + + // Side + when "pose" equals "1" { + "frame" "45" + } + + // Seated + when "pose" equals "1" { + "frame" "46" + } + + when "body" equals "1" { + "body1" "1" + } + + when "body" equals "2" { + "body1" "2" + } + + when "body" equals "3" { + "skin" "1" + "body1" "3" + } + + when "body" equals "4" { + "body1" "4" + } + +} \ No newline at end of file diff --git a/zpak001.pk3dir/def/monsters/houndeye_dead.def b/zpak001.pk3dir/def/monsters/houndeye_dead.def new file mode 100644 index 0000000..5de79f4 --- /dev/null +++ b/zpak001.pk3dir/def/monsters/houndeye_dead.def @@ -0,0 +1,17 @@ +entityDef monster_houndeye_dead +{ + "spawnclass" "NSMonster" + "model" "models/houndeye.mdl" + "netname" "Dead Houndeye" + "health" "skill:houndeye_health" + "mins" "-16 -16 0" + "maxs" "16 16 72" + "eye_height" "32" + "team" "2" + "propdata" "actor_alien" + "speed_walk" "32" + "speed_run" "72" + + "dead" "1" + "frame" "0" +} \ No newline at end of file diff --git a/zpak001.pk3dir/def/monsters/human_grunt.def b/zpak001.pk3dir/def/monsters/human_grunt.def index a8c5b1e..b433af7 100644 --- a/zpak001.pk3dir/def/monsters/human_grunt.def +++ b/zpak001.pk3dir/def/monsters/human_grunt.def @@ -1,13 +1,13 @@ entityDef monster_human_grunt { "spawnclass" "NSSquadMonster" - "model" "models/hgrunt.mdl" + "model" "models/hgrunt.mdl" "netname" "Grunt" "health" "skill:hgrunt_health" - "mins" "-16 -16 0" - "maxs" "16 16 72" + "mins" "-16 -16 0" + "maxs" "16 16 72" "eye_height" "64" - "team" "1" + "team" "1" "propdata" "actor_human" "speed_walk" "41" "speed_run" "304" diff --git a/zpak001.pk3dir/def/monsters/scientist_dead.def b/zpak001.pk3dir/def/monsters/scientist_dead.def index e69de29..3d57526 100644 --- a/zpak001.pk3dir/def/monsters/scientist_dead.def +++ b/zpak001.pk3dir/def/monsters/scientist_dead.def @@ -0,0 +1,65 @@ +entityDef monster_scientist_dead +{ + "spawnclass" "NSMonster" + "model" "models/scientist.mdl" + "netname" "Dead Scientist" + "health" "skill:scientist_health" + "mins" "-16 -16 0" + "maxs" "16 16 72" + "team" "0" + "propdata" "actor_human" + + "dead" "1" + "frame" "38" + + // Stomach + when "pose" equals "1" { + "frame" "39" + } + + // Sitting + when "pose" equals "2" { + "frame" "40" + } + + // Hanging + when "pose" equals "3" { + "frame" "41" + } + + // Table1 + when "pose" equals "4" { + "frame" "42" + } + + // Table2 + when "pose" equals "5" { + "frame" "43" + } + + // Table3 + when "pose" equals "6" { + "frame" "44" + } + + when "body" equals "1" { + "netname" "Dead Walter" + "body1" "1" + } + + when "body" equals "2" { + "netname" "Dead Einstein" + "body1" "2" + } + + when "body" equals "3" { + "netname" "Dead Luther" + "skin" "1" + "body1" "3" + } + + when "body" equals "4" { + "netname" "Dead Slick" + "body1" "4" + } +} \ No newline at end of file diff --git a/zpak001.pk3dir/def/monsters/sitting_scientist.def b/zpak001.pk3dir/def/monsters/sitting_scientist.def index 58a1607..8a4f4f7 100644 --- a/zpak001.pk3dir/def/monsters/sitting_scientist.def +++ b/zpak001.pk3dir/def/monsters/sitting_scientist.def @@ -1,15 +1,17 @@ entityDef monster_sitting_scientist { "spawnclass" "NSTalkMonster" - "model" "models/scientist.mdl" - "netname" "Scientist" - "health" "50" - "mins" "-16 -16 0" - "maxs" "16 16 72" + "model" "models/scientist.mdl" + "netname" "Seated Scientist" + "health" "skill:scientist_health" + "mins" "-16 -16 0" + "maxs" "16 16 72" "eye_height" "64" - "team" "0" + "team" "0" "propdata" "actor_human" + "frame" "75" + when "body" equals "1" { "pitch" "105" "netname" "Walter" diff --git a/zpak001.pk3dir/def/monsters/skeleton_dead.def b/zpak001.pk3dir/def/monsters/skeleton_dead.def new file mode 100644 index 0000000..5b86235 --- /dev/null +++ b/zpak001.pk3dir/def/monsters/skeleton_dead.def @@ -0,0 +1,29 @@ +entityDef monster_skeleton_dead +{ + "spawnclass" "NSMonster" + "model" "models/skeleton.mdl" + "netname" "Skeleton" + "health" "50" + "mins" "-16 -16 0" + "maxs" "16 16 72" + "team" "0" + "propdata" "actor_human" + + "dead" "1" + "frame" "0" + + // Seated + when "pose" equals "1" { + "frame" "1" + } + + // Against Wall + when "pose" equals "2" { + "frame" "2" + } + + // Stomach + when "pose" equals "3" { + "frame" "3" + } +} \ No newline at end of file diff --git a/zpak001.pk3dir/def/monsters/zombie.def b/zpak001.pk3dir/def/monsters/zombie.def index b90fb18..1768720 100644 --- a/zpak001.pk3dir/def/monsters/zombie.def +++ b/zpak001.pk3dir/def/monsters/zombie.def @@ -15,9 +15,11 @@ entityDef monster_zombie "def_attack_melee" "melee_zombie_stab" "melee_range" "96" + + "snd_sight" "monster_zombie.alert" "snd_idle" "monster_zombie.idle" "snd_pain" "monster_zombie.pain" - "snd_death" "monster_zombie.pain" + "snd_death" "" "snd_melee_attack" "monster_zombie.attack" "snd_melee_attack_hit" "monster_zombie.attackhit" "snd_melee_attack_miss" "monster_zombie.attackmiss"