The Dink Network

Reply to Re: Weird hardness error

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
February 23rd 2004, 05:19 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
You probably ran out of SAVE_SPRITE_INFO lines. Fixing it is a she dog... either combine multiple SAVE_SPRITE_INFO lines into a single LOAD_SEQUENCE line, or delete ones that you don't use.

To combine, say you have a sequence with six frames. Each of them has the same hard-box, but you have six seperate SAVE_SPRITE_INFO lines, so your dink.ini looks something like this:

LOAD_SEQUENCE_NOW graphics\king- 34 75
SET_SPRITE_INFO 34 1 70 112 -70 -35 70 15
SET_SPRITE_INFO 34 2 70 112 -70 -35 70 15
SET_SPRITE_INFO 34 3 70 112 -70 -35 70 15
SET_SPRITE_INFO 34 4 70 112 -70 -35 70 15
SET_SPRITE_INFO 34 5 70 112 -70 -35 70 15
SET_SPRITE_INFO 34 6 70 112 -70 -35 70 15

Instead of putting the hardbox information in the SAVE_SPRITE_INFO lines, put it in the LOAD_SEQUENCE_NOW like so:

load_sequence_now graphics\king- 34 75 70 112 -70 -35 70 15

And you just freed yourself 6 SAVE_SPRITE_INFO spots.