User Tools

Site Tools


hpl3:game:voicehandler

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl3:game:voicehandler [2014/02/25 12:33]
thomas
hpl3:game:voicehandler [2015/09/17 10:53] (current)
ian.thomas [File Format]
Line 9: Line 9:
 ====== Setup ====== ====== Setup ======
  
-Before calling a subject the source of the sound should be set up. This is done with SetVoiceSource() in cVoiceHandleror better ​the helper function Voice_SetSource(). This sets up the entity (which can be something moving) which will emit the voice coming from the specified character. It will also set up the distance that the voice can be heard. ​Do this in OnEnter in the map script file.+Before calling a subject the source of the sound should be set up. This is best done inside the VoiceHandler editor itselfbut can also be done using the helper function Voice_SetSource(). This sets up the entity (which can be something moving) which will emit the voice coming from the specified character. It will also set up the distance that the voice can be heard. ​If using the function, it's best to do this in ''​OnEnter'' ​in the map script file.
 ====== Properties ====== ====== Properties ======
  
Line 134: Line 134:
 Number of seconds before the subtitles show up. Number of seconds before the subtitles show up.
  
-**ExtraSoundOffset** \\+**ExtraEffectOffset** \\
 Number of seconds before the effect file starts to play. Number of seconds before the effect file starts to play.
  
-**ExtraSoundFile** \\+**ExtraEffectFile** \\
 File path to an extra sound file that is played along with the voice. File path to an extra sound file that is played along with the voice.
  
-**EndsAfterExtraSound** \\+**EndsAfterExtraEffect** \\
 If the sound should end when the extra sound file is done playing (and not the voice). If the sound should end when the extra sound file is done playing (and not the voice).
  
Line 185: Line 185:
 INFO: The solution is to use the file on the screw, can have slight hint for that.\\ INFO: The solution is to use the file on the screw, can have slight hint for that.\\
 ====== File Format ====== ====== File Format ======
 +
 +(You shouldn'​t need this - everything can be edited using the VoiceHandler exe!)
  
 <code xml> <code xml>
hpl3/game/voicehandler.1393331634.txt.gz ยท Last modified: 2014/02/25 12:33 by thomas