Project

General

Profile

Feature #2394

Episodes defined in game profile

Added by skyjake over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Deng Team
Category:
Enhancement
Target version:
Start date:
2020-01-05
% Done:

0%


Description

@Drako:

There should be an easy way to organize PWAD files as episodes in profiles. The PWAD files in such profiles should be automatically downloaded if the URL is provided. Maps in these PWAD could be identified by the CRC-32 of a PWAD and the MAP internal name (see #2382).

In practice, new information would be added in game.dei. An Episode block would specify one or more PWADs to load, and optionally a full Episode DED that specifies the level progression. Autogenerating a progression would also be possible be just looking at what maps are provided by the PWADs.

profile {
    name: Master Levels for DOOM II
    game: doom2    
    episode "The Catwalk" {
        pwads <CATWALK.WAD@120cd525>
        # insert the Episode DED contents here
        # (if missing, generate an Episode based on all the maps in the PWAD)
    }
    episode "Virgil's Lead" {
        pwads <VIRGIL.WAD@4d0b58e8>
    }
    userCreated: True
    useGameRequirements: True
    autoStartSkill: 3
}

Instead of "filename@crc32", the PWAD could also be specified as "download-url@crc32". (Need to deal with broken links, though?)


Related issues

Related to Feature #2393: Map selection UI for Master Levels for Doom II (Episode with additional packages)New2020-01-03

Related to Feature #2395: Exporting and importing game profiles (files and dengine.net)New2020-01-05

History

#1 Updated by skyjake over 4 years ago

  • Related to Feature #2393: Map selection UI for Master Levels for Doom II (Episode with additional packages) added

#2 Updated by skyjake over 4 years ago

  • Description updated (diff)

#3 Updated by skyjake over 4 years ago

  • Description updated (diff)

#4 Updated by skyjake over 4 years ago

  • Related to Feature #2395: Exporting and importing game profiles (files and dengine.net) added

#5 Updated by skyjake over 4 years ago

In practice, having Episode definitions in the game profile means that those will have to be dumped to a temporary DED file for loading. Which in turns means that there is no need to restrict this to Episodes, so any kind of DEDs could be included in the profile. The syntax could be modified:

profile {
    name: Master Levels for DOOM II
    game: doom2    
    defs {
        Episode {
            ID = "The Catwalk" 
            pwads <"CATWALK.WAD@120cd525">
            # insert the Episode DED contents here
            # (if missing, generate an Episode based on all the maps in the PWAD)
        }
    }

In addition to the "pwads" list, it would be useful to have a "packages" list for specifying package IDs. There needs to be a syntax for specifying the CRC-32 checksum as part of the package ID for PWAD packages...

Also available in: Atom PDF