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
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#10
RE: How do i make a Dark and Evil vocie

(04-07-2012, 12:04 AM)Xanthos Wrote:
(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



i got error when i made my snt custom sound

got an Ogg and just made an txt and renamed it to "get the fuck out!.snt" same name as the ogg but with "get the fuck out!.ogg"

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-07-2012, 12:16 AM
Website Find


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



Users browsing this thread: 4 Guest(s)