Displayspeech with a wave or mp3

Started by , Tue 25/01/2005 14:50:52

Previous topic - Next topic

Magnus

I have this script that says DisplaySpeech(HIST " &1 test test test test.");
The &1 is a wave files called "HIST01", but when a preview the game, it comes up with a warning "can not add HIST01.wave because it is a LFN"

This is a very basic scripting, but where is the error?
...and what is a LFN? ???
thank you

-magnus.   

Ishmael

LFN, if I recall correctly, is Long File Name, but I recall also version 2.6 removing the issue with LFN... or something. Is the file extension really ".wave"? If so, try changing it to ".wav"... just a thought...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Magnus

Maybe i shouldn't call it .wav at all?
The LFN warning stills bugs me, cus it doesn't matters if the file named "01" or "HIST01" it keeps on telling my its a LFN...
but thanks anyway...

Ishmael

What format it actually is? Though most of the players can play it, you can get a conflict at some point of you name a .mp3 encoded file to .wav extension.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Magnus

Yeah ofcouse, but a have tried with both .mp3 and .wav and even .ogg....
And i've tried with the names "sound01" and "hist01" (it's the characters name).

But i've give it a last shot tonight before i'll smash the computer out of the window..hehe...

Ishmael

You've tried rebuilding VOX files? Or is that what gives you the error?

Smells like a bug... or then I've overlooked something...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Scorpiorus

Yeah, naming the file right is important thing here. I'm not sure about why AGS treats it as a LFN but if I remeber correctly there shoudn't be any leading zeros:

hist1.wav
hist0.wav
hist12.wav

Ishmael

Ach, right... ::) yes indeed, leading zeros...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

strazer

QuoteI have this script that says DisplaySpeech(HIST " &1 test test test test.");

I guess you forgot to add the comma when posting here?

DisplaySpeech(HIST, " &1 test test test test.");

And before anyone asks, there's a tracker for xxx001.xxx-style file names: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=139

Magnus Damgaard

Quote from: strazer on Tue 25/01/2005 18:03:20
QuoteI have this script that says DisplaySpeech(HIST " &1 test test test test.");

I guess you forgot to add the comma when posting here?

DisplaySpeech(HIST, " &1 test test test test.");

And before anyone asks, there's a tracker for xxx001.xxx-style file names: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=139
thanks guys....i did it my own way....

TerranRich

Which was? Geez, I wish people would tell us what they did to solve their problem, so we can tell others. A lot of people keep doing this, saying simply "Never mind, fixed it," or "Delete this thread" or something like that. Tell us what you did!! :P
Status: Trying to come up with some ideas...

Ishmael

Add it to the rules :P "If you solve the problem yourself or by off-forum help, come back to tell how you did it."
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk