Skip to content

Commit

Permalink
Dark Days of the Dead: Headshots, deadly bites, and a cleanup of out-…
Browse files Browse the repository at this point in the history
…of-setting stuff. (#56964)

* Create zombie_heads.json

* Weakpoints to ensure zombies can only get hurt by headshots

* Update modinfo.json

* deadly bites

* Update modinfo.json

* Update effect.json

* fine tune some weakpoint settings

* lint

* hitting the zombie's chest can stagger it too, particularly in melee

* block portal storms and limit scenarios

* playtest fixes

* Adjustments from play testing

Went back to zombies being vulnerable but tough, with headshots the *main* way to kill them.

* adjust what is considered a classic zombie

* allow bleed_rate updates

* Update weakpoints.json

* Update weakpoints.json

* Update weakpoints.json

* mangled legs back in

* lint

* Coup de grace attacks on downed zombies

* Update weakpoints.json

Reduce the 'gaps in armour' thing and make arm and leg hits less harmful to the zombie except the status effect part.

* Update weakpoints.json

You can stagger and down a zombie without doing any damage

* Update effect.json

* fix messages not applying

* forgot a tag
  • Loading branch information
I-am-Erk authored Apr 23, 2022
1 parent 533d07a commit ec173c3
Show file tree
Hide file tree
Showing 9 changed files with 693 additions and 20 deletions.
15 changes: 0 additions & 15 deletions data/json/monsters/zed-animal.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"description": "The deformed, animated corpse of a canine; a sinewy beast which can easily outpace its two-legged friends.",
"default_faction": "zombie",
"bodytype": "dog",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "30000 ml",
"weight": "40750 g",
Expand Down Expand Up @@ -78,7 +77,6 @@
"description": "A zombified version of one of the German Shepherd dogs used in law enforcement. Its deformed body is encased in a protective Kevlar harness.",
"default_faction": "zombie",
"bodytype": "dog",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "30000 ml",
"weight": "40750 g",
Expand Down Expand Up @@ -113,7 +111,6 @@
"description": "An acrid smell accompanies this animated canine corpse. Its whole body is covered in chains of pulsing cysts and slime-dribbling ulcers.",
"default_faction": "zombie",
"bodytype": "dog",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "30000 ml",
"weight": "40750 g",
Expand Down Expand Up @@ -145,7 +142,6 @@
"description": "A zombified wolf. Its mouth oozes with a black substance, coating its vicious-looking white fangs.",
"default_faction": "zombie",
"bodytype": "dog",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "30000 ml",
"weight": "40750 g",
Expand Down Expand Up @@ -177,7 +173,6 @@
"description": "This black bear's eyes ooze with dark, oily fluid, and its flesh is torn and scarred. It shuffles as it walks.",
"default_faction": "zombie",
"bodytype": "bear",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "92500 ml",
"weight": "120 kg",
Expand Down Expand Up @@ -212,7 +207,6 @@
"description": "A zombified omnivore descended from the wild boar. Now it's got black goo all over it, instead of mud.",
"default_faction": "zombie",
"bodytype": "pig",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "62500 ml",
"weight": "81500 g",
Expand Down Expand Up @@ -246,7 +240,6 @@
"description": "This wall-eyed beast has a large wound on its side, its gore-stained ribs clearly visible. Its most prominent features are the fearsome incisors dribbling thick, black goo from inside its mouth. It doesn't look interested in chewing on trees anymore.",
"default_faction": "zombie_aquatic",
"bodytype": "dog",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "20250 ml",
"weight": "20 kg",
Expand Down Expand Up @@ -277,7 +270,6 @@
"description": "This formerly-majestic moose has succumbed to the infection that is killing the world. Shiny green blowflies swarm the vast, suppurated patches of purulent flesh where its skin has sloughed away, and its remaining fur is black and matted with necrotic discharge.",
"default_faction": "zombie",
"bodytype": "horse",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "92500 ml",
"weight": "120 kg",
Expand Down Expand Up @@ -311,7 +303,6 @@
"description": "A normal-looking cougar, except that its hind legs are swollen, and its eyes bulge with black goo.",
"default_faction": "zombie",
"bodytype": "dog",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "62500 ml",
"weight": "81500 g",
Expand Down Expand Up @@ -358,7 +349,6 @@
"description": "From the deteriorated state of this undead horse's ghastly features--protruding ribs, off-white skull, and decayed, tattered muscles--it doesn't seem like it should put up much of a fight, but something deep inside gives it power. Black, reeking ichor drips from its wounds.",
"default_faction": "zombie",
"bodytype": "horse",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "85200 ml",
"weight": "125 kg",
Expand Down Expand Up @@ -406,7 +396,6 @@
"looks_like": "mon_cow",
"default_faction": "zombie",
"bodytype": "horse",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "680 L",
"weight": "680 kg",
Expand Down Expand Up @@ -438,7 +427,6 @@
"description": "This enormous, terrifyingly fast creature with oily black eyes and dreadful horns was once a domestic bull. While live bulls can be temperamental, unbridled rage is now this one's only emotion.",
"default_faction": "zombie",
"bodytype": "horse",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "750 L",
"weight": "750 kg",
Expand Down Expand Up @@ -486,7 +474,6 @@
"description": "A pale, stumbling, white-tailed deer, rivulets of slime running down its neck. Its limbs twist and bend in unnatural, haphazard directions, and yet it moves with uncanny strength and speed. Thanks to the Cataclysm, it has now turned the tables; what was once prey, now itself preys on coyotes, wolves, and giant spider mutants.",
"default_faction": "zombie",
"bodytype": "horse",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "87 L",
"weight": "87 kg",
Expand Down Expand Up @@ -516,7 +503,6 @@
"description": "Thousands, maybe millions of spiders piled up high, each slowly oozing sticky green pus, struggling to keep the fetid mass together and moving.",
"default_faction": "zombie",
"bodytype": "blob",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE", "SPIDER" ],
"volume": "18 L",
"weight": "23 kg",
Expand Down Expand Up @@ -564,7 +550,6 @@
"description": "Once a majestic caribou, this undead creature barely resembles Santa's helpful reindeer and seems to only be interested in human flesh.",
"default_faction": "zombie",
"bodytype": "horse",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE" ],
"volume": "79 L",
"weight": "85 kg",
Expand Down
1 change: 0 additions & 1 deletion data/json/monsters/zed-classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@
"description": "A once-dead human corpse. Its discolored, swollen flesh is riddled with festering wounds and open sores.",
"default_faction": "zombie",
"bodytype": "human",
"categories": [ "CLASSIC" ],
"species": [ "ZOMBIE", "HUMAN" ],
"volume": "62500 ml",
"weight": "81500 g",
Expand Down
68 changes: 68 additions & 0 deletions data/mods/classic_zombies/contagion/effect.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[
{
"//": "bitten by a zombie",
"type": "effect_type",
"id": "zombie_virus",
"name": [ "Zombie bite", "Zombie contagion", "Zombie contagion" ],
"desc": [
"You've got a painful bite from a zombie. You know how this ends.",
"The area around your zombie bite is festering and red, and you're feeling hot and cold at once.",
"Everything's so dark. You can feel it, you don't have much time left."
],
"apply_message": "You've been bitten. It's bad.",
"death_msg": "You succumb to your zombie bite.",
"apply_memorial_log": "Died of the zombie plague.",
"chance_kill": [ [ -1, 1 ], [ -1, 1 ], [ 1, 100000 ] ],
"death_event": "dies_of_infection",
"max_intensity": 3,
"int_add_val": 1,
"int_decay_step": 1,
"int_decay_tick": 86400,
"rating": "bad",
"show_intensity": false,
"base_mods": { "pain_chance": [ -10, -10 ], "pain_chance_bot": [ 1000, 10000 ], "pain_min": [ 1, 0 ], "pain_max": [ 5, 1 ] },
"scaling_mods": {
"pain_chance": [ 5.5, 3.5 ],
"pain_chance_bot": [ 1, 5 ],
"int_mod": [ 0, -1 ],
"per_mod": [ 0, -1 ],
"dex_mod": [ -1, -2 ],
"str_mod": [ -1, -2 ],
"speed_mod": [ -5, -25 ]
}
},
{
"//": "Scratched by a zombie. This effect is not currently functional.",
"type": "effect_type",
"id": "zombie_virus_scratch",
"name": [ "", "Zombie wound", "Zombie wound", "Zombie contagion", "Zombie contagion" ],
"desc": [
"",
"The area around your zombie scratch is looking a little red.",
"Redness is creeping up from your wound. You feel weak, and look pale.",
"Why is it so cold in here? And so hot, at the same time?",
"Everything's so dark. You can feel it, you don't have much time left."
],
"apply_message": "You've been cut by a zombie. Did it get infected?",
"death_msg": "You succumb to your zombie contagion.",
"apply_memorial_log": "Died of the zombie plague.",
"chance_kill": [ [ -1, 1 ], [ -1, 1 ], [ -1, 1 ], [ 1, 864000 ], [ 1, 100000 ] ],
"death_event": "dies_of_infection",
"max_intensity": 5,
"int_add_val": 1,
"int_decay_step": 1,
"int_decay_tick": 86400,
"rating": "bad",
"show_intensity": false,
"base_mods": { "pain_chance": [ -5, -5 ], "pain_chance_bot": [ 500, 5000 ], "pain_min": [ 1, 0 ], "pain_max": [ 5, 1 ] },
"scaling_mods": {
"pain_chance": [ 3.5, 2.5 ],
"pain_chance_bot": [ 1, 5 ],
"int_mod": [ 0, -1 ],
"per_mod": [ 0, -1 ],
"dex_mod": [ 0, -2 ],
"str_mod": [ 0, -2 ],
"speed_mod": [ -5, -15 ]
}
}
]
23 changes: 22 additions & 1 deletion data/mods/classic_zombies/exclusions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,21 @@
{
"type": "SCENARIO_BLACKLIST",
"subtype": "blacklist",
"scenarios": [ "migo_prisoner" ]
"scenarios": [
"fungal_start",
"hunted_start",
"lab_cargo_staff_1",
"lab_chal",
"lab_staff",
"medieval",
"migo_prisoner",
"Mine_bottom",
"mutant",
"portal_dependent",
"quick_portal_storm_base",
"strong_portal_storm_base",
"strong_portal_storm"
]
},
{
"type": "EXTERNAL_OPTION",
Expand All @@ -33,5 +47,12 @@
"marloss": { "chance": 0, "extras": { "mx_marloss_pilgrimage": 0 } },
"subway": { "extras": { "mx_portal": 0, "mx_portal_in": 0 } }
}
},
{
"type": "effect_on_condition",
"id": "EOC_PORTAL_STORM_WARN_OR_CAUSE_RECURRING",
"recurrence": [ "10 days", "11 days" ],
"global": true,
"effect": [ ]
}
]
10 changes: 8 additions & 2 deletions data/mods/classic_zombies/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,25 @@
"name": "Dark Days of the Dead",
"authors": [ "Hirmuolio", "I-am-Erk" ],
"maintainers": [ "I-am-Erk" ],
"description": "(Formerly Classic Zombies): Only spawn classic zombies (normal zombies and zombie animals) and natural wildlife. Zombies do not revive and do not need pulping. This disables certain buildings and map extras. The long term plan is to make this a classic zombie movie simulator set in the present day. If you have this mod enabled in experimental, some items may disappear.",
"description": "Turns the game into a classic Romero zombie game. You must destroy the brain. Getting bitten is fatal. However, zombies don't evolve, and when they're down, they're down. Removes the sci-fi and interdimensional aspects of CDDA.",
"category": "total_conversion",
"dependencies": [ "dda" ]
},
{
"type": "monster_adjustment",
"species": "ZOMBIE",
"flag": { "name": "REVIVES", "value": false },
"stat": { "name": "speed", "modifier": 0.9 }
"stat": { "name": "speed", "modifier": 0.95 }
},
{
"type": "monster_adjustment",
"species": "ZOMBIE",
"flag": { "name": "DEADLY_VIRUS", "value": true },
"stat": { "name": "hp", "modifier": 5 }
},
{
"type": "monster_adjustment",
"species": "ZOMBIE",
"stat": { "name": "bleed_rate", "modifier": 0 }
}
]
10 changes: 10 additions & 0 deletions data/mods/classic_zombies/monsters/species.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"type": "SPECIES",
"id": "ZOMBIE",
"description": "a zombie",
"fear_triggers": [ "FIRE" ],
"footsteps": "shuffling.",
"bleeds": "fd_blood"
}
]
Loading

0 comments on commit ec173c3

Please sign in to comment.