Classes:Allmap
Jump to navigation
Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
Computer area map | |||
---|---|---|---|
Actor type | Powerup | Game | (Doom) |
DoomEd Number | 2026 | Class Name | Allmap |
Spawn ID | 137 | Identifier | T_COMPUTERMAP |
Classes: Inventory→MapRevealer→Allmap
The computer area map reveals all the unexplored areas of a level with gray lines in the automap. Contrarily to the iddt cheat, the computer area map shows neither hidden linedefs nor actors.
ZScript definition
class Allmap : MapRevealer { Default { +COUNTITEM +INVENTORY.FANCYPICKUPSOUND +INVENTORY.ALWAYSPICKUP Inventory.MaxAmount 0; Inventory.PickupSound "misc/p_pkup"; Inventory.PickupMessage "$GOTMAP"; // "Computer Area Map" } States { Spawn: PMAP ABCDCB 6 Bright; Loop; } }
DECORATE definition
ACTOR Allmap : MapRevealer { +COUNTITEM +INVENTORY.FANCYPICKUPSOUND +INVENTORY.ALWAYSPICKUP Inventory.MaxAmount 0 Inventory.PickupSound "misc/p_pkup" Inventory.PickupMessage "$GOTMAP" // "Computer Area Map" States { Spawn: PMAP ABCDCB 6 Bright Loop } }