Changes

From DoomWiki.org

Secret

2,575 bytes added, 23:47, 2 April 2008
+bugs, demos
In [[vanilla Doom]], a secrets percentage of 0% is ambiguous. Normally, it means the player found none of the secrets, but it could also mean that the level has no secrets to find. Some source ports display 100% in the latter case, to indicate that the player has done as well as possible.
 
== Bugs ==
A secret can only be toggled and added to the number of secrets found if the [[player]]'s axis makes contact with the floor of the secret sector. In some maps, the design can prevent this from occurring, rendering 100% Secrets impossible. One example is [[Doom II]] [[MAP15: Industrial Zone (Doom II)|MAP15]], where a narrow secret sector is located just before a raised teleporter. This prevents the player from toggling it, as they will be lifted by the edge of the teleporter pad before they can touch the secret sector's floor.
 
As a sector type is used to flag a sector as secret, [[linedef type|linedef action]]s applied to a secret sector that change the sector type, if the model sector is not secret or the linedef action sets the sector type to 0, will cause the secret to be erased from the map the moment the type change occurs, preventing 100% Secrets. An example of a map affected by this is [[Requiem]] [[MAP29: Downer (Requiem)|MAP29]], where a type-zeroing platform action used to raise a bridge is erroneously tagged to a secret sector as well, causing the secret to be deleted when the action is triggered.
 
Conversely, if a type-changing linedef action is applied to a non-secret sector, and the model sector is secret, an extra secret will be added, which, if triggered along with the other secrets present on a map, can cause the secrets percentage to go over 100%. However, in comparison to the above, this is rarely seen in most levels, if it is ever seen at all.
 
== Demos ==
* [[Media:LOSTSCRT.WAD|A level demonstrating how a secret can be erased from a map in-game by a linedef action that changes the sector type]] ([[:Image:RESRPAIN.WAD|file info]]). This level contains two secrets; one is a pillar in a pool bearing a soul sphere, the other is a compartment containing [[combat armor]]. Grabbing the armor will cause the pillar to lower; if the pillar is allowed to sink completely into the pool, the secret flag will be deleted and only 50% Secrets will be possible.
* [[Media:EXTRA_50.WAD|A level demonstrating how a secret can be added to a map in-game by a linedef action that changes the sector type]] ([[:Image:RESRPAIN.WAD|file info]]). This level contains two secrets; one is a soul sphere protected by a barrier, the other is a closet containing combat armor. Grabbing the armor will cause the barrier to lower; after this, grabbing the soul sphere and exiting the map will cause the secrets percentage to read 150%, due to the barrier inheriting the adjacent sector's secret flag, adding a third secret to the map.
==Source==