HistWar Change the forum language :
*
Bienvenue, Invité. Veuillez vous connecter ou vous inscrire.
Avez-vous perdu votre courriel d'activation?

Connexion avec identifiant, mot de passe et durée de la session
Nouvelles: Passez par le forum de présentation. Dévoilez-nous quel joueur vous êtes
 
Auteur Fil de discussion: Idea for sound mod  (Lu 945 fois)
0 Membres et 1 Invité sur ce fil de discussion.
Stoppelhopser
Adjudant
*
Hors ligne Hors ligne

Messages: 37


« le: 14 Août 2010, 18:14:05 »

Playing Histwar at the evening I often run into the following problem:

If you want to hear say marching infantry or cavalry the moment the first cannon shoots your ears are blowing off! The neighbours can't sleep etc...  Headphones are a good thing but the problems persists. If the sound is loud enough to hear lesser sounds you get the shock of your life if you pan close to a artillery position. If you turn volume down to only hear the cannon the battlefield feels like a silent movie.

So what would be a good thing in my humble opinion would be a sound mod where the loudest sounds are capped and the smaller sounds are upped. So that in theory you could pan the 3D battlefield to your hearts content and still hear marching feet and don't get a heart attack when the cannons let off.

Or ist there any ini or such where I can tune the individual loudness of sounds ?
Journalisée
JMM
Administrateur
*******
Hors ligne Hors ligne

Messages: 7041



WWW
« Répondre #1 le: 14 Août 2010, 18:39:38 »

I am going to work with another 3D sound  library.
This new one is more easy and it's able to support the ogg format.
So, I will rework the sounds.. yet a few patience 

JMM
Journalisée

Hook
Chevalier d'HistWar
Modérateurs
****
Hors ligne Hors ligne

Messages: 1763


« Répondre #2 le: 15 Août 2010, 01:36:54 »

Or ist there any ini or such where I can tune the individual loudness of sounds ?

In the Constante folder you'll find a file Sons.txt which is the ini file for the sounds.

The format is easy to understand, but the effects of changes aren't.  The lines you'd be most interested in are:

Citation
20 2 1 F 1600 musket1   
21 2 1 F 800 musket2   
22 2 0 F 1600 canon04   
23 2 0 F 2500 canon08   
24 2 0 F 3200 canon12   

The first two are musket sounds and are there just for comparison.  The last three are the cannon sounds.

The volume is the large number, 800 through 3200.  You can also see in the file where the horse sounds are in the 300 to 16oo range.

Unfortunately, the volume doesn't work quite the way you'd think.  The sounds themselves are played at full volume at the source, and the number is the distance where the volume drops to zero.  You can edit the volume of the original sound in Microsoft's sound recorder, in XP it's Start->Accessories->Entertainment->SoundRecorder (just be sure to save a copy of the original) .  You can change the numbers in the file, just remember that a small change can make a major difference, and some sounds might get dropped.  Getting a good balance is difficult.  In my experiments with a different game, the sounds were either too loud, heard too far away, or not there at all.

Good luck.

Hook
Journalisée
Stoppelhopser
Adjudant
*
Hors ligne Hors ligne

Messages: 37


« Répondre #3 le: 15 Août 2010, 11:28:50 »

Thank you JMM and Hook.

I found the free audio program Audacity and might play around with that a bit.

JMM, take all the time you need  .
Journalisée
bibouba
Officier d'HistWar : Grognard de la Vieille Garde
Général de Brigade
****
Hors ligne Hors ligne

Messages: 1507


Henri Gratien Comte BERTRAND


« Répondre #4 le: 15 Août 2010, 11:58:01 »

Hi,
Do you try my mod sound ? You can find it the depot.

For the sons.txt file the largest number is the distance where you hear the sound, not the volume.
Journalisée

Pages: [1]   Haut de page
  Imprimer  
 
Aller à:  

Propulsé par MySQL Propulsé par PHP Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines
Intégration graphique : e-Déaliz Webdesign : Studio Poids Plume
XHTML 1.0 Transitionnel valide ! CSS valide !