MAPINFO: Difference between revisions
DrinkyBird (talk | contribs) m (typo) Tag: Source edit |
DrinkyBird (talk | contribs) (Add quotes around the first two parameters of AddCustomData) Tag: Source edit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{SHORTDESC:Special lump for defining map properties}} | |||
'''{{Zdoomwiki|MAPINFO}}''' is a special lump that allows defining information about maps, and configuring other game settings. It has received a few extensions in Zandronum: | '''{{Zdoomwiki|MAPINFO}}''' is a special lump that allows defining information about maps, and configuring other game settings. It has received a few extensions in Zandronum: | ||
Line 27: | Line 28: | ||
! Property | ! Property | ||
! Description | ! Description | ||
|- | |||
! <tt>AddCustomData = "<name>", "<type>", <default></tt> | |||
| {{Devfeature|3.2|alpha}} Add a custom player data field for the scoreboard. <tt>name</tt> is the name of your field. <tt>type</tt> is either <tt>int</tt>, <tt>bool</tt>, <tt>float</tt>, <tt>string</tt>, <tt>color</tt>, or <tt>texture</tt>. <tt>default</tt> is the default value of your field. | |||
|- | |- | ||
! <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# | | 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]], actors that have either the <tt>NOBLOCKMAP</tt> (except projectiles and puffs) or <tt>NOSECTOR</tt> flags enabled, or inherit from {{Zdoomwiki|Classes:HexenArmor|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# | |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]] |
Latest revision as of 15:09, 21 June 2023
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 definition
- 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:
|
GameInfo definition
- See also: MAPINFO/GameInfo definition
Property | Description |
---|---|
AddCustomData = "<name>", "<type>", <default> | (development version 3.2-alpha and above only) Add a custom player data field for the scoreboard. name is the name of your field. type is either int, bool, float, string, color, or texture. default is the default value of your field. |
ForceSpawnEventScripts = <bool> | Forces EVENT scripts of type GAMEEVENT_ACTOR_SPAWNED to run for all actors, except for those with the NOSPAWNEVENTSCRIPT actor flag, actors that have either the NOBLOCKMAP (except projectiles and puffs) or NOSECTOR flags enabled, or inherit 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. |