Ice, Mud, Wind, Currents
Boom has some special properties such as the ability to change a floor's normal friction to create icy and sticky floors and introducing wind and currents.
Ice and Mud Floors
A control linedef with trigger 223 will set the friction of the floor in a tagged sector. The affected sector must not only be tagged by this trigger, but must also have a value of 256 (see "flags" section) or it will not work! The length of the control linedef defines the amount of friction: a length of 100 units is normal friction, a length >100 units makes a floor have less friction ("icy floors") while a length <100 units increases the floor's friction ("sticky floor").
Create this effect by assigning a dummy trigger (eg. "lights off") to a linedef with the desired length. Tag this to the affected sector. Compile the level and assign a value of 256 to this sector (with CLED, see "flags" section, command-line would be "cled mywad.wad sector(mapnumber,sectornumber).type=256") plus replace the dummy trigger with the 223 one (also with CLED, "cled mywad.wad linedef(mapnumber,linedefnumber).type=223").
These effects can be cancelled or introduced during the game by texture-change triggers, who change the affected sector's value by adjusting it to its neighbour.
Constant Wind and Currents
Two types of "constant pushers" are available: trigger 224 and 225. The affected sector should have a value of 512 (see "flags" section) or it will not work! These effects can be cancelled or introduced during the game by texture-change triggers, who will change the affected sector's value by adjusting it to its neighbour. Both triggers can be used in combination with "Deep Water" (and are indeed developed with this purpose). The lenght and orientation of the control linedef defines the force and orientation of the wind or current, in a manner similar to the "conveyor belt" effect.
Trigger 224 provides a constant "wind" effect. A player suspended above the floor (like during a jump) experienced the full force of the "wind", while a player walking on the floor experiences only half this force. A player who is below the floor ("underwater") experiences no wind at all.
Trigger 225 acts like a "current". A player below or on the floor experiences the full force of the "current', but none while suspended above it.
To create this effect assign a dummy trigger (eg. "lights off") to a linedef with the desired length and orientation. Tag this trigger to the desired sector. Compile your level and, using CLED, replace the dummy trigger with the correct one ("cled mywad.wad linedef(mapnumber,linedefnumber).type=224"), plus add a value of 512 to the affected sector with CLED.
Pin-point Pushers / Pullers
Point pushers and pullers are special in that they are not sector-specific, but instead located by a new Thing. The direction of the pusher/puller is from the control Thing outward/inward in a circular manner. The force of the Pusher / Puller is still controlled by a linedef, which is triggered with action 226 and tagged to the sector containing the control Thing, This force is inversely proportional to distance from the point source. If the length of the controlling linedef is L, then the force is reduced to
zero at a distance of 2L. The effect is only felt if the there is a direct line of view between the player and the control thing.
A control Thing with number 5001 provides a "push" effect (from the Thing outward) while Thing number 5002 pulls the player inward toward the Thing. The sector containing the control Thing should have a value of 512 (see "flags" section) or the effect will not work!. The effect is as said not limited to this sector alone. Point pushers can be combined with scrolling effects and constant pushers.
To create this effect place a dummy thing (eg. a candle) at the appropriate location. Assign a dummy trigger (eg. "lights off") to a linedef with the desired length and tag this the the sector containing the future control Thing. Compile your level and use CLED to replace the dummy Thing with Thing number 5001 or 5002 ("cled mywad.wad thing(mapnumber,thingnumber).type=5001"). Replace the dummy trigger with the 226 one. Finally, add a value of 512 to the sector containing the control Thing.
Introduction | Regular Doom Tricks | TeamTNT's Boom Support
The Tools |
Flags |
Properties Transfer |
Teleports |
Ice, Mud, Wind, Currents |
Scrolling Effects |
Elevators |
Other Triggers
Copyright 1998-2006 (c) Doomworld, All Rights Reserved.
|