Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Music Help (https://forums.graalonline.com/forums/showthread.php?t=32469)

WoRlaNN2k 06-28-2002 08:08 PM

Music Help
 
Argh... I have forgotten how to put midis into levels :( . I know you used the play or playlooped command, but the file I want it to play isn't playing.
I seriously have forgotten what to do... this is what I have done but it doesn't seem to work.

if (created) {
play home.mid;
}

The above doesn't work, but alter it a bit...

if (created) {
play stef1.mid;
}

That one works. The home.mid is in the same directory as stef1.mid, and it is a valid MIDI file. What am I doing wrong?

Dragona2002 06-29-2002 01:05 AM

is it good sound streaming ?


u cant play a midid if its to high sound graphical

WoRlaNN2k 06-29-2002 01:25 AM

1 Attachment(s)
what do you mean by too high sound graphical? I thought it said anything that Windows Media Player can play...

Here it is if you want to see if its too high quality.

draygin 06-29-2002 01:35 AM

Quote:

Originally posted by WoRlaNN2k
what do you mean by too high sound graphical? I thought it said anything that Windows Media Player can play...

Here it is if you want to see if its too high quality.

In my experince all you need is

play midiname.mid;

none of the other stuff.

But I have used

if (playerenters){play midiname.mid}

hmm I think I"ve seen it as set midi or something before.

adam 06-29-2002 10:31 AM

Quote:

Originally posted by WoRlaNN2k
what do you mean by too high sound graphical? I thought it said anything that Windows Media Player can play...

Here it is if you want to see if its too high quality.

Personally i've never made an npc that had to play a midi. :-(

But I do remember hearing graal could play anything windows media player could play.

Technically you could play .avi's

Torankusu 06-29-2002 12:20 PM

would giving it all small ".mid" help?

LilNiglet 06-29-2002 12:47 PM

if (playerenters){
playlooped ***music.mid;
}

>:O

Poogle 06-29-2002 09:58 PM

Quote:

Originally posted by Dragona2002
is it good sound streaming ?


u cant play a midid if its to high sound graphical

so thats why i dont here music (real music) !

Dragona2002 06-29-2002 10:10 PM

.........U CANT.....................

WoRlaNN2k 06-29-2002 10:23 PM

if graal can play any of those stef1-whatever.mid, then it definitely should be able to play the one I'm trying to use...

Admins 07-01-2002 01:23 AM

Hmmm check if the file name is lower case, and that there is only one home.mid file in the Graal folders

WoRlaNN2k 07-01-2002 05:14 AM

Its lower case and there is only one... argh its not working :(


All times are GMT +2. The time now is 11:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.