There's Something REALLY strange going on
I've recently been trying to put my own graphics into my new D-mod, I've looked at tutorials and even copied stuff that people have said has worked such as "How to add custom graphics?" I followed along and downloaded the same file but it didn't work. I've tried loads of things in the Dink ini file but I can't get it to work. What I found interesting was that when I ran it in debug it came up saying:
"Dink:load_sprites: Anim ..\dink\graphics\debris\debri-01 not found."
which I thought was odd because I put in the ini file:
"load_sequence_now graphics\debris\debri-01 98"
Could someone PLEASE tell me what is going on or what am I doing wrong.
"Dink:load_sprites: Anim ..\dink\graphics\debris\debri-01 not found."
which I thought was odd because I put in the ini file:
"load_sequence_now graphics\debris\debri-01 98"
Could someone PLEASE tell me what is going on or what am I doing wrong.
The line should go like this:
"load_sequence_now graphics\debris\debri- 98"
"load_sequence_now graphics\debris\debri- 98"
So would this be ok for a sequence of a barrel rolling on it's side?
load_sequence_now graphics\barrels\bar- 98 1 NOTANIM
load_sequence_now graphics\barrels\bar- 98 1 NOTANIM
NOTANIM means that the sequence in which you are loading your sprites is not animation.
So if you want to play some animation of a barrel rolling on its side, it should be something like this:
load_sequence_now graphics\barrels\bar- 98(I couldn't understand what that 1 was doing here. Was the sequence no. 981?)
So if you want to play some animation of a barrel rolling on its side, it should be something like this:
load_sequence_now graphics\barrels\bar- 98(I couldn't understand what that 1 was doing here. Was the sequence no. 981?)
Oh yeah, thanks. I thought that I read in the dinkini-index that NOTANIM meant that it could, I can see now that I'm wrong.
the sequence was 98 (the default free one I think) and the one was something to do with the frame.
When I got the Debris one working I couldn't find it in the sprite bank in WDE but I could load it using a script, am I just blind or do I need to do something else?
the sequence was 98 (the default free one I think) and the one was something to do with the frame.
When I got the Debris one working I couldn't find it in the sprite bank in WDE but I could load it using a script, am I just blind or do I need to do something else?
Hey I just found the Debris sprites
All is not lost
It still can't find the barrel sequence
Do you need a new line for each sprite in the sequence? That's where I thought you put the file name, e.g.
load_sequence_now graphics\barrels\bar-1 98
load_sequence_now graphics\barrels\bar-2 98 etc.etc.
I first tried it like that but then I got rid of it when I saw the scripts posted on the board.
All is not lost
It still can't find the barrel sequence
Do you need a new line for each sprite in the sequence? That's where I thought you put the file name, e.g.
load_sequence_now graphics\barrels\bar-1 98
load_sequence_now graphics\barrels\bar-2 98 etc.etc.
I first tried it like that but then I got rid of it when I saw the scripts posted on the board.
You named your files "bar-1" "bar-2"...? If that's the case, the number should always be two digits. So with that stated, they should be named "bar-01" "bar-02" and so on and so forth "bar-10" yada yada yada.
You would just load in the ini like this. The number in the name after "bar-" is the frame number. You don't include the frame number as it does all the frame numbers of that sequence in that line.
load_sequence_now graphics\barrels\bar- 98
You would just load in the ini like this. The number in the name after "bar-" is the frame number. You don't include the frame number as it does all the frame numbers of that sequence in that line.
load_sequence_now graphics\barrels\bar- 98
You don't need to add a new line for each barrel graphic. As was previously said,
load_sequence_now graphics\barrels\bar-
Edit..beat me to it, wolf....
load_sequence_now graphics\barrels\bar-
Edit..beat me to it, wolf....
Hmmm...
Thanks for some beautifully described instructions but something still isn't working. I'm sure it's something I'm doing not your script.
I renamed all the barrel bmps to bar01 - bar 08 as you said.
I copied your script line. load_sequence_now graphics\barrels\bar- 98
I put it in the ini file down the bottom (as you said it doesn't matter where it goes).
I tried it in WDE (after closing and reopening) and couldn't find it.
I ran my D-mod in Debug and it couldn't find it.
Edit: I found something I thought was interesting, in the Debug txt it had:
Dink:load_sprites: Anim ..\dink\graphics\barrels\bar1\- not found.
and a one for debris as well even though there was no debris line in the ini file at all.
Either it just hadn't rewrote the debug or something strange was going on.
Thanks for some beautifully described instructions but something still isn't working. I'm sure it's something I'm doing not your script.
I renamed all the barrel bmps to bar01 - bar 08 as you said.
I copied your script line. load_sequence_now graphics\barrels\bar- 98
I put it in the ini file down the bottom (as you said it doesn't matter where it goes).
I tried it in WDE (after closing and reopening) and couldn't find it.
I ran my D-mod in Debug and it couldn't find it.
Edit: I found something I thought was interesting, in the Debug txt it had:
Dink:load_sprites: Anim ..\dink\graphics\barrels\bar1\- not found.
and a one for debris as well even though there was no debris line in the ini file at all.
Either it just hadn't rewrote the debug or something strange was going on.
Just to make sure... did you name them exactly "bar01" or "bar-01"? If you don't have the "-" in the file name you can't have it in the ini line. Also make sure they are in the correct location (folder).
HEEEEEEEEY!!
Your a saint rabidwolf.
It WORKS
I would say I love you but that might be going a bit too far.
Your a saint rabidwolf.
It WORKS
I would say I love you but that might be going a bit too far.
No problem. Just remember to check these kinds of things if you can't seem to find where you went wrong and you think the coding is right
Yeah I sure will,
thanks again
The main thing for me is working it out the first time, after that it's really easy.
Just about every command in my D-mod's scripts so far have been hard to get them to work the first time I used them, after that I can use them all the time without any trouble.
The problem I had doing graphics was there was nothing much like them, and I hadn't done anything with the ini file before.
Thanks rabidwolf, you rock, along with everyone else on the board.
thanks again
The main thing for me is working it out the first time, after that it's really easy.
Just about every command in my D-mod's scripts so far have been hard to get them to work the first time I used them, after that I can use them all the time without any trouble.
The problem I had doing graphics was there was nothing much like them, and I hadn't done anything with the ini file before.
Thanks rabidwolf, you rock, along with everyone else on the board.










