Illuminating Sprites with Iffpencil2

START WITH IFFPENCIL2

Well technically you started with Transmogrifier (lovingly referred to as T-mog from here on out) and cloned an object but we'll ignore that, shall we, and move on to IffPencil2 (which will lovingly be referred to as IffPencil from here on out)

Open our file in IffPencil.

We are concentrating on the DRGP and SPR2 resources only for this project. Our table has one of each bless it's simplistic little self.

The DRGP is the one the game considered "the graphic" When a BHAV says to refresh graphic it's talking about the Drawgroup. The Drawgroup is the one that refers to the SPR2 and has the X and Y cords in it, a few other bits of info and basically assembles all of the pieces.

The SPR2 resource is a collection of pieces itself. It's the P and A channels and that z-buffer that we love to export, recolor and import with such wonderful abandon.

May not mean much at the moment but come back round and re-read that after you've finished the tutorial. It explains why we are doing what we are about to do.

1) DUPLICATE EACH SPR2 RESOURCE

Go to your SPR2 resource and duplicate it by right-clicking and choosing Duplicate. You'll need to give it a new id# and should give it a distinctive name. Change the id# to 101 and change the name to TableRave-lights.

Since the SPR2 resource is the one holding the P, A and Z sprites the name you give it will be reflected in the sprite names when you export. A descriptive name makes them easier to work with later.


Continue to next page: Step Two - Add new SPR2s to DRGPs

Author: Raeven