Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Loading sounds from lang folder?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Loading sounds from lang folder?

Well, since the lang folder contains nothing but .ogg files (from the audio aspect), you're not gonna be able to change the output just by adding more. I think we need to inspect exactly what changes when the user set the language to Russian, as that's the only language that also changes the voices. There has to be a "path" of sorts, that is changed somewhere.

Edit: I found this in "russian.lang" in /config/lang_main.

PHP Code: (Select All)
<RESOURCES>
    <
Directory Path="fonts/rus" />
    <
Directory Path="lang/rus" />
</
RESOURCES

So to add your paths to "esp" AKA Spanish, you'll need to open the spanish.lang file and edit the resources tag.
Change only the "lang/eng" to "lang/esp" and you're good. This won't override player sound effects, but it'll change voices.

(This post was last modified: 10-24-2016, 09:21 PM by Mudbill.)
10-24-2016, 09:09 PM
Find


Messages In This Thread
Loading sounds from lang folder? - by IlDucci - 10-24-2016, 10:50 AM
RE: Loading sounds from lang folder? - by Mudbill - 10-24-2016, 11:31 AM
RE: Loading sounds from lang folder? - by IlDucci - 10-24-2016, 11:40 AM
RE: Loading sounds from lang folder? - by Mudbill - 10-24-2016, 12:48 PM
RE: Loading sounds from lang folder? - by IlDucci - 10-24-2016, 12:49 PM
RE: Loading sounds from lang folder? - by Mudbill - 10-24-2016, 09:09 PM
RE: Loading sounds from lang folder? - by IlDucci - 10-24-2016, 09:55 PM



Users browsing this thread: 1 Guest(s)