Left 4 Dead gameplay mod

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Cherno
Posts: 1321
Joined: Tue Dec 06, 2016 11:25 am

Left 4 Dead gameplay mod

Post by Cherno »

Left 4 Doom
ImageImageImageImage
ImageImageImageImage
ImageImageImageImage

Overview
This mod aims to bring elements from Left 4 Dead 2 into Doom II. The aim was to provide a chaotic experience with hordes of infected and a framework to base custom maps on. Works with GZDoom 3.7.2 and 3.6.0.
Compatible with all gameplay mods that don't replace Doom 2 monsters (although there is a patch available for Brutal Doom). No weapons or items are included. Use this with your favorite weapon mod.

Mod loading order should be as follows:
1. AI Director (optional but recommended)
2. Left 4 Dead mod
3. Gameplay/weapon mod of your choice (optional but recommended)
4. Bolognese or NashGore (or other gore mods that don't replace enemies) (optional but recommended)

Features
  • 4 Common infected variants
  • 8 Special infected, with unique behaviors and attacks (save for the Jockey and Smoker)
  • Headshot system that accurately reflects each frame of a sprite. Send those heads flying!
  • Kick heads around just like in Blood!
  • CVARs that lets you customize the experience.
Misc. Notes
This mod was created with AI Director in mind. I highly recommend using it (load AI Director before L4D). Change the AI Director settings to your needs.
Some recommended settings (tested with Trailblazer): Group size 1-4, Spawn Rate 10.
Note that you need to change two lines of code in AI Director's zScript file in order to work with GZDoom 3.7.2, as detailed here:
Change line 195:

Code: Select all

AIDItemSpawnPoint spawnpoint = AIDItemSpawnPoint(Actor.Spawn('AIDItemSpawnPoint', item.pos));
Change line 204:

Code: Select all

AIDMonsterSpawnPoint spawnpoint = AIDMonsterSpawnPoint(Actor.Spawn('AIDMonsterSpawnPoint', thing.pos));
I also recommend using NashGore or Bolognese with this for those nice gore effects. In bolognese set the "Minimum health for gibbing" to -100, otherwise the zombies will gib too often on headshots.
Vanilla Doom weaponry will probably not get you very far, so by all means add your favorite weapon mod. A good melee weapon and an accurate hitscan gun are a must! Pop those heads! I have found Trailblazer to be excellent when dealing with the undead/infected hordes.

Special infected descriptions:
  • Special infected spawn with a chance of 1:16 for weaker Doom 2 monsters (Zombieman up to Demons), 1:2 for mid-tier monsters like Hellknights and Cacodemons, and always replace powerful monsters like Cyberdemons and Archviles.
  • Boomer: Likes to puke bile that, when hitting a player, will cause nearby infected to home in on him or her. Be careful when killing a boomer up close, as the bile will spray around him as he bursts open.
  • Charger: Tough opponent that bullrushes you.
  • Hunter: Ambushes you from the shadows, sneaks around at a distance and pounces at you. When he lands near you, you become immobile for a few seconds as he delivers painful slashes.
  • Jockey: No special behavior implemented yet.
  • Smoker: Bursts into a cloud of black smoke when killed. No other special abilities yet.
  • Spitter: Spits corrosive acid that forms a pool when hitting something. It is very dangerous to stand in these pools as they will rapidly drain your health. On the plus side, other infected are also affected.
  • Tank: Bad news. A huge amount of health, no headshots, and he throws concrete slabs at you.
  • Witch: Sits around wailing and crying. If you don't bother her, she won't bother you. Come too near and she will stand up as a warning. Come even closer (or attack her), and she will rush at you with sharp claws and great speed. Has a surprisingly large amount of health for a skinny girl.
CVAR Info (Check the L4D options in the main menu!):
  • Fast infected: "Rager" style zombies/infected like those in Left 4 Dead. Turn off for a more "Night of the living dead" experience. Perhaps increase AI Director's max group size to balance the shuffling hordes.
  • Head stays on headshot kill: When you kill an infected via headshot, his or her head will come flying off.
  • Kick heads around: Shot-off heads can be kicked around by you and other infected.
  • Kicked heads spurt blood: Flying heads will spurt blood splashes.
  • Heads make noise when kicked: Plays Blood's head kicking sound when heads are kicked.
  • Heads make popping noise when shot off: A comical sound effect plays when you shoot a head off. Off by default.
  • Headshot damage multiplier: Controls how much damage a headshot will cause. This affects both common and special infected (save for the tank).
  • Infected health multiplier: Controls how much damage infected (common and special) receive. Lower this if you have weaker weapons or run out of ammo all the time.
Planned features:
  • Zombie dogs!
  • Grappling attack for the smoker
  • Some sort of riding mechanic for the jockey
  • More common infected variants
  • Uncommon infected that have special behaviors, like riot gear policemen and clowns
  • A soccer map where you have to kick zombie heads into a goal (while being attacked by waves of zeds, of course!). Inspired by Blood's Bloobath map "Fun With Heads"
Downloads
l4dv0.1.pk3
l4dbrutalv20patch.pk3

Screenshots:
Spoiler:


Development notes:
The infected use a muted color scheme so no single one stands out in a large mass. They should give the impression of a horde of mindless creatures with no individuality. This might clash with the more comic-book, pixel-art look of vanilla Doom.
Some special infected attacks are not suited for a single-player game, which is why the smoker's grappling and jockey's riding are not implemented. The solution is probably to make these temporary, like the Hunter's pouncing.
This was the first project for me that utilizes the power of zScript to any real degree. I am somewhat proud of the way I coded the common infected; as these all share the same code and are only different in their sprites, I wrote a base class for them and used GetSpriteIndex to set the right sprite graphic for each frame. This results in a fairly complex base class, but all variant subclasses only need a couple of codes after that (namely to set their sprite graphic names). Same goes for gibs.
The headbox system is also something I really like. It spawns a headbox actor as a child of the infected, and the infected's state set the hitbox' XYZ offset values. The hitbox actor sets it's position relative to it's master every tic based on these values. That meant having find the right offsets for each frame, though. One nuisance is that spawned projectiles will get blocked by the head hitbox often if they are not spawned far enough.

Bugs:
  • The tank will have trouble hitting you with concrete slabs if you are higher or lower than him.
  • The hunter will often not hit you with his slashing attacks after he has pounced at you.
  • The boomer will always explode, even though he is supposed to simply die when being killed by a headshot.
  • When using Bolognese, gibbed infected will sometimes spawn Doom-style gibs that look out of place.
  • The A_BossDeath function is not used, so you will have to complete maps that depend on this map specialby cheating.
Last edited by Cherno on Sun Feb 10, 2019 11:52 am, edited 9 times in total.
User avatar
Blux001
Posts: 124
Joined: Mon Jan 23, 2017 12:03 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Blux001 »

It would only be missing that this pack of enemies of the L4D make replace the enemies completely because there are mods where it does not replace that or that appear as the classic waves based on the L4D you know for so long time in the map the horde arrives because they try several mods and only in very few, the enemies L4D appear, apart very good mod! : D
User avatar
Cherno
Posts: 1321
Joined: Tue Dec 06, 2016 11:25 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Cherno »

If I understand your correctly, your concern is that some mods that replace enemies cause problems because these will not be replaced by L4D monsters in turn. I think there is not much that can be done about this which is a shame because it prevents mods like Guncaster from being used with this. However, there is always the possibility of writing a simple patch that replaces the new monster classes (like the brutaldoom patch).
User avatar
Major Cooke
Posts: 8196
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Major Cooke »

This almost sounds like you drew inspiration from AEons of Death which also has (almost) all features from Left 4 Dead. Not that it matters! I'll give this a try soon, and it's looking nice so far!
User avatar
Cherno
Posts: 1321
Joined: Tue Dec 06, 2016 11:25 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Cherno »

Funnily enough, I never looked at Aeons of Death and I only became aware of the connection yesterday :o Now I will have to check it out :)
User avatar
Major Cooke
Posts: 8196
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Major Cooke »

Granted, it's still in a bit of a bygone era where only Decorate existed. I have yet to redo it all and make it more consistent, but should you need any help with your AI, let me know. Making a customized variant of the director specifically for this won't be too difficult. After all, some tweaks will be needed to ensure monsters don't spawn in the wrong areas and what not. Will definitely be trying out the AI director in the first post.

Feel free to rip whatever resources you want from there, if you want. The sprites might not be much, but that's what happens when you keep a huge gameplay mod like that as small as possible. Code-wise, some of their behaviors are... somewhat basic. When my concentration returns to AEoD, it will be made better.
User avatar
Cherno
Posts: 1321
Joined: Tue Dec 06, 2016 11:25 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Cherno »

I made a short video showcasing some of the enemies.

User avatar
Major Cooke
Posts: 8196
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Major Cooke »

Looking good! Keep it up!
User avatar
Samarai1000
Posts: 160
Joined: Sun Sep 25, 2016 7:04 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Somewhere in Canada

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Samarai1000 »

This is a great start and I'm really excited to see it expanded upon, even if the sprites clash a lot with the doom aesthetic!
My one problem right now is that the sound design, of all things, could use some work. I can understand if it isn't a priority, but I recommend you get a tool to poke through VPK files and actually extract infected sounds from L4D2. It's easy to do, I even used charger voice clips for the pinkies in my own mod.
CD-Roman
Posts: 59
Joined: Sat May 19, 2018 4:03 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by CD-Roman »

https://www.moddb.com/games/doom/downloads/left-4-doom

Here are weapons from L4D2 but wont work with your mod but anyway, sprites looks really nice!
User avatar
Cherno
Posts: 1321
Joined: Tue Dec 06, 2016 11:25 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Cherno »

Samarai1000 wrote:This is a great start and I'm really excited to see it expanded upon, even if the sprites clash a lot with the doom aesthetic!
My one problem right now is that the sound design, of all things, could use some work. I can understand if it isn't a priority, but I recommend you get a tool to poke through VPK files and actually extract infected sounds from L4D2. It's easy to do, I even used charger voice clips for the pinkies in my own mod.
Using sounds from Left 4 Dead would be no problem and I considered it but in the end decided against it because I don't want to use any assets from other parties if it can be avoided.
User avatar
Major Cooke
Posts: 8196
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Major Cooke »

Awww, but that's what makes them stand out! I mean, AEoD shamelessly uses them. You're free to use them too. :P

Not to mention they're of lower quality because we compressed them hard so they're not the original - all of them are mono tracked.
User avatar
Cherno
Posts: 1321
Joined: Tue Dec 06, 2016 11:25 am

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Cherno »

I made another short video, this time using GutsRipper to try and hack through massive hordes of the infected in Map10: Refueling Base!
Also features Nash's gore mod and lots of head popping.
User avatar
camper
Posts: 114
Joined: Sun Feb 25, 2018 10:53 am
Location: Tatarstan

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by camper »

indescribable beauty
User avatar
Mere_Duke
Posts: 215
Joined: Sun Aug 28, 2016 3:35 pm
Location: Russia

Re: Left 4 Doom - Left 4 Dead gameplay mod

Post by Mere_Duke »

First of all, I like what I see. And a warm thank you from a big fan of L4D!
A quick thoughts:
- Why the Witch death sound not the one from L4D but the death sound from Blood's Gargoyle? :D
- Again, Spitter uses Blood's Bloated Butcher attack sound
- Tank should prefer melee over rock throwing attacks; and push a player far away with punches
- Smoker should pull player with his tongue
- Hunter should be able to climb walls and ceilings
etc etc I think you know all of these yourself (there are so many more features that'd be cool to have; I don't think you need a list of them), just need time to implement it all. Keep it up!

Return to “Gameplay Mods”