Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Sound Question

Author
Message
bojandurmic
12
Years of Service
User Offline
Joined: 28th Dec 2011
Location: My home
Posted: 19th Jan 2012 11:56
Hello , I have bought Model Pack 53 and I have great sound in it. But I have some problem. How to set a sound when player reloads ? THANKS
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 19th Jan 2012 13:34
search gunspec of the used weapon, look for

SOUND1= FileName to SOUND14= FileName
Description: This defines the sounds to be used by the gun when in normal fire mode. The sounds are triggered by using the “sframe#=” command. Up to 14 sound files can be specified.
Range: FileName = *.ogg, *.wav (files must be placed in the gun‟s folder).
Example: sound1= fire.ogg

SFRAME#=FrameNumber,SoundNumber
Description: This defines the animation frame at which to play the specified sound file. The sound files are defined using the “sound#=” command. The command must be placed below the “soundframes” command in the gunspec file. The sframes must be numbered from “sframe0”.
Range: FrameNumber = Any animation frame number,
SoundName = Any sound number.
Example: sframe0 = 76,1
sframe1 = 139,2

copy sound into gunfolder. search through the animationslist of the model and declare a sound with upper commands to the right frames (anim-list should be somewhere in the download-data). done.
bojandurmic
12
Years of Service
User Offline
Joined: 28th Dec 2011
Location: My home
Posted: 19th Jan 2012 17:42
I really don't understand anything ! Please can you tell me where to find that sound file ??? PLEASE HELP ME !
bojandurmic
12
Years of Service
User Offline
Joined: 28th Dec 2011
Location: My home
Posted: 19th Jan 2012 18:12
Sorry , I don't mean sound file , I mean that gunspec file ?? In entity bank or ...... ??
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 20th Jan 2012 09:19 Edited at: 20th Jan 2012 09:20
each gun has its own, located in files/gamecore/guns... you will see when open the folder. but dont forget to make savety copies before working on it. sounds are always located in the entity-folder it belongs to, or in the audiobank-folder (guns use the folder where their gunspec is located).

Login to post a reply

Server time is: 2024-11-24 01:17:21
Your offset time is: 2024-11-24 01:17:21