Page 3 of 4

Re: Sound script

Posted: Sat Sep 15, 2012 1:10 am
by Montis
can you send me the wav file, then I can try on my end if it works with that.

Re: Sound script

Posted: Sat Sep 15, 2012 1:22 am
by LordGarth
I do believe it is the file itself. with one file i can even open the project and with another I can open the project but when the sound is triggered it says warning no sample

I will keep trying wav files untill i find one that works.
perhaps the editor could be made to use mp3 files and maybe the editor would be more tolerant with mp3s.

LG

Re: Sound script

Posted: Sat Sep 15, 2012 1:32 am
by LordGarth
it is the way file itself. I finally got one wave file to work. Maybe it is the quality of the file or bit or some other stat.

Now i just need protection values on shields to actually add to the overall protection of the character.

Thx,

LordGarth

Re: Sound script

Posted: Sat Sep 15, 2012 1:40 am
by LordGarth
It works

wav files have to be in 16 bit.

Spread the word.

Now I have alot of cool creepy horrific terror sounds to put in my dungeon muahahahahhahaha.

Thx,

LordGarth

Re: Sound script

Posted: Sat Sep 15, 2012 2:02 am
by LordGarth
hahahah

great all sounds working now.

I am making a 69 floor dungeon and I hope to scare the pants off of all of you.

I have made alot of new weapons and armor too. I just need to make new 2d pics for the new weapons etc.

Thx,

LordGarth

Re: Sound script

Posted: Sat Dec 29, 2012 7:17 am
by BIOHAZARDCURE
Since we have some lua script masters in this thread :P I think ill take my problem here.

Im trying to use my custom background music and I can't. :C . Using an .ogg file in the correct folder\directory but whenever I test it i recive this error

[string "SoundSystem.lua"]:0: Not an Ogg Vorbis file
stack traceback:
[C]: in function 'playStream'
[string "SoundSystem.lua"]: in function 'playStream'
[string "Party.lua"]: in function 'entityAddedToMap'
[string "Map.lua"]: in function 'addEntity'
[string "Party.lua"]: in function 'enterDungeon'
[string "DungeonEditor.lua"]: in function 'playPreview'
[string "DungeonEditor.lua"]: in function 'previewButtons'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk

OS Version 6.1

OEM ID: 0
Number of processors: 4
Page size: 4096
Processor type: 586

Total memory: 8168 MB
Free memory: 4527 MB

Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GT 430
State flags: 08000005

Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GT 430
State flags: 00000000

Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008

Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008

Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008

Help?

Re: Sound script

Posted: Sat Dec 29, 2012 6:09 pm
by LordGarth
try a different quality with the ogg file. Some ogg files I used had to be in a specific format. like 96kbps or 128.

I used converter lite for changing sound files.

LG

Re: Sound script

Posted: Sat Dec 29, 2012 7:28 pm
by BIOHAZARDCURE
I Will try that then post results! Thanks btw.

Re: Sound script

Posted: Sun Dec 30, 2012 12:23 am
by BIOHAZARDCURE
128 kbps works wonders! thanks

Re: Sound script

Posted: Sun Dec 30, 2012 6:15 pm
by LordGarth
no problemo

LG