The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Soma wont use voicehandler subs in mod
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#1
Soma wont use voicehandler subs in mod

I have been doing some testing with the new voice files, and finally managed to make the player say a line. Except it is very much a work around, because despite SOMA maingame using this new fancy system, where you write your subtitles in the voicehandler and not in the lang file, SOMA demands(it tells me it cant find the category/entry, as if it were a bug) me to make a category for my map, and an entry for the line in the english lang. Weirdly enough it still requires me to have a subject in the .voice file, for the sake of comfort I guess? But as for whether or not that Subject contains any actual subtitles SOMA, could not care less, it just loads from the .lang.

So my question is how to make SOMA load subtitles from the .voice file, when it is a mod?

Additional info:

Function:
PHP Code: (Select All)
Voice_Play("1_mandusjoinstesting"); 

Subject name in .voice file: 1_mandusjoinstesting

Name of sound file: general_1_mandusjoinstesting_001_player_001.ogg
Location of sound file: mods\testordie\assets\lang\eng\voices\00_01_testmap_01

CategoryName in .lang file: voices_test_map_01
EntryName in .lang file: general_1_mandusjoinstesting_001_player_001

Name of Map: test_map_01
(This post was last modified: 10-11-2015, 12:46 PM by WALP.)
10-11-2015, 12:33 PM
Find


Messages In This Thread
Soma wont use voicehandler subs in mod - by WALP - 10-11-2015, 12:33 PM



Users browsing this thread: 1 Guest(s)