Dink.ini, complicated :|
I'm adding some new graphics to my upcoming D-Mod but I have some annoying problems. My knowledge in dink.ini sucks, yeah, really sucks. I've read about hardboxing in the reference but I don't get it. It seems so complicated. How did you learn? I would really appreciate some advices!
I used Advanced Dink.ini Editing (by RedInk)
and Dink.ini Index (by Gary Hertel) tutorials
and Dink.ini Index (by Gary Hertel) tutorials
Gah! I thought that I've had figured it out, but apparently there's still some unclear points.
The hardbox is right now but the depth que isn't! What's causing that?
Would appreciate some more help...
The hardbox is right now but the depth que isn't! What's causing that?
Would appreciate some more help...
What do you mean by "depth que" in dink.ini? Do you mean the x,y sprite center?
By the way, if you edited your sprite in Dinkedit, make sure there isn't a duplicate 'load_sequence' or 'set_sprite_info' at the end of dink.ini that replaces the configuration for that sprite.
By the way, if you edited your sprite in Dinkedit, make sure there isn't a duplicate 'load_sequence' or 'set_sprite_info' at the end of dink.ini that replaces the configuration for that sprite.
What I meant with the depth was that I've added some new trees but dink can walk in front of the tree where he shouldn't. Dink should be behind the tree, not atop of it. That's my problem.
Suggestions?
Suggestions?
You probably need to edit the depth dot (x,y "coordinate center" in the dink.ini index tutorial) and place it at the base of the tree. Best done with *dinkedit
Have you by any chance set your sprite as a background sprite? There are "normal" sprites, that can be walked behind, and background ones, those are allways behind.
No, they aren't set as background sprites (wish they were!).
"You probably need to edit the depth dot (x,y "coordinate center" in the dink.ini index tutorial) and place it at the base of the tree. Best done with *dinkedit "
But I made the current depth dots in dinkedit, should I delete them and try again?
(This reminds me of my early days of '06)
"You probably need to edit the depth dot (x,y "coordinate center" in the dink.ini index tutorial) and place it at the base of the tree. Best done with *dinkedit "
But I made the current depth dots in dinkedit, should I delete them and try again?
(This reminds me of my early days of '06)
There's a bug with setting depth dots in Dinkedit, the sprite info will all be on one row in dink.ini and needs to be fixed manually. Awesome demonstration:
SET_SPRITE_INFO 91 4 56 59 -48 -30 21 8SET_SPRITE_INFO 91 4 56 59 -48 -30 21 8
SET_SPRITE_INFO 91 4 56 59 -48 -30 21 8SET_SPRITE_INFO 91 4 56 59 -48 -30 21 8
I noticed that error too, Scratcher... I corrected it, but my problem still remains.
Well, one more stupid question...
You noticed that in dinkedit hard box (black square) and depth dot (thin black cross) are edited separately, yes?
That thin cross is at the tree's roots?
You noticed that in dinkedit hard box (black square) and depth dot (thin black cross) are edited separately, yes?
That thin cross is at the tree's roots?
Nope, I didn't have the tree's roots at the black cross. How are they edited separately? It didn't seem to work to get the hard box right on the black cross..
I feel so dumb.
I feel so dumb.
Maybe you just changed the tree's depth queue (attribute '8' in Dinkedit)?
Otherwise, well, add your tree in a skeleton d-mod and make it downloadable somewhere so everybody can investigate
Otherwise, well, add your tree in a skeleton d-mod and make it downloadable somewhere so everybody can investigate
The thing is, I don't really know how to move the hard box (the black square) to the depth dot (the thin cross). How?
There's just two directions I can move it, down and to the left... Odd.
There's just two directions I can move it, down and to the left... Odd.
Well, there are three "modes" in hardness editing that you can toggle with the tabulator. One expands the hardbox right and down, one expands it up and left and one moves the depth dot...