Values (DED)

From Doomsday Wiki
Jump to: navigation, search

Cleanup Note: This article should be cleaned up to be more readable and/or to more closely follow the Wiki article guidelines.

Attributes: None
Type ReferenceDED Syntax

The Values block allows many of the values used internally to be modifed in a DED. Each game has a different set of values that can be modified, see below for details of the available values.

The values block can also be used to set up Patch replacements (where applicable) which allows an internal patch to be replaced with a string of text.

Note: You can also define new values but the engine itself doesn't use the values for anything. You can think of the Values definition as a registry of nested string pairs (a bit like Windows' registry). Internally the hierarchy levels are separated with the | (vertical line) character, so you can't use it in the key names.


Values {
    Key1 = "Example"
    My block {
        Nested key = "This is a string"
        Other key = "Hello"

The definitions above would create the following entries:

  • Key1 = Example
  • My block|Nested key = This is a string
  • My block|Other key = Hello

See also