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.
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...
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...
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.
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...
You've tried rebuilding VOX files? Or is that what gives you the error?
Smells like a bug... or then I've overlooked something...
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
Ach, right... ::) yes indeed, leading zeros...
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
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....
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
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."