This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sprite_frame [2006-07-23 12:26] – Sprite frames moved to Sprite frame skyjake | sprite_frame [2009-08-13 15:15] (current) – Robot: Changing Category:Map Author's Guide dewbot | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{stub}} | ||
+ | {{update}} | ||
+ | {{cleanup}} | ||
+ | |||
+ | What are Sprite Frames? | ||
+ | |||
+ | Sprite frames are patches. They can be replaced with external resources just like all other patches (with the same rules for different game modes). The same restrictions apply, though: the dimensions of the external resource do not affect the actual size of the sprite frame. This means the external resources must really be [[high-resolution_texture|high-resolution]] versions of the original images. Otherwise the size and/or aspect ratio will not be right for the resource. | ||
+ | |||
+ | For example, in order to replace the Doom medikit (lump name MEDIA0), one would place the file media0.png into the Patches directory. | ||
+ | |||
+ | Color-mapped versions of sprite frames can have external resources, too. To indicate that a resource is color-mapped, | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | (patchName) is the sprite frame lump name. (classNum) is the number of the color translation class. This number is always zero in jDoom and jHeretic. In jHexen, it's the player' | ||
+ | |||
+ | |||
+ | |||