Modding:Sprites (0.9.9.7)

From DoomRL Wiki

Jump to: navigation, search

A sprite in DoomRL is comprised of three distinct components: a color spritesheet, a grayscale version for coloring, and a black and white version for outlining sans shadow. Very few sprites make use of all three.

As of this version it is not possible for modders to directly edit sprites so there is no need to go into further detail. What is needed is a list of sprites that modders can use:

Contents

Player Sprites

Player sprites have colorable armor and change based on wielded weapon. They are good sprites to use for player-like beings provided you manually handle the corpse.

Player Sprites
SPRITE_PLAYER
SPRITE_PLAYER_KNIFE
SPRITE_PLAYER_CHAINSAW
SPRITE_PLAYER_PISTOL
SPRITE_PLAYER_SHOTGUN
SPRITE_PLAYER_CSHOTGUN
SPRITE_PLAYER_DSHOTGUN
SPRITE_PLAYER_CHAINGUN
SPRITE_PLAYER_BAZOOKA
SPRITE_PLAYER_PLASMA
SPRITE_PLAYER_BFG9000
SPRITE_PLAYER_SPEAR
SPRITE_PLAYER_STAFF
SPRITE_PLAYER_CLEAVER
SPRITE_PLAYER_DRAGON

Item Sprites

Armor, non-steel boots, mod packs, skulls, and phase devices are colorable. Choice is otherwise limited.

Item Sprites
SPRITE_KNIFE
SPRITE_CHAINSAW
SPRITE_PISTOL
SPRITE_SHOTGUN
SPRITE_CSHOTGUN
SPRITE_DSHOTGUN
SPRITE_CHAINGUN
SPRITE_BAZOOKA
SPRITE_PLASMA
SPRITE_BFG9000
SPRITE_SPEAR
SPRITE_BFG10K
SPRITE_STAFF
SPRITE_CLEAVER
SPRITE_DRAGON
SPRITE_ARMOR
SPRITE_AARMOR
SPRITE_SBOOTS
SPRITE_BOOTS
SPRITE_MOD
SPRITE_SKULL
SPRITE_AMMO
SPRITE_PAMMO
SPRITE_SHELL
SPRITE_PSHELL
SPRITE_ROCKET
SPRITE_PROCKET
SPRITE_CELL
SPRITE_PCELL
SPRITE_PHASE
SPRITE_BACKPACK
SPRITE_ENVIRO
SPRITE_HGLOBE
SPRITE_LHGLOBE
SPRITE_SUPERCHARGE
SPRITE_INV
SPRITE_MEGASPHERE
SPRITE_SHARD
SPRITE_MEDPACK
SPRITE_LMEDPACK
SPRITE_BERSERK
SPRITE_MAP
SPRITE_TMAP
SPRITE_SCHEMATIC
SPRITE_LIGHTAMP
SPRITE_NUKE
SPRITE_LAVAINV

Being Sprites

NoCorpse sprites can be accessed by adding 16 to the parent being, except in the case of oversized sprites--those just add 2. Lost Souls, pain elementals, and agony elementals do not have corpse sprites. Both the cyberdemon and mastermind are oversized sprites.

Being Sprites
SPRITE_FORMER
SPRITE_SERGEANT
SPRITE_CAPTAIN
SPRITE_COMMANDO
SPRITE_IMP
SPRITE_DEMON
SPRITE_LOSTSOUL
SPRITE_CACODEMON
SPRITE_PAIN
SPRITE_KNIGHT
SPRITE_BARON
SPRITE_ARACHNO
SPRITE_ARCHVILE
SPRITE_REVENANT
SPRITE_MANCUBUS
SPRITE_BRUISER
SPRITE_AGONY
SPRITE_MASTER
SPRITE_LAVAELEM
SPRITE_ANGEL
SPRITE_SHAMBLER
SPRITE_JC
SPRITE_CYBERDEMON
SPRITE_MASTERMIND

Cell Sprites

Many cells have multiple sprite variants that, if you want to access separately will take some trial and error. Fluids are in a 2x2 square, walls are in a 3x15 vertical rectangle, floors are a 16x1 line, and most other multi-sprite cells are adjacent. Stairs, cave walls, brick walls, and the colored boxes are colorable.

Cell Sprites
SPRITE_DOOR
SPRITE_OPENDOOR
SPRITE_HELLDOOR
SPRITE_HELLOPENDOOR
SPRITE_BARREL
SPRITE_LAVABARREL
SPRITE_ACIDBARREL
SPRITE_TREE
SPRITE_GRAYSTAIRS
SPRITE_STAIRS
SPRITE_REDSTAIRS
SPRITE_PORTAL
SPRITE_TELEPORT
SPRITE_LEVER
SPRITE_BLOOD
SPRITE_BLOODPOOL
SPRITE_CORPSE
SPRITE_WALLBLOOD
SPRITE_FLOOR
SPRITE_CAVEFLOOR
SPRITE_HELLFLOOR
SPRITE_WALL
SPRITE_CAVEWALL
SPRITE_BRICKWALL
SPRITE_TECHWALL
SPRITE_BOSSWALL
SPRITE_WATER
SPRITE_ACID
SPRITE_LAVA
SPRITE_BRIDGE
SPRITE_YBOX
SPRITE_WBOX
SPRITE_YBOXC
SPRITE_WBOXC

Missile Sprites

There are only a few missile sprites. Color shots and acid shots are colorable.

Missile Sprites
SPRITE_SHOT
SPRITE_CSHOT
SPRITE_BLAST
SPRITE_ROCKETSHOT
SPRITE_EXPLOSION
SPRITE_PLASMASHOT
SPRITE_BFGSHOT
SPRITE_FIREBALL
SPRITE_PLASMABALL
SPRITE_ACIDSHOT

Miscellaneous Sprites

These last few sprites are special purpose graphics that may still be of use. The arrow, select, and mark sprites are colorable.

Misc Sprites
SPRITE_ARROW
SPRITE_SELECT
SPRITE_MARK
SPRITE_GRID
Personal tools