📧 Message Board Archive

Needing a little help for a Dmod I am makeing
Just a quick question actully... I am new to makeing Dmods (Really new indeed.Still am learning) Anyway way my question is this.. How do you make things appear on top of other things? like food on top of tables and sutch? I remember reading about this in a tut somewhere but now I can't find it =) So I come here asking for help on this... Also I would like to know how to make a window appear higher on a object I would guess that would have something to do with my question above too because when I try to put the window higher then mid ways on the object it goes behind it... I would like to know how to stop it from doing that.. Any help would be kind

Thanks



Night Hawk....
Re: Needing a little help for a Dmod I am makeing
: Just a quick question actully... I am new to makeing Dmods (Really new indeed.Still am learning) Anyway way my question is this.. How do you make things appear on top of other things? like food on top of tables and sutch? I remember reading about this in a tut somewhere but now I can't find it =) So I come here asking for help on this... Also I would like to know how to make a window appear higher on a object I would guess that would have something to do with my question above too because when I try to put the window higher then mid ways on the object it goes behind it... I would like to know how to stop it from doing that.. Any help would be kind

: Thanks



I'm not sure I understood that window part, but the food-on-table thing is easy.



Each sprite have a "que" which determines which sprites are drawn on top of which. The hihger the value you more "on top" the sprite is. If you don't specificly set it, the sprite uses it's Y value (north-south co-ordinate) if you take a chair, and put another chair south of it, the second one would be on top. Now if you want a plate of grapes on a table, you first check the Y co-ord of the table, then add the plate and set it's que (press 8) to one more than the table's Y. Then add the grapes and make their que one higher, got it?
Re: Needing a little help for a Dmod I am makeing
: : Just a quick question actully... I am new to makeing Dmods (Really new indeed.Still am learning) Anyway way my question is this.. How do you make things appear on top of other things? like food on top of tables and sutch? I remember reading about this in a tut somewhere but now I can't find it =) So I come here asking for help on this... Also I would like to know how to make a window appear higher on a object I would guess that would have something to do with my question above too because when I try to put the window higher then mid ways on the object it goes behind it... I would like to know how to stop it from doing that.. Any help would be kind



: : Thanks



: I'm not sure I understood that window part, but the food-on-table thing is easy.



: Each sprite have a "que" which determines which sprites are drawn on top of which. The hihger the value you more "on top" the sprite is. If you don't specificly set it, the sprite uses it's Y value (north-south co-ordinate) if you take a chair, and put another chair south of it, the second one would be on top. Now if you want a plate of grapes on a table, you first check the Y co-ord of the table, then add the plate and set it's que (press 8) to one more than the table's Y. Then add the grapes and make their que one higher, got it?



Hmm ok but how do I check to see what the Y for the table is? I pressed 8 and it said it was 0 defalt so?...



Re: Needing a little help for a Dmod I am makeing
: : : Just a quick question actully... I am new to makeing Dmods (Really new indeed.Still am learning) Anyway way my question is this.. How do you make things appear on top of other things? like food on top of tables and sutch? I remember reading about this in a tut somewhere but now I can't find it =) So I come here asking for help on this... Also I would like to know how to make a window appear higher on a object I would guess that would have something to do with my question above too because when I try to put the window higher then mid ways on the object it goes behind it... I would like to know how to stop it from doing that.. Any help would be kind



: : : Thanks



: : I'm not sure I understood that window part, but the food-on-table thing is easy.



: : Each sprite have a "que" which determines which sprites are drawn on top of which. The hihger the value you more "on top" the sprite is. If you don't specificly set it, the sprite uses it's Y value (north-south co-ordinate) if you take a chair, and put another chair south of it, the second one would be on top. Now if you want a plate of grapes on a table, you first check the Y co-ord of the table, then add the plate and set it's que (press 8) to one more than the table's Y. Then add the grapes and make their que one higher, got it?



: Hmm ok but how do I check to see what the Y for the table is? I pressed 8 and it said it was 0 defalt so?...



You can see the Y for the table in the text at the bottom of the screen. The text tells you a few keys you can use and also ( when you're in sprite mode ) the X and Y for a sprite
Re: Needing a little help for a Dmod I am makeing
: : : : Just a quick question actully... I am new to makeing Dmods (Really new indeed.Still am learning) Anyway way my question is this.. How do you make things appear on top of other things? like food on top of tables and sutch? I remember reading about this in a tut somewhere but now I can't find it =) So I come here asking for help on this... Also I would like to know how to make a window appear higher on a object I would guess that would have something to do with my question above too because when I try to put the window higher then mid ways on the object it goes behind it... I would like to know how to stop it from doing that.. Any help would be kind



: : : : Thanks



: : : I'm not sure I understood that window part, but the food-on-table thing is easy.



: : : Each sprite have a "que" which determines which sprites are drawn on top of which. The hihger the value you more "on top" the sprite is. If you don't specificly set it, the sprite uses it's Y value (north-south co-ordinate) if you take a chair, and put another chair south of it, the second one would be on top. Now if you want a plate of grapes on a table, you first check the Y co-ord of the table, then add the plate and set it's que (press 8) to one more than the table's Y. Then add the grapes and make their que one higher, got it?



: : Hmm ok but how do I check to see what the Y for the table is? I pressed 8 and it said it was 0 defalt so?...



: You can see the Y for the table in the text at the bottom of the screen. The text tells you a few keys you can use and also ( when you're in sprite mode ) the X and Y for a sprite



Ok awesome I figgured it out =) Thanks alot I will probably be around here on and off asking questions when I need help =) Oh one more thing anyone know where I can find a coffen that I can use in my Dmod? could some one help me find one or make one that I could use? Thanks for the help yall =)

Night Hawk....



Re: Needing a little help for a Dmod I am makeing
: : : : : Just a quick question actully... I am new to makeing Dmods (Really new indeed.Still am learning) Anyway way my question is this.. How do you make things appear on top of other things? like food on top of tables and sutch? I remember reading about this in a tut somewhere but now I can't find it =) So I come here asking for help on this... Also I would like to know how to make a window appear higher on a object I would guess that would have something to do with my question above too because when I try to put the window higher then mid ways on the object it goes behind it... I would like to know how to stop it from doing that.. Any help would be kind



: : : : : Thanks



: : : : I'm not sure I understood that window part, but the food-on-table thing is easy.



: : : : Each sprite have a "que" which determines which sprites are drawn on top of which. The hihger the value you more "on top" the sprite is. If you don't specificly set it, the sprite uses it's Y value (north-south co-ordinate) if you take a chair, and put another chair south of it, the second one would be on top. Now if you want a plate of grapes on a table, you first check the Y co-ord of the table, then add the plate and set it's que (press 8) to one more than the table's Y. Then add the grapes and make their que one higher, got it?



: : : Hmm ok but how do I check to see what the Y for the table is? I pressed 8 and it said it was 0 defalt so?...



: : You can see the Y for the table in the text at the bottom of the screen. The text tells you a few keys you can use and also ( when you're in sprite mode ) the X and Y for a sprite



: Ok awesome I figgured it out =) Thanks alot I will probably be around here on and off asking questions when I need help =) Oh one more thing anyone know where I can find a coffen that I can use in my Dmod? could some one help me find one or make one that I could use? Thanks for the help yall =)



: Night Hawk....



You mean a coffin? AFAIK Dink doesn't have that graphic so you have to add it yourself, search the Internet I'd say. To add a new graphic, you have to edit Dink.ini. You need a dir named graphics and there you place the .bmp in. The file has to end with - and then a number which goes up as you add more .bmp files who will be in the same seq in Dink Editor:



It goes like this:

Item-01.bmp

Item-02.bmp



And you could use : Coffin-01.bmp

To add that graphic, add this line to Dink.ini ( assuming the file is in the graphics dir and you want it in seq 845:



load_sequence graphics\coffin- 845



The .bmp file named Coffin-01.bmp is now added to the seq 845. You could even create an animation like this ( like a coffin opening and a monster comes out)!



Simeon