The difficultySystem mod provides an easy way for an admin to change
multiple CVars that affect the challenge of completing maps.

Users can bind keys to control display of the difficulty level, at
map start or on demand. The controls are located in the "Difficulty
System" control category.

These mods are required by difficultySystem :

* notsurvival-unofficial-beta9.2.3.pk3 or newer
* msod_downanywhere_unofficial_v1.9.5_testing_2025-06-16-3.pk3 or newer

This is an optional mod that is compatible with difficultySystem :

* votesystem_v0.3.pk3 or newer

In order to use a non-default difficulty level, set the CVar
difficultySystem_livesDifficulty on the command line, and all
corresponding CVars will automatically be set at map start. It is
also an option to use difficultyLevel -1 and arbitrary values for the
corresponding CVars. The correct values for each standard difficulty
level are listed in difficulties.h. Here are examples.

# This automatically sets +ez_maxRevives 3 +notsurv_kills 75
zandronum -iwad [path to iwad] +difficultySystem_livesDifficulty 0

# This is a custom difficulty. difficultySystem will basically
stay out of the way and leave the administrator set values in place
zandronum -iwad [path to iwad] +difficultySystem_livesDifficulty -1 +ez_maxRevives 2 +notsurv_kills 200

Supporting mods can request a change to the difficulty level, which
takes effect at the start of the next NotSurvival round or map,
by calling the script difficultySystem_setDiffLevel.
