MAPINFO: Difference between revisions

From Zandronum Wiki
mNo edit summary
Tag: Source edit
mNo edit summary
Tag: Source edit
Line 30: Line 30:
! <tt>ForceSpawnEventScripts = <bool></tt>
! <tt>ForceSpawnEventScripts = <bool></tt>
| Forces [[EVENT scripts]] of type <tt>GAMEEVENT_ACTOR_SPAWNED</tt> to run for all actors, except for those with the <tt>NOSPAWNEVENTSCRIPT</tt> [[DECORATE#Actor_Flags|actor flag]].
| Forces [[EVENT scripts]] of type <tt>GAMEEVENT_ACTOR_SPAWNED</tt> to run for all actors, except for those with the <tt>NOSPAWNEVENTSCRIPT</tt> [[DECORATE#Actor_Flags|actor flag]].
'''Note:''' This excludes actors that have either the <tt>NOBLOCKMAP</tt> (except projectiles and puffs) or <tt>NOSECTOR</tt> flags enabled, or inherits from {{Zdoomwiki|HexenArmor}}.
|-
|-
! <tt>ForceDamageEventScripts = <bool></tt>
!<tt>ForceDamageEventScripts = <bool></tt>
| Forces [[EVENT scripts]] of type <tt>GAMEEVENT_ACTOR_DAMAGED</tt> to run for all actors, except for those with the <tt>NODAMAGEEVENTSCRIPT</tt> [[DECORATE#Actor_Flags|actor flag]].
|Forces [[EVENT scripts]] of type <tt>GAMEEVENT_ACTOR_DAMAGED</tt> to run for all actors, except for those with the <tt>NODAMAGEEVENTSCRIPT</tt> [[DECORATE#Actor_Flags|actor flag]].
|}
|}


[[Category: Special lumps]]
[[Category: Special lumps]]

Revision as of 12:29, 29 August 2022

MAPINFO is a special lump that allows defining information about maps, and configuring other game settings. It has received a few extensions in Zandronum:

Map defition

See also: MAPINFO/Map definition
Property Description
NoBotNodes Disables the generation of nodes for Skulltag bots on this level.
Lobby

IsLobby

Marks this map as a lobby, which invokes some special behaviours when playing this map:
  • Countdowns are disabled.
  • Bots will not spawn.
  • Teams will be cleared on map start.
  • Exiting the map will not kill the player.
  • The time limit will be disabled.

GameInfo defition

See also: MAPINFO/GameInfo definition
Property Description
ForceSpawnEventScripts = <bool> Forces EVENT scripts of type GAMEEVENT_ACTOR_SPAWNED to run for all actors, except for those with the NOSPAWNEVENTSCRIPT actor flag.

Note: This excludes actors that have either the NOBLOCKMAP (except projectiles and puffs) or NOSECTOR flags enabled, or inherits from HexenArmor.

ForceDamageEventScripts = <bool> Forces EVENT scripts of type GAMEEVENT_ACTOR_DAMAGED to run for all actors, except for those with the NODAMAGEEVENTSCRIPT actor flag.