Sound script

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Sound script

Post by Montis »

can you send me the wav file, then I can try on my end if it works with that.
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Sound script

Post 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
Dungeon Master and DOOM will live forever.
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Sound script

Post 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
Dungeon Master and DOOM will live forever.
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Sound script

Post 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
Dungeon Master and DOOM will live forever.
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Sound script

Post 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
Dungeon Master and DOOM will live forever.
User avatar
BIOHAZARDCURE
Posts: 6
Joined: Sat Dec 29, 2012 2:35 am

Re: Sound script

Post 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?
-BIO
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Sound script

Post 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
Dungeon Master and DOOM will live forever.
User avatar
BIOHAZARDCURE
Posts: 6
Joined: Sat Dec 29, 2012 2:35 am

Re: Sound script

Post by BIOHAZARDCURE »

I Will try that then post results! Thanks btw.
-BIO
User avatar
BIOHAZARDCURE
Posts: 6
Joined: Sat Dec 29, 2012 2:35 am

Re: Sound script

Post by BIOHAZARDCURE »

128 kbps works wonders! thanks
-BIO
User avatar
LordGarth
Posts: 500
Joined: Mon Jun 18, 2012 5:07 pm
Location: Colorado USA

Re: Sound script

Post by LordGarth »

no problemo

LG
Dungeon Master and DOOM will live forever.
Post Reply