View source for Maphack Language - EDukeWiki

# View source for Maphack Language

← Maphack Language

You do not have permission to edit this page, for the following reasons:

- The action you have requested is limited to users in the group: Users.
- You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Maphacks are used to edit the positioning of objects and other parts of a level in cases where the maps cannot be redistributed. ==sprite== '''sprite''' ''spriteid'' <token> <nowiki>[value]</nowiki> ===[[angoff]]=== sprite ''spriteid'' '''angoff''' ''value''<br/> sprite ''spriteid'' '''angleoff''' ''value'' Rotates the model away from the starting angle of the sprite. A ''value'' of 2048 represents a full turn of 360 degrees. ===notmd=== sprite ''spriteid'' '''notmd'''<br/> sprite ''spriteid'' '''notmd2'''<br/> sprite ''spriteid'' '''notmd3''' Renders a tile as a sprite instead of a model. This is achieved by altering the value of [[mdflags]]. ===nomdanim=== sprite ''spriteid'' '''nomdanim'''<br/> sprite ''spriteid'' '''nomd2anim'''<br/> sprite ''spriteid'' '''nomd3anim''' Freezes any model animation in place. This is achieved by altering the value of [[mdflags]]. ===[[pitch]]=== sprite ''spriteid'' '''pitch''' ''value'' Adjusts the model's '''[[pitch]]''', i.e. bowing or falling backwards. A hackish method can be used to move the model away from clipping in a wall, by setting the sprite's '''mdzoff''' to a grossly high (or low negative) number, and setting a '''pitch''' of 1. ===[[roll]]=== sprite ''spriteid'' '''roll''' ''value'' Adjusts the model's '''[[roll]]''', i.e. tilting to the side. ===[[mdxoff]]=== sprite ''spriteid'' '''mdxoff''' ''value'' Offsets the '''x''' coordinate of the model's centerpoint, to be used in conjunction with '''pitch''' and '''roll'''. ===[[mdyoff]]=== sprite ''spriteid'' '''mdyoff''' ''value'' Offsets the '''y''' coordinate of the model's centerpoint, to be used in conjunction with '''pitch''' and '''roll'''. ===[[mdzoff]]=== sprite ''spriteid'' '''mdzoff''' ''value'' Offsets the '''z''' coordinate of the model's centerpoint, to be used in conjunction with '''pitch''' and '''roll'''. ===away1=== sprite ''spriteid'' '''away1''' Moves the sprite away. (how?) This is achieved by altering the value of [[mdflags]]. ===away2=== sprite ''spriteid'' '''away2''' Moves the sprite away. (how?) This is achieved by altering the value of [[mdflags]]. ==light== '''light''' ''sector'' ''x'' ''y'' ''z'' ''range'' ''r'' ''g'' ''b'' ''radius'' ''faderadius'' ''angle'' ''horiz'' ''minshade'' ''maxshade'' ''priority'' ''tilenum'' Displays a spotlight using the '''Polymer''' renderer.

Return to Maphack Language.

Retrieved from "http://wiki.eduke32.com/wiki/Maphack_Language"