UZDoom's lump keywords
Availability
UZDoom's, under its names, so a UZDoom mod's lumps load unchanged. Zandronum 3.3 stops loading a mod that uses one.
Works in netgames. Every machine reads the same lumps; what each keyword changes is noted below.
CVARINFO
nosave declares a CVar kept in the player's config but never in a savegame or sent to the server, like
Zandronum's local; one of server, user, local or nosave is needed. cheat CVars can be set only while
sv_cheats is on, and latch CVars take a new value at the next map.
nosave int mymod_hudstyle = 1;
server cheat int mymod_bossrush = 0;
server latch bool mymod_hardcore = false;
MAPINFO skills
HealthFactor scales the health a player picks up (at least 1 a pickup), and ArmorFactor the armour. Neither
changes monsters' health, which MonsterHealth does.
skill hardcore
{
Name = "Hardcore"
HealthFactor = 0.5
ArmorFactor = 0.5
}
MENUDEF
A ListMenu takes Size width, height to draw its items on a canvas of that size fitted to the screen, or
Size clean (the usual scaled 320x200 page) or Size optclean (a 320x200 canvas). Its StaticText takes an
optional colour after the text, as does an OptionMenu's.
ListMenu "MyModMenu"
{
Size 640, 400
StaticText 320, 40, "My Mod", Gold
Position 260, 120
TextItem "Start", "s", "PlayerclassMenu"
}
SBARINFO
IfCVarInt [not] cvar, value [, equal] runs its block while a bool or int CVar is at least the value, or equal to it.
IfWaterLevel [not] level runs it while the player is at least that deep in water (1 feet, 2 waist, 3 head), and
IfInvulnerable [not] while the player cannot be hurt, by a powerup or a god mode.
IfCVarInt mymod_hudstyle, 2, equal
{
DrawImage "STFDEAD0", 4, 160;
}
IfWaterLevel 3
{
DrawImage "AIRBAR", 4, 150;
}
MODELDEF
UseActorPitch tilts the model by the actor's pitch the way the actor looks, which InheritActorPitch gets backwards;
UseActorRoll is InheritActorRoll.
Sprites
A sprite frame that has some rotations but not all is drawn with the first it has, with a warning in the console;
UZDoom stops loading. A mod's graphics in Sprites/ named after a sprite only ZandroX has, such as FISTCAN for
Skulltag's FIST, are read as that sprite's rotations, which UZDoom never sees.