The Dink Network

several questions?

March 23rd 2005, 12:37 PM
milder.gif
Is there a LEGAL webiste where you can get free .midi files?

Does someone has an example of a script that includes "My backpack is full, you can't carry anymore items" lines. Because I have trouble of learning that part and creating that part of the script.
And Do I have to put it in every script of getting things.
A simple example of it is also quiet welcome and some explaining about would be rather nice.

How can I stop a midi file playing because a wave must starting to play? ANd the other way back a wave sound must stop and a midi must started to play.

And I am still hating it that I can't manage screenshots. I am trying for making some for quiet some time now but I can't figure it out.
I am using a trial version of Paint Shop Pro. But I really get them all black every time. Or they are becoming quiet ugly or the colors are wrong. Does anyone has some good suggestions on that?
March 23rd 2005, 04:04 PM
milder.gif
I already found sites for free midifiles.

Now my other questions still remain.

Please help?
March 23rd 2005, 04:14 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
Free Irfanview
Then past your image into the Irfanview,
click 'Image' then 'Pallette' then 'import
pallette'.You should already have the pallette
from this site.Although you can also open the main screen from frontend and 'export pallette' with the Irfanview.
Hope that makes some sense and helps.
March 23rd 2005, 06:05 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
As for the free items thing...

Usually you use a local variable...

&acrap = free_items();

if (&acrap > 0)
{
//put in stuff here that gives dink a new item etc
} else
{
say("Hmmm, my back pack is full, I need to get rid of some stuff", 1);
}
And yes you will have to use this in every script it is one that will then use...

add_item();

Just put it in the touch procedure.

March 23rd 2005, 07:09 PM
milder.gif
Thank you all for you're answers. Now there is still one question left. When you are helping me with that one I will be very pleased.
March 23rd 2005, 09:46 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
To stop a midi file use the stopmidi() command (I think) take a look at the DinkC reference - if you use the WinHelp version I did you have a whole category that lists various commands relating to sound.

Short answer regarding stopping a wav file is you can't actually stop it. You can tgry to make it really really soft via it's sound bank number and some command that sets a sound level - but I've never tried it, and don't have DinkC Ref in front of me at the moment. Good luck with your research!
March 24th 2005, 07:49 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
...if you use the WinHelp version I did you have a whole category that lists various commands relating to sound...

That's also in the text version under Command Categories and then Sound
March 26th 2005, 05:17 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
True, but then the sound commands are just a click away in the WinHelp version...