Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Characters Talk??? HELP!!!

Author
Message
GS1
14
Years of Service
User Offline
Joined: 9th Sep 2010
Location:
Posted: 10th Sep 2010 05:59
Please show me how to get my characters to play a .wav file to talk. I can't seem to figure it out. If you could give me an example code that would be greatly appreciated. GOD Bless!!

GS
biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 12th Sep 2010 02:02
hi, there is no example script for that... you need to buy dark voices to get that work. that's a lip sync program for all your chars. use it and it will work

[href]http://tbhproductions.com[/href]
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 12th Sep 2010 02:09
If you have version 117. Then there is a addendum.rtf file in the docs folder that explains how to get this working.

No spaces in the wav file name and it has to be a 16bit 44khz mono file.

Follow the instructions and it does work.

Hope this helps.

Nothing but coffee in my veins
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 7th Oct 2010 23:31
Sorry about reviving this old thread, but I have a question in relation to this. I've read the addendum as Pirate Myke said and I understand about how to get the character to talk.

My question is this, the addendum says that the aimain script has to be set to greetplayer.fpi, fair enough, I get that, but how do I get the character to shoot at me once he/she has finished talking?

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 7th Oct 2010 23:50
You will need to make a script similar to the greetplayer.fpi script (which contains the code for making the character talk) and change it to make the character attack the player. I think the "greetplayer.fpi" script is just an example of how to make it work.


The one and only,


bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 8th Oct 2010 01:17
Ok thanks for that, it's a good job I enjoy trying to combine scripts to see if they work lol

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 8th Oct 2010 02:27
State=2 uses the soundfinished=1 to continue to state=3 after talking, so just change state 3 so it calls your attack script.

In this example
  you can see that I just commented the old state=3 lines and then added a new one.

   Conjured Entertainment

 WARNING: Intense Madness
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 8th Oct 2010 03:00
Thanks for that CE, I didn't know you could point to another script that way, very usefull to know!

Login to post a reply

Server time is: 2024-11-24 19:26:14
Your offset time is: 2024-11-24 19:26:14