Product Chat / Audio Sounds Not Working On Entities

Author
Message
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 8th Mar 2015 00:59

I have tried 3 formats on my rocket , mp3, wav, ogg, none work.

If i make a sound zone this is no good because when I shoot the
rocket down the Audio sound is still playing of the rocket.

I have tried the audio setting in the Fpe files for quite a few items now
adding audio for Entities but they do not always work.

Is there an issue with entity audio system?
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 8th Mar 2015 02:35 Edited at: 8th Mar 2015 02:37
I will have a quick look myself..
Are you trying to just change the rocket sound ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 8th Mar 2015 02:50
Try looking in ....

C : \ program files \ steam \ steamapps \ common \ GameGuru \ files \ gamecore \ projectiletypes...
You may find a wav you can just replace there ..

Hope that helps
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 8th Mar 2015 08:27
No i have the Audio files but if you try to use them in the,

;Sound
soundset0 = audiobank\misc\rocket.wav
soundset1 =

of the Fpe for a Entity the audio will not work

I bought Frap's V1_WW2 Rocket I got it to fly but need to add a sound
a Zone Sound is no good as when you shoot it down the sound still
continues in the zone. So why I wanted the audio on the entity its
self.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 8th Mar 2015 19:01
are you giving it a PlaySound() call in the script?
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Super Clark
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location: UK
Posted: 8th Mar 2015 20:35
I'm using Avram planes script

I added


-- taking off
if state=="takeoff" then
PlaySound(e,1)
timer:start() -- start timer
GravityOff(e) -- turn off gravity
if timer:between(0,3) then

it works , however when you shoot the rocket down the sound
is still running so is their a way to stop sound on destroy?
PM

Login to post a reply

Server time is: 2024-11-23 03:46:03
Your offset time is: 2024-11-23 03:46:03