SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: zealot on January 22, 2018, 10:52:31 AM

Title: Sound files?
Post by: zealot on January 22, 2018, 10:52:31 AM
I was wondering in the SWBF1 Mod tools for sounds, specifically side/teams sounds, what are the files for these sounds? i want to add sounds from other teams to another team. E.G i want the rebellion blaster rifle sound, and i want to add it to the republic side for any of the weapons? If i wanted to do this how would i exactly?
Title: Re: Sound files?
Post by: Dark_Phantom on January 22, 2018, 03:58:00 PM
Example:  If you wanted a rebel rifle sound in your side to the republic, you would add this line to your mission.lua (bes1a is platforms).
Code (lua) Select
ReadDataFile("sound\\bes.lvl;bes1gcw");
You would then call corresponding code in your rifle's code (add something like this to rep_inf_rifle in place of the Republic Rifle Sounds).
Code (lua) Select
//******************************************************
//*************** SOUND ****************
//******************************************************

FireSound        = "all_weap_inf_rifle_fire"
ReloadSound      = "all_weap_inf_reload_med"
Title: Re: Sound files?
Post by: 1ИCΘ6И17Θ on January 23, 2018, 06:54:09 AM
For some odd reason though this might not always work I remember going crazy at trying to load three sound files at the same time on Mos Eisely, for some reason the map just seemed overloaded and loaded nothing...
It was bad to the point where I had to create a new file to be called with the files I wanted...
Title: Re: Sound files?
Post by: Dark_Phantom on January 23, 2018, 09:50:20 AM
This is what I wrote on it a while ago: http://www.swbfgamers.com/index.php?topic=6176.0
EhPortal 1.34 © 2024, WebDev