Page 1 of 1

Add New Weapons

Posted: Fri Dec 16, 2022 12:15 pm
by fleetgothic
So, how does one go about adding custom weapons, with custom soundfiles? I have the weapon part done, but when shooting, doesn't emit any sounds for the attack, or impact.

Re: Add New Weapons

Posted: Fri Dec 16, 2022 1:25 pm
by Nskap2
You need to add your sounds to \Graphics\attack.whdat file. If the weapon is long-range and there is a sound of shooting, then you need to put this sound in the folder \Audio\Attack\ yoursound.wav. And the sound of the weapon hitting the \Audio\Impact folder .To fill in the data in the attack.whdat file, use the file names of your sounds from the Attack and Impact folders

Re: Add New Weapons

Posted: Fri Dec 16, 2022 10:08 pm
by fleetgothic
Nskap2 wrote: Fri Dec 16, 2022 1:25 pm You need to add your sounds to \Graphics\attack.whdat file. If the weapon is long-range and there is a sound of shooting, then you need to put this sound in the folder \Audio\Attack\ yoursound.wav. And the sound of the weapon hitting the \Audio\Impact folder .To fill in the data in the attack.whdat file, use the file names of your sounds from the Attack and Impact folders
I've done it step by step, and it doesn't play any sounds, even the ones from the game. Is there an issue?

Re: Add New Weapons

Posted: Sat Dec 17, 2022 10:47 am
by Nskap2
Changes to the attack.whdat file should be made in the sections # Weapon animations # Impact table # Unit table . To edit, use programs like Notepad+