Skip to content

Instantly share code, notes, and snippets.

@jdriselvato
Last active November 17, 2023 22:28
Show Gist options
  • Save jdriselvato/ebb283d1249269306ffaf13cace6680c to your computer and use it in GitHub Desktop.
Save jdriselvato/ebb283d1249269306ffaf13cace6680c to your computer and use it in GitHub Desktop.
Wellness Day 11/17/2023

For Wellness Day 11/17/2023 I took a surface level dive into the world of Doom WAD modding. The end product is a top floor schematic of my house and custom imported textures which make up my office.

Goals:

  • default player to only have fists
  • build a completely new map
  • import textures
  • Add multiple "floors"

Tools:

Screenshots

Screenshot 2023-11-17 at 13 26 18

Screenshot 2023-11-17 at 13 26 03

Screenshot 2023-11-17 at 13 25 58

Screenshot 2023-11-17 at 13 26 09

Screenshot 2023-11-17 at 13 26 25

Screenshot 2023-11-17 at 13 25 34

Inheritance / DECORATE

In DOOM we use inheriting of "actors" to customize them. This might include enemies, weapons or even the player.

I wanted to have the player start off with their "fists" as this is family friendly mod. To do this one needs two new files in your map WAD; MAPINFO & DECORATE.

The DECORATE file is where the actor inheritance occurs. The MAPINFO file is where you setup what inheritance the WAD should load.

To set the player to load with the fist only the DECORATE scripting looks like this:

actor JohnPlayer : DoomPlayer
{
   Player.StartItem "Fist"
}

And MAPINFO looks like such:

gameinfo
{
    playerclasses = "JohnPlayer"
}

Random notes:

  • line mode edits walls
    • height must be 128px
  • sectors are ceilings and floors
    • must be 64x64
  • the [ ] keys increase or decrease map snap grid
  • right click on anything allows you to move it
  • From what I can tell using SLADE I can't exactly put one floor under another floor. Looking at real DOOM maps they uses the illusion of ceiling and floors give rooms depth.
    • A possible way to have floors is have invisible teleportation walls that immediately bring you to a floor plan.
  • There's not nearly as many SLADE tutorials as there is GZ Builder or Ultimate Builder.

Confusions:

  • We don't edit Doom.wad directly but make multiple wads? So far I have a new wad for the textures and for the maps. I wonder how we merge it into a single playable wad.
  • Delete button doesn't seem to work on macOS
  • There isn't a native way to do floor leveling on top of each other, right?
  • How do teleportation lines work? I can't seem to get them to trigger.

Resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment