I need assistance!
I'm trying to make my first D-mod. But I have a bit of a problem with the sprites. I can't put fire into the fireplace because if I move the fire there it goes behind the fireplace. How can I put the fire in the front? Please somebody help me.
P.S.: I'm using WinDinkEdit.
P.S.: I'm using WinDinkEdit.
Okay, first check the properties of the fireplace and make note of its Y-coordinate value. Now, check the properties of the fire. Change the fire's depth que to 1 greater than whatever the fireplace's Y-coordinate was.
I have almost the same problem again. I made a pumpkin field, but when Dink walks over them he disappears behind them. It's very annoying to see. How can I slove this problem?
The next sprite will have the same properties as the last sprite, that is, if you set a sprite's depth que to 400 the next sprite will have the same depth que as well. If you give a sprite a brain 6, the next sprite will have that brain as well. That's why it's important to remember to change the attributes when you change the type of sprite you're putting on the screen.
Paul's Sprite Replacer is excellent for fixing a lot of mistakes like that.
Paul's Sprite Replacer is excellent for fixing a lot of mistakes like that.
No, that's normally only in DinkEdit, not in WinDinkEdit.
To solve the Pumpkinfield problem just make all the sprites you don't want Dink to be behind a background sprite. (Just tick the box 'background' instead of 'Person/Creature' in the sprite's property menu.)
To solve the Pumpkinfield problem just make all the sprites you don't want Dink to be behind a background sprite. (Just tick the box 'background' instead of 'Person/Creature' in the sprite's property menu.)
Drat, screw windinkedit then. I thought about checking that out but a 50/50 chance of being right seemed good enough.
The pumpkinfield is now working. Thank you very much.
Now I had 2 other problem:
1. How can I make the pigs walk? I gave pig brain to them but this affected only the sounds. After that I set the speed to 1 and the pigs are skating now.
2. The door isn't opens when I enter a house. I noticed that there is a 'opening door' animation but I don't know how to use it.
Now I had 2 other problem:
1. How can I make the pigs walk? I gave pig brain to them but this affected only the sounds. After that I set the speed to 1 and the pigs are skating now.
2. The door isn't opens when I enter a house. I noticed that there is a 'opening door' animation but I don't know how to use it.
1. Give it a walk sequence of 40.
2. Give it a touch sequence of 50, 51, 61 or 62, depending on which door you are using.
2. Give it a touch sequence of 50, 51, 61 or 62, depending on which door you are using.
Thanks! How did you know? Is it written somewere?
I need this numbers for other sprites (e.g.: ducks). Where can I find them?
I need this numbers for other sprites (e.g.: ducks). Where can I find them?
I am bad at explaining things, but I'll try.
Enter the sprite selection screen. Look at the sprite you are using. If it is, say, one of the doors, then it's number is going to be 61. You can see the number in the low edge of the screen. Click on that sprite and you will see the sequence for 61.
Thus, the sequence for a duck's walk is 20.
Enter the sprite selection screen. Look at the sprite you are using. If it is, say, one of the doors, then it's number is going to be 61. You can see the number in the low edge of the screen. Click on that sprite and you will see the sequence for 61.
Thus, the sequence for a duck's walk is 20.
After experimenting a little, I discovered that you don't need to change the depth que to 1 greater, if you just make it equal, it will still stay on top. What's with that?
That's not behaviour that can be relied upon, it probably means the it stays on top because of the drawing order of the sprites. To guarantee that it'll be on top in all situations, the depth que needs to be modified.
Yes, yes, I agree. It's like how Sparrowhawk recently discovered you don't need the ampersand (&) for global variables. Same with the semi colon ( ; ) for wait(); commands. Though, it's safer to use them, as you said.