Author Topic: Problem with sound.tbl  (Read 1580 times)

0 Members and 1 Guest are viewing this topic.

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Problem with sound.tbl
I'm trying to put some variety of engine sound. So, I replace the "empty" by the filename of my wav file. But, during in-game, my ships doesn't have this sound. I have modified my ships.tbl to use those news one.

here the code :
Code: [Select]
$Name: 160 BT_dwn_5.wav, 0, 0.70, 2, 2000, 3000 ; BFGreen warm down
$Name: 161 BT_dwn_6.wav, 0, 0.70, 2, 2000, 3000 ; T_AntiFtr warm down
$Name: 162 Empty,                        0, 0.50, 0
$Name: 163 EngineIntAG.wav, 0, 0.90, 1, 200, 400 ; Assault Gunboat engine (3d sound)
$Name: 164 EngineIntAW.wav, 0, 0.90, 1, 200, 400 ; A wing engine (3d sound)
$Name: 165 EngineIntTi.wav, 0, 0.90, 1, 200, 400 ; Tie engine (3d sound)
$Name: 166 EngineIntXW.wav, 0, 0.90, 1, 200, 400 ; X Wing engine (3d sound)
$Name: 167 EngineIntYW.wav, 0, 0.90, 1, 200, 400 ; Y Wing engine (3d sound)
$Name: 168 Empty, 0, 0.50, 0
$Name: 169 Empty, 0, 0.50, 0

Just before the modification I've got this in the table :

Code: [Select]
$Name: 163 Empty,   0, 0.50, 0
$Name: 164 Empty, 0, 0.50, 0
$Name: 165 Empty,   0, 0.50, 0
$Name: 166 Empty, 0, 0.50, 0
$Name: 167 Empty,   0, 0.50, 0
$Name: 168 Empty, 0, 0.50, 0

 
« Last Edit: January 10, 2006, 02:20:00 pm by MetalDestroyer »

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: Problem with sound.tbl
I found just now, this :
Code: [Select]
$Name: 4 ship_p.wav, 0, 0.30, 0 ; engine sound (as heard in cockpit)
Where this sound is used ? I mean into the tables ? I want change the engine sound we heard into the cockpit. But, it depends  to the ship type (X wing, Tie Fighter, etc...).

Is it a code related ? or I could use them within some table modification ?

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Problem with sound.tbl
i think the spiecies specific ship sounds override whatever sound index you use in the ships table. you want to add it to the flyby sounds section at the bottom, to do that you need to have a new spiecies set up (wich is a pita to do by the way). somone needs to do a how to add a new spiecies tutorial.
« Last Edit: January 11, 2006, 09:49:57 am by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: Problem with sound.tbl
i think the spiecies specific ship sounds override whatever sound index you use in the ships table. you want to add it to the flyby sounds section at the bottom, to do that you need to have a new spiecies set up (wich is a pita to do by the way). somone needs to do a how to add a new spiecies tutorial.

It's not really the flyby I would change into the table but the engine sound we (as a player) could heard into the cockpit.
AFAIK in X Wing Alliance, we heard clearly the tie engine inside the cockpit, as well for other crafts.

About the flyby I would prefer to add a new variable into the ships.tbl (like $FlyBySnd:   sample_Number ).