The Dink Network

more dink.ini woes..

December 8th 2002, 02:06 AM
stonegiant.gif


OK, from Gary Hertel's dink.ini index:

[i]

1 = sequence

2 = frame (the frame of the sequence)

3 = frame delay (the length of the delay between frames)

...

// This command should load the graphic when it is needed

load_sequence graphicspath- 1 3 4 5 7 8 9

[/i]

ok, what i don't understand is:

i have an animation, 25 frames long, of some smoke. it's called graphics/chim/chim-**.bmp

how can i add this to dink.ini. i thought you could do something like:

load_sequence graphics/chim/chim- 850 75

where 850 is the frame number, and 75 is the frame delay. but the dink.ini index file talks about the animation "frame", what is this? is this right? what? arrrrgggg....
December 8th 2002, 02:45 AM
sob_scorpy.gif
Tyrsis
Peasant She/Her Russia
 
: OK, from Gary Hertel's dink.ini index:

: [i]

: 1 = sequence

: 2 = frame (the frame of the sequence)

: 3 = frame delay (the length of the delay between frames)

: ...

: // This command should load the graphic when it is needed

: load_sequence            graphicspath-      1   3 4 5      7 8 9

: [/i]

: ok, what i don't understand is:

: i have an animation, 25 frames long, of some smoke. it's called graphics/chim/chim-**.bmp

: how can i add this to dink.ini. i thought you could do something like:

: load_sequence graphics/chim/chim- 850 75

: where 850 is the frame number, and 75 is the frame delay. but the dink.ini index file talks about the animation "frame", what is this? is this right? what? arrrrgggg....

Some dink.ini commands deal with frames, the frame is a single bmp of a sequence (e.g. set_sprite_info, set_frame_frame).

The command you refer to is not dealing with separate frames.
December 8th 2002, 03:34 AM
old.gif
just do:

load_graphics graphics/name- 850

and go into dinkedit

then, go to the sequence and select 1 frame and press [e], then just make the hardness and such... and when you are done... Go back and open dink.ini again... And watch///
December 8th 2002, 06:22 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
: OK, from Gary Hertel's dink.ini index:

: [i]

: 1 = sequence

: 2 = frame (the frame of the sequence)

: 3 = frame delay (the length of the delay between frames)

: ...

: // This command should load the graphic when it is needed

: load_sequence            graphicspath-      1   3 4 5      7 8 9

: [/i]

: ok, what i don't understand is:

: i have an animation, 25 frames long, of some smoke. it's called graphics/chim/chim-**.bmp

: how can i add this to dink.ini. i thought you could do something like:

: load_sequence graphics/chim/chim- 850 75

: where 850 is the frame number, and 75 is the frame delay. but the dink.ini index file talks about the animation "frame", what is this? is this right? what? arrrrgggg....

Let me explain if the others' posts aren't enough.

A sequence exists out of several bmps, such as Dink's idle animation, or a bonca slashing with its tail, etc... A frame would is one of those bmps.

load_sequence graphics/chim/chim- 850 75 would simply place your "sequence" of bmps in sequence slot number 850. You can track this one down at the end of your list in DinkEdit. The 75 refers to the frame delay. This will make the sequence wait 75 milliseconds between frames.

Since you can only have 50 frames in 1 sequence, frame 850 would be impossible.

You may have known several things I explained here, but in any case, this should help you out to include your own graphics.
December 8th 2002, 09:20 AM
wizardg.gif
Paul
Peasant He/Him United States
 
: load_sequence graphics/chim/chim- 850 75

: where 850 is the frame number, and 75 is the frame delay. but the dink.ini index file talks about the animation "frame", what is this? is this right? what? arrrrgggg....

Like the rest have said, you don't need to worry about frames for this part. What you said should work. Have you tried it? If you have and it still doesn't work the problem is somewhere else.
December 8th 2002, 03:02 PM
stonegiant.gif
: : load_sequence graphics/chim/chim- 850 75

: : where 850 is the frame number, and 75 is the frame delay. but the dink.ini index file talks about the animation "frame", what is this? is this right? what? arrrrgggg....

: Like the rest have said, you don't need to worry about frames for this part. What you said should work. Have you tried it? If you have and it still doesn't work the problem is somewhere else.

so how can i set what the frame delay is between frames? or can you not do that at all
December 8th 2002, 03:11 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
: so how can i set what the frame delay is between frames? or can you not do that at all

Use this in dink.ini

SET_FRAME_DELAY

will allow you to specify a specific frame delay for one frame. It is (mainly) used in attacking graphics, including Dink's sword. So that the frame of the animation that actually hits (which is set by using SET_FRAME_SPECIAL)

//bow weapon diags

load_sequence_now graphicsdinkowhitd-ba1- 101 75 57 84 -20 -12 20 12

load_sequence_now graphicsdinkowhitd-ba3- 103 75 33 86 -19 -13 19 13

load_sequence_now graphicsdinkowhitd-ba7- 107 75 54 82 -19 -11 19 11

load_sequence_now graphicsdinkowhitd-ba9- 109 75 37 78 -21 -10 21 10

//set which frame can 'hit'

set_frame_special 102 3 1

set_frame_special 104 3 1

set_frame_special 106 3 1

set_frame_special 108 3 1

//make it delay on the third sprite for longer than 75

set_frame_delay 102 2 100

set_frame_delay 104 2 100

set_frame_delay 106 2 100

set_frame_delay 108 2 100

Hope this helps

December 8th 2002, 03:52 PM
wizardg.gif
Paul
Peasant He/Him United States
 
: so how can i set what the frame delay is between frames? or can you not do that at all

No, what you said was right:

load_sequence graphics/chim/chim- 850 75

That would set the frame delay to 75 ms. I just wasn't counting "frame delay" as about "frames", sorry for the confusion. Oh and what SimonK said is correct too, but the SET_FRAME_DELAY commend is normally only required if you want the frames in a sequnce to have different speeds.
December 8th 2002, 09:44 PM
stonegiant.gif
: : so how can i set what the frame delay is between frames? or can you not do that at all

: No, what you said was right:

: load_sequence graphics/chim/chim- 850 75

: That would set the frame delay to 75 ms. I just wasn't counting "frame delay" as about "frames", sorry for the confusion. Oh and what SimonK said is correct too, but the SET_FRAME_DELAY commend is normally only required if you want the frames in a sequnce to have different speeds.

awesome, just what i wanted. thank you!