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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do i make a Dark and Evil vocie
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#9
RE: How do i make a Dark and Evil vocie

(04-07-2012, 12:00 AM)jessehmusic Wrote:
(04-06-2012, 11:56 PM)Adrianis Wrote:
(04-06-2012, 10:25 PM)jessehmusic Wrote: ah ty!!! can you give a tut how to set subtitles when the voice comes...
Inside whatever function you use to call the voice, you could use the function below to effectively display a subtitle. There may well be a better way someone else could suggest, I haven't done any subtitles before

SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

Displays a message on the screen.

asTextCategory - the category in the .lang file
asTextEntry - the entry in the .lang file
afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length.
i think i need to have add timers then with SetMessage


AddEffectVoice(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry,
bool abUsePosition, string& asPosEntity, float afMinDistance, float afMaxDistance);



This adds a voice and an effect to be played. It is okay to call this many times in order to play many voices in a row. The EffectVoiceOverCallback is not called until ALL voices have finished.
asVoiceFile - the voice to play
asEffectFile - the effect to play
asTextEntry - the text entry in the .lang file
asTextCat - the category in the .lang file
abUsePosition - ?
asPosEntity - the entity at which the effect appears
afMinDistance - minimum distance to see the effect
afMaxDistance - maximum distance to see the effect



(This post was last modified: 04-07-2012, 12:09 AM by Xanthos.)
04-07-2012, 12:04 AM
Find


Messages In This Thread
RE: How do i make a Dark and Evil vocie - by Xanthos - 04-07-2012, 12:04 AM



Users browsing this thread: 1 Guest(s)