Product Chat / Broken sounds

Author
Message
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 11th Oct 2016 02:57 Edited at: 11th Oct 2016 02:59
Hi guys,I have been trying to attach a sound to a animated fan I made .i have searched the forum ,tried all examples posted with no luck.i tried the sound test Lua Lee made with no luck.tried setting it to another object,still no luck.Are the sounds Broken or am I just being thick .

Dave
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 11th Oct 2016 09:10
Do you have anything else on the map?
Can you hear sounds from other objects when tested and its only this one?
Did you make sure the sound is in the correct format? Try mono 16k .ogg
Does it work in a sound zone?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 11th Oct 2016 09:49 Edited at: 11th Oct 2016 09:50
Hi smallg
I am on my phone at the moment, I have animated doors that I made with sounds that work.that use the auto door lua.the sound that I chose was A GG stock sound.i tried the lua you posted when you were helping another user with no luck.also tried the one Lee put together.I will keep at it.

Dave
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 11th Oct 2016 19:08
@ Granada
Ago time I've similar issue, due I had missed set entity as dynamic. (just in case).

If you attach a different sound to the fan (just 4 testing), does it work?

As aside note, I think due we are talking about fan, the sound perhaps should loop/stop using player distance?
I've noticed "soundtest.lua" does.
because a fan, you don't need script for fan anims (just "playanimineditor = 1", via fpe file), but for control playing sound, at leats in my case this fact, make me forguet to set entity as dynamic.

3com

Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 11th Oct 2016 21:54
Thanks for taking the time to answer guys , got it working i think . Lua scripts are great but if you have no idea ,comented lines in the script would help us out allot when it comes to understanding.

Dave
PM

Login to post a reply

Server time is: 2024-09-29 01:20:25
Your offset time is: 2024-09-29 01:20:25