SNDINFO Help

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
ChronoSeth
Posts: 1631
Joined: Mon Jul 05, 2010 2:04 pm
Location: British Columbia

SNDINFO Help

Post by ChronoSeth »

For some reason ZDoom gives me the error "Missing string (unexpected end of file)", which is apparently caused by the last line of the script, mostly regardless of what is there. Placing a dummy "" at the end makes ZDoom start, but the SNDINFO lump doesn't work. I can't figure out what's wrong, possibly due to the size of the file. :?

Help?
Spoiler: Code
Edit: I almost forgot to mention that commenting out $ambient on all the lines it's used on stops the error from occuring.
User avatar
RV-007
Posts: 1501
Joined: Fri Sep 02, 2011 9:00 pm
Location: Dying w/ civilization or living after it
Contact:

Re: SNDINFO Help

Post by RV-007 »

I had this a while ago. Try to see if the other lumps are calling any specified sound names within the SNDINFO lump. Maybe that works.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: SNDINFO Help

Post by Tapwave »

Did you tried putting al ine break after "$ambient 69 world/wind2 POINT CONTINUOUS 1.0"
User avatar
ChronoSeth
Posts: 1631
Joined: Mon Jul 05, 2010 2:04 pm
Location: British Columbia

Re: SNDINFO Help

Post by ChronoSeth »

RV-007 wrote:I had this a while ago. Try to see if the other lumps are calling any specified sound names within the SNDINFO lump. Maybe that works.
I'm not totally sure what you mean for me to do there...
terranova wrote:Did you tried putting al ine break after "$ambient 69 world/wind2 POINT CONTINUOUS 1.0"
Yes. The error still occured.
User avatar
FDARI
Posts: 1097
Joined: Tue Nov 03, 2009 9:19 am

Re: SNDINFO Help

Post by FDARI »

I don't see anything I know to be wrong, although I am curious about this one: $ambient 1 world/amb1 POINT CONTINUOUS 1.0 1.0

Is volume specified twice? If nobody can see what's wrong I might eventually do it the hard way. I look in the source code when I can't understand why something happens in a particular way. The answer can normally be found there.
User avatar
ChronoSeth
Posts: 1631
Joined: Mon Jul 05, 2010 2:04 pm
Location: British Columbia

Re: SNDINFO Help

Post by ChronoSeth »

Aha, thanks for noticing that FDARI.

It looks like the problem was that ZDoom was looking for a sound to attach to "1.0", but got $ambient instead. Or, it could be something completely different.
Locked

Return to “Editing (Archive)”