Page 5 of 6

Re: Engine sounds and weapon sounds

Posted: Sun Jul 31, 2022 9:22 pm
by Rookie_One1
Funny thing, I decided to just go and try my hand, Just did a file just for TIE crafts, that combine both HyperStartImp and HyperZoom, and did the same for HyperStartImp and the "Zoom" part of the HyperStartReb sound

If XWAU and TFTC want to use it, go ahead, I just my name somewhere saying that i'm the annoyer in chief in exchange :lachtot:

Link to the wav files : https://drive.google.com/drive/folders/ ... sp=sharing

I look on if it's possible to do something similar for HyperEnd, but that one i'm less sure

Re: Engine sounds and weapon sounds

Posted: Sun Jul 31, 2022 10:05 pm
by Ace Antilles
Very nice! I'll keep hold of them

Re: Engine sounds and weapon sounds

Posted: Sun Jul 31, 2022 10:28 pm
by Rookie_One1
Thanks!

Of note, I made sure that the zoom happens at 1.9 seconds, as to make sure that the sync between the visual and the sound remain

Re: Engine sounds and weapon sounds

Posted: Tue Aug 02, 2022 3:40 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

You can now define custom sounds for the hyperspace sounds.

For HyperStart sounds, sounds defined in "Wave\Sfx_HyperStart.lst" are used if the lst file exists. The sounds are indexed by the crafts model index.
For HyperZoom sounds, sounds defined in "Wave\Sfx_HyperZoom.lst" are used if the lst file exists. The sounds are indexed by the crafts model index.
For HyperEnd sounds, sounds defined in "Wave\Sfx_HyperEnd.lst" are used if the lst file exists. The sounds are indexed by the crafts model index.
For HyperAbort sounds, sounds defined in "Wave\Sfx_HyperAbort.lst" are used if the lst file exists. The sounds are indexed by the crafts model index.

Re: Engine sounds and weapon sounds

Posted: Sun Aug 14, 2022 7:10 pm
by Rookie_One1
I'm trying to make it work for the HyperStart and takeoff, but I can't seem to make it work

EDIT : forget what I wrote earlier, found the issue, I need to have all the craft in that lst file, I can't have just the crafts I want to change.

Also, @JeremyaFr , one thing you may want to look into, for corellian crafts it seem that it call BOMBFIRE.WAV before Hyperstart, any way we could disable that so that BOMBFIRE only play when we fire space bombs ?

Re: Engine sounds and weapon sounds

Posted: Mon Aug 15, 2022 1:52 am
by Ace Antilles
Rookie_One1 wrote:
Sun Aug 14, 2022 7:10 pm
I'm trying to make it work for the HyperStart and takeoff, but I can't seem to make it work

EDIT : forget what I wrote earlier, found the issue, I need to have all the craft in that lst file, I can't have just the crafts I want to change.

Also, @JeremyaFr , one thing you may want to look into, for corellian crafts it seem that it call BOMBFIRE.WAV before Hyperstart, any way we could disable that so that BOMBFIRE only play when we fire space bombs ?
Isn't bombfire the sound it uses when entering a turret?
So it forces you back into the cockpit
Working from memory here

Re: Engine sounds and weapon sounds

Posted: Mon Aug 15, 2022 2:14 am
by Rookie_One1
Ace Antilles wrote:
Mon Aug 15, 2022 1:52 am

Isn't bombfire the sound it uses when entering a turret?
So it forces you back into the cockpit
Working from memory here
Look like you're right, the game is using BOMBFIRE instead of TURRETMOTORSTART when we go in the turret

Re: Engine sounds and weapon sounds

Posted: Mon Aug 15, 2022 9:33 am
by Ace Antilles
Which is weird. I think the turret sound is used to change weapons or link them etc

Re: Engine sounds and weapon sounds

Posted: Sun Feb 05, 2023 12:51 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

I've added arrays of sounds for the weapons sounds, ambient sounds for starships, freighters and stations, others custom sounds.

For weapon sounds, when the behavior is empty, sounds defined in "Wave\Sfx_Weapon.lst" are used if the lst file exists.
For each craft, there are 10 items. The last item is for the open weapon.
To define random weapon sounds, create a file named "FlightModels\[Model]Sound.txt" or create a section named "[Sound]" in "FlightModels\[Model].ini".
The format is:
WeaponSoundRangeStart_XXX = sound range start
WeaponSoundRangeCount_XXX = sound range count
XXX is the weapon index starting from 280. For example: WeaponSoundRangeStart_280 and WeaponSoundRangeCount_280.
Random weapon sounds are defined in "Wave\Sfx_WeaponRange.lst"

For StarshipAmbient sounds, sounds defined in "Wave\Sfx_StarshipAmbient.lst" are used if the lst file exists. The sounds are indexed by the crafts model index.
Suppose that the craft is "FlightModels\[Model].opt".
To define which sound is played, create a file named "FlightModels\[Model]Sound.txt" or create a section named "[Sound]" in "FlightModels\[Model].ini".
The format is:
AmbientSoundOffsetX = offset in meters
AmbientSoundOffsetY = offset in meters
AmbientSoundOffsetZ = offset in meters
AmbientSoundDistance = distance in meters

Others custom sounds can be replaced in "Wave\Sfx_Sounds.lst".

Re: Engine sounds and weapon sounds

Posted: Sun Feb 05, 2023 7:10 pm
by Bman
Thank you Jeremy! Awesome. Question on the "Sfx_Sounds" hook. Is that based on craft/object index numbers like the other hooks, or does it mirror the "SfxBlastNew.lst" or some other criteria ?

Re: Engine sounds and weapon sounds

Posted: Sun Feb 05, 2023 7:23 pm
by JeremyaFr
Bman wrote:
Sun Feb 05, 2023 7:10 pm
Thank you Jeremy! Awesome. Question on the "Sfx_Sounds" hook. Is that based on craft/object index numbers like the other hooks, or does it mirror the "SfxBlastNew.lst" or some other criteria ?
Hello,
It is not based on the object index. It is used to replace single sounds. For now only the "AlarmDanger" sound is replaced. This sound is replaced with the sound defined at the first line in "Sfx_Sounds.lst". With this file it will be easier in the future to replace single sounds.

Re: Engine sounds and weapon sounds

Posted: Sun Mar 05, 2023 2:58 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

I've added these settings:
AmbientSoundDistanceX = distance in meters
AmbientSoundDistanceY = distance in meters
AmbientSoundDistanceZ = distance in meters

Re: Engine sounds and weapon sounds

Posted: Tue Jun 06, 2023 2:10 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

I've improved ambient sounds.

Posted: Sat Jun 10, 2023 12:49 am
by Bman
.

Re: Engine sounds and weapon sounds

Posted: Sat Sep 30, 2023 3:33 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

I've fixed and improved ambient sounds.

Re: Engine sounds and weapon sounds

Posted: Thu Dec 07, 2023 6:30 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

I've added sounds for map enter , map exit, and turret switch.

Custom sounds can be replaced in "Wave\Sfx_Sounds.lst":
- line 0 is player craft targeted sounds
- line 1 is map enter
- line 2 is map exit
- line 3 is turret switch

Re: Engine sounds and weapon sounds

Posted: Sun Dec 10, 2023 9:03 pm
by JaggedFel
Was looking over the update, realized I missed the addition of [Interdiction] Region. Can't tell within your code, are the XwaPlayer.m053/Region values 0-3 or 1-4?

Re: Engine sounds and weapon sounds

Posted: Sun Dec 10, 2023 9:11 pm
by JeremyaFr
It is 0-3

Re: Engine sounds and weapon sounds

Posted: Fri Dec 29, 2023 12:21 pm
by JeremyaFr
UPDATE

Hello,
I've updated the engine sound hook.

I've fixed a bug where the ini settings was reloaded everytime a sound hook is called.

Re: Engine sounds and weapon sounds

Posted: Sun Feb 25, 2024 1:53 pm
by Leofus
hey i love the ambient starship sounds! awesome idea and it works great in the game! i went crazy setting a bunch of them and making new sounds for various ships. i tried making some for tie fighters however the tie fighter sounds only work if i changed the craft type from fighter to starship or freighter which obviously causes all sorts of other issues. any chance we could get ambient sounds enabled for other craft types namely fighters?

edit: i have some that would be great for the corellian freighters as well. also if there would be any way to make the ambient sound to stop when a craft is disabled that would be amazing

Re: Engine sounds and weapon sounds

Posted: Sun Feb 25, 2024 4:00 pm
by JeremyaFr
Hello,
You can define ambient sounds for starships, freighters and platforms.
The hook can be modified to allow ambient sounds for any ship type, but there may be issues if too many ships have sounds playing at the same time.

Re: Engine sounds and weapon sounds

Posted: Sun Feb 25, 2024 4:27 pm
by Leofus
JeremyaFr wrote:
Sun Feb 25, 2024 4:00 pm
Hello,
You can define ambient sounds for starships, freighters and platforms.
The hook can be modified to allow ambient sounds for any ship type, but there may be issues if too many ships have sounds playing at the same time.
i would be so happy if you did that. the distance can be defined in each crafts ini file right? giving fighters a shorter distance should limit the number of sounds playing. thank you so much for all your work regardless. you have given me hundreds of hours of entertainment by breathing new life into this game

Re: Engine sounds and weapon sounds

Posted: Sun Feb 25, 2024 4:42 pm
by Ace Antilles
Ambient sounds for starships, freighters and platforms have been or are being added.
It needs a bunch of testing which is why it's going to be released in the next major release.

Fighters won't be implemented at this stage.
There are just too many sounds going on with messages, lasers, flyby, engines already.

Finding the right volume level for Ambient sounds is tricky.
So far I have 20 different sounds with some being used multiple times for different size ships

Re: Engine sounds and weapon sounds

Posted: Sun Feb 25, 2024 5:15 pm
by Leofus
Ace Antilles wrote:
Sun Feb 25, 2024 4:42 pm
Ambient sounds for starships, freighters and platforms have been or are being added.
It needs a bunch of testing which is why it's going to be released in the next major release.

Fighters won't be implemented at this stage.
There are just too many sounds going on with messages, lasers, flyby, engines already.

Finding the right volume level for Ambient sounds is tricky.
So far I have 20 different sounds with some being used multiple times for different size ships
i think youre just swell, ace

Re: Engine sounds and weapon sounds

Posted: Sun Feb 25, 2024 5:24 pm
by Ace Antilles
Leofus wrote:
Sun Feb 25, 2024 5:15 pm

i think youre just swell, ace
Cheers I try 🤣
I would say Vince came up with the original idea for use with the Star Destroyers.

I have a massive sound update in WIP for this year.
Sound levels are a pain as I have changed my speakers and hard to normalise.

Where are you basing your sounds from? Movies?

A recent modder made alarm sounds outside ships but I thought that wouldn't be heard so didn't make sense