Configuration Options
Nightbreed is highly configurable through a set of flags. These flags are
set in the "gamecfg" local info key. The value of "gamecfg" is the value of the
flags you want to specify added together. The flags are as follows:
- NB_CFG_NO_SHOCK_RIFLE (1)
-
Disables the shock rifle. Players will get a normal shotgun unless
NB_CFG_NO_SHOTGUN is also set.
- NB_CFG_NO_SUPER_SHOTGUN (2)
-
No free super shotgun.
- NB_CFG_NO_NAILGUN (4)
-
No free nailgun.
- NB_CFG_NO_SUPER_NAILGUN (8)
-
No free super nailgun.
- NB_CFG_NO_GRENADE_LAUNCHER (16)
-
No free grenade launcher.
- NB_CFG_NO_ROCKET_LAUNCHER (32)
-
No free rocket launcher.
- NB_CFG_NO_LIGHTNING_GUN (64)
-
No free lightning gun.
- NB_CFG_NO_UNLIMITED_AMMO (128)
-
No unlimited ammo for any weapons. Ammo will be distributed in its normal
positions on the map.
- NB_CFG_NO_VAMPIRE (512)
-
Disable vampire health. This disables stealing health by damaging others and
also disables the damage boost associated with super health.
This also makes health, quad damage, and invulnerability items appear on
their normal positions on the map.
- NB_CFG_FREE_METAMORPH (1024)
-
Players are free to morph into a scrag at any level of health.
- NB_CFG_FOUND_WEAPONS (2048)
-
Distribute all weapons that aren't "free" in their normal positions on the
board. Allows players to find weapons like in the normal game.
- NB_CFG_NO_ITEMS (4096)
-
Don't put any items on the map, even if they would be appropriate given some
of the other options (e.g. found weapons, no unlimited ammo...).
- NB_CFG_SUPER_SHOCK_RIFLE (8192)
-
Doubles the power of the super shock rifle (useful mainly for instagib).
- NB_CFG_NO_SCRAG_WEAPON (16384)
-
When metamorphed to a scrag, don't limit the weapon to scrag goo.
- NB_CFG_NO_SCRAG_FORM (32768)
-
When metamorphed to a scrag, retain normal player appearance.
- NB_CFG_NO_BALANCED_WEAPONS (65536)
-
Disables weapon balancing. All weapons do the same damage as in the normal
game.
- NB_CFG_NO_SHOTGUN (131072)
-
No free shotgun.
- NB_CFG_NO_HIGH_JUMP (262144)
-
This disables the "high jumping" of nightbreed (by default, nightbreed jumps
are higher than normal quake jumps).
- NB_CFG_BACKPACKS (524288)
-
Enable throwing of backpacks when you die (disabled by default).
- NB_CFG_HELLDOG (1048576)
-
Enable the helldog (see Weapons above).
"Free weapons" are the weapons that you get by default at the start of the
game or upon respawning. Disabling a weapon effectively removes it from the
game unless NB_CFG_FOUND_WEAPONS is also set.
The game configuration defaults to 0. Flags are set by adding (or'ing,
actually) the flag values together. For example, to disable all weapons but the
shotgun, one would use a value of 127 (NB_CFG_NO_SHOCK_RIFLE +
NB_CFG_NO_SUPER_SHOTGUN + NB_CFG_NO_NAILGUN + NB_CFG_NO_SUPER_NAILGUN +
NB_CFG_NO_GRENADE_LAUNCHER + NB_CFG_NO_ROCKET_LAUNCHER +
NB_CFG_NO_LIGHTNING_GUN. You'd probably want to add NB_CFG_NO_BALANCED_WEAPONS
to that for a value of 65663).
If all of this binary math seems a little intimidating, check out the
nbmode script, which provides a nice little graphical calculator to help
you compute the value (see the downloads section).
Here are some configurations that my original beta-testers and I used to
enjoy: