Dink.ini naming issues
OK guys, i have a real big ass question:
in WDE or DE, when you select the sprites, you see the sprite selection screen, with all the sprite boxes there... when you click onto one of hose boxes, you see all the sprites from that sequence number. I understand that all _animations_ are put in a group of their own, and the game engine simply runs through the sprite files in the correct order.
OK, so what about non-animation sprites? i know you can add them to the groupings by themselfs, by doing something like this:
load_sequence graphicsstructvikinggh- 850 NOTANIM
but what do i do, when i want to get some more sprites, with different filenames, into that same group? Also, how does the numbering work? i have heard about sequences starting in multiples of 10 (like for the base walk/attack animation), but there are more then 10 sprites in the "inner" screens!
man, i hope someone can make this understandable to me
Sequences:
You are right, You need 20 sequences for 1 guy:
example:
---------------------
810 ( leave empty )
811 ( dude walks sw )
812 ( dude walks s )
813 ( dude walks se )
814 ( dude walks w )
815 ( dude is dead )
816 ( dude walks e )
817 ( dude walks nw )
818 ( dude walks n )
819 ( dude walks ne )
---------------------
820 ( leave empty )
821 ( dude attacks sw )
....
....
....
....
829 ( dude attacks ne )
what happens when he attacks ne??? Dinkengine will play every frame in 829... Simple
What happens when he walks sw? Dinkengine will play every frame in 811
you get the point, if you done that, make sure when you place him that you add this to his script:
sp_base_walk(&current_sprite, 810);
sp_base_attack(&current_sprite, 820);
You cannot put different filenames in the same group, give them the same name...
You are right, You need 20 sequences for 1 guy:
example:
---------------------
810 ( leave empty )
811 ( dude walks sw )
812 ( dude walks s )
813 ( dude walks se )
814 ( dude walks w )
815 ( dude is dead )
816 ( dude walks e )
817 ( dude walks nw )
818 ( dude walks n )
819 ( dude walks ne )
---------------------
820 ( leave empty )
821 ( dude attacks sw )
....
....
....
....
829 ( dude attacks ne )
what happens when he attacks ne??? Dinkengine will play every frame in 829... Simple
What happens when he walks sw? Dinkengine will play every frame in 811
you get the point, if you done that, make sure when you place him that you add this to his script:
sp_base_walk(&current_sprite, 810);
sp_base_attack(&current_sprite, 820);
You cannot put different filenames in the same group, give them the same name...
: Sequences:
: You are right, You need 20 sequences for 1 guy:
: example:
: ---------------------
: 810 ( leave empty )
: 811 ( dude walks sw )
: 812 ( dude walks s )
: 813 ( dude walks se )
: 814 ( dude walks w )
: 815 ( dude is dead )
: 816 ( dude walks e )
: 817 ( dude walks nw )
: 818 ( dude walks n )
: 819 ( dude walks ne )
: ---------------------
: 820 ( leave empty )
: 821 ( dude attacks sw )
: ....
: ....
: ....
: ....
: 829 ( dude attacks ne )
: what happens when he attacks ne??? Dinkengine will play every frame in 829... Simple
: What happens when he walks sw? Dinkengine will play every frame in 811
: you get the point, if you done that, make sure when you place him that you add this to his script:
: sp_base_walk(&current_sprite, 810);
: sp_base_attack(&current_sprite, 820);
: You cannot put different filenames in the same group, give them the same name...
Eh, no, you can't give several files the same name.
What you do is:
file-01.bmp
file-02.bmp
file-03.bmp
...
file-20.bmp
...
file-49.bmp
like so. Then in Dink INI, you load them like you did, "load_sequence graphicsfile-"
: You are right, You need 20 sequences for 1 guy:
: example:
: ---------------------
: 810 ( leave empty )
: 811 ( dude walks sw )
: 812 ( dude walks s )
: 813 ( dude walks se )
: 814 ( dude walks w )
: 815 ( dude is dead )
: 816 ( dude walks e )
: 817 ( dude walks nw )
: 818 ( dude walks n )
: 819 ( dude walks ne )
: ---------------------
: 820 ( leave empty )
: 821 ( dude attacks sw )
: ....
: ....
: ....
: ....
: 829 ( dude attacks ne )
: what happens when he attacks ne??? Dinkengine will play every frame in 829... Simple
: What happens when he walks sw? Dinkengine will play every frame in 811
: you get the point, if you done that, make sure when you place him that you add this to his script:
: sp_base_walk(&current_sprite, 810);
: sp_base_attack(&current_sprite, 820);
: You cannot put different filenames in the same group, give them the same name...
Eh, no, you can't give several files the same name.
What you do is:
file-01.bmp
file-02.bmp
file-03.bmp
...
file-20.bmp
...
file-49.bmp
like so. Then in Dink INI, you load them like you did, "load_sequence graphicsfile-"
;;You cannot put different filenames in the same
;;group, give them the same name...
;Eh, no, you can't give several files the same
;name.
hey, phoenix, you dont have to repeat me
;;group, give them the same name...
;Eh, no, you can't give several files the same
;name.
hey, phoenix, you dont have to repeat me
: ;;You cannot put different filenames in the same
: ;;group, give them the same name...
: ;Eh, no, you can't give several files the same
: ;name.
: hey, phoenix, you dont have to repeat me
Tell me what I repeated that you said, and I'll apologize. I did not say one thing that you did, so stfu.
: ;;group, give them the same name...
: ;Eh, no, you can't give several files the same
: ;name.
: hey, phoenix, you dont have to repeat me
Tell me what I repeated that you said, and I'll apologize. I did not say one thing that you did, so stfu.
Every thing I said,
I said: You need to give them the same name:
like: file-01.bmp
file-02.bmp
then you say: No you cannot give them the same name, do it like this: file-01, file-02...
I think thats the same...
I said: You need to give them the same name:
like: file-01.bmp
file-02.bmp
then you say: No you cannot give them the same name, do it like this: file-01, file-02...
I think thats the same...
No, you just wasn't very clear.
--WC
--WC
: Every thing I said,
: I said: You need to give them the same name:
: like: file-01.bmp
: file-02.bmp
: then you say: No you cannot give them the same name, do it like this: file-01, file-02...
dang, thats a bt of a pain then... I can't put the "wells" with the "fountains", unless i call them by the same name... hmmm...
BTW, what is the max. frame number?? it's around 900, right?
: I said: You need to give them the same name:
: like: file-01.bmp
: file-02.bmp
: then you say: No you cannot give them the same name, do it like this: file-01, file-02...
dang, thats a bt of a pain then... I can't put the "wells" with the "fountains", unless i call them by the same name... hmmm...
BTW, what is the max. frame number?? it's around 900, right?
1000 sequences, 50 frames in 1 sequence, so you can import 50000 bmps in the game...