Ghouls versus Humans Arcade is an unofficial class mod which acts as a Mega Man 8-Bit Deathmatch focused fork of the classic Ghouls versus Humans mode originally made for Doom.
To fit the horror theming, it has a system to automatically darken the typically fully bright MM8BDM maps. However, some custom maps may wish to provide their own lighting and thus disable or modify the automatic darkening which GvH Arcade does.
GvH Arcade provides a mechanism similar to the replaceable map scripts to do this task which this page will document in a similar way to those.
<aside> ⚡ script "gvh_map_defaultlight" (void)
</aside>
This script is called by GvH Arcade on map start to initialize the darkness.
This script can replaced by adding a new script in your map’s scripts sharing the name, gvh_map_defaultlight
, to add additional behavior to this event or override the existing behavior.
This script has no parameters or expected return value.
<aside> ⚡ script "gvh_map_raiselight" (int val)
</aside>
This script is called by GvH Arcade during its daybreak round ending to slowly raise the light level.