Sounds Count Hook

A Forum dedicated to the Suggestion, Creation and Editing of XWA Dynamic Link Library Files

Moderator: JeremyaFr

Post Reply

Sounds Count Hook

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Apr 27, 2021 4:38 pm

Hello,
Here is a new hook: Sounds Count Hook.

This hook increases the sound effects count that are loadable by the game.

To add new sound effects list, create a file with the ".lst" extension and with a filename starting with "Sfx_" in the "Wave" directory. The format of this file is the same as the "SFXBLASTNEW.LST" file.
Place the new sounds in subdirectories in the "Wave" directory. The name of these directories is the basename of the ".lst" files without the extension.

When the hook is executed, it creates a file named "Hook_Sounds_Count.txt". This file contains the definition of the index and count for the custom sound effect lists.
This file is then used by the other hooks to find where are the custom sounds in the sound effects arrays.

Bman
Lieutenant Commander
Posts: 1167
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Fri Apr 30, 2021 1:05 am

Thanks this is great.
Last edited by Bman on Sun Sep 26, 2021 1:33 am, edited 1 time in total.
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7829
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Fri Apr 30, 2021 6:48 am

There are other improvements in the works and still subject to more testing
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

Post Reply