.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old September 15th, 2005, 03:56 PM

niklas627 niklas627 is offline
Private
 
Join Date: Sep 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
niklas627 is on a distinguished road
Default add sounds?

Hi,

I have a question.
I want to edit and add sounds to the game.

How can I add sound to the game?
Is it just to create a mp3 file and place it under the sound directory??

cheer/
niklas
Reply With Quote
  #2  
Old September 15th, 2005, 05:11 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: add sounds?

Quote:
niklas627 said:
Hi,

I have a question.
I want to edit and add sounds to the game.

How can I add sound to the game?
Is it just to create a mp3 file and place it under the sound directory??

cheer/
niklas
1) Make your sound - wav, MP3 or (I think) it will eat .mid files if you want to make those . Put it in the sounds dir.

2) Save a backup copy of sounds .ini somewhere.

3) Edit sounds.ini to give your file a sound number. If you are putting in a file to replace a stock sound, find its number e.g

sound009="9.mp3" is the INI line for game sound No. 9 and it points sound009 at the file called "9.mp3". If you have made a replacement for that file called "Mysound09.wav" then edit the line accordingly.

If it is a new sound for use in weapons or whatever in mobhack, then find a sound with null assigned (null.mo3 is a distinctive noise which is deliberate to isolate errors . The 175-198 block should be good for that. Choose an sound number line, and point it at your new file's name instead of null.mp3.

4) Save file

5) (in mobahack if it is a replacement) - make a test unit with that sound. If it replaces a default, use something that produces that default move or shot sound or whatever it was.

6) test your sound - you may want to tweak the length, and sound characteristics etc.

Cheers
Andy
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.