EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[Scr/Exe] Text To Speech
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
Gazz
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 13 Jan 2006
Posts: 12153 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Fri, 4. Jul 08, 15:49    Post subject: [Scr/Exe] Text To Speech Reply with quote Print

This script/exe uses the Microsoft speech API to let X3 scripts speak.

Supposedly the MS Speech SDK comes preinstalled on WinXP but if it's not there you can download it here:
MS Speech SDK 5.1 (68 MB)


To install:
Dump contents of ZIP into the X3 main folder.

To use:
Run X3-TTS.exe, ideally before starting X3.

You should now get a spoken welcome message after loading X3.

If your script wants something spoken, pass the string to plugin.gz.text.to.speech.

(ZIP)


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
Dogs and colour blindness explained: People with green eyes can't see dogs.
Back to top
View user's profile Send private message Visit poster's website
Tenlar Scarflame





Joined: 30 May 2005
Posts: 2746 on topic
Location: VA, USA
Thank you for registering your game
PostPosted: Fri, 4. Jul 08, 17:12    Post subject: Reply with quote Print

oooh... this could be quite fun in the future. Very Happy


_________________
My music - Von Neumann's Children - Lasers and Tactics - Terraformer War
Back to top
View user's profile Send private message Visit poster's website
ezra-r





Joined: 14 Oct 2005
Posts: 1845 on topic

Thank you for registering your game
PostPosted: Fri, 4. Jul 08, 18:06    Post subject: Reply with quote Print

amazing!


_________________
Please egosoft don't screw AI wing formation/collision for Rebirth! ;P

My mods:
Cap Ship Shielding Upgrade
Pirate Patrols & Khaa'k Invasions
My Steam & Linux Specs
Back to top
View user's profile Send private message
cba999





Joined: 20 Oct 2008

Location: belgium

PostPosted: Thu, 8. Nov 12, 04:05    Post subject: Reply with quote Print

euh , can you make a youtube video of how you do it , becose script and plugin in x3 , hmmmm thats new for me

Back to top
View user's profile Send private message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 14860 on topic

Thank you for registering your game
PostPosted: Thu, 8. Nov 12, 15:20    Post subject: Reply with quote Print

This script is mostly something for scripters, who want to add spoken texts to their scripts. If you don't have any experience in scripting this script won't be of any big use for you.

In any way, the basic way of using it would be:

After the script is installed, activate and open the Script Editor. When you're in the Script Editor click on <New script> and give your script a name. (The list of scripts is sorted alphabetically. So for example, a script name starting with "a" will help you finding your script at the top of the list.) Afterwards in the Code window of the script editor, select a line and press 'Enter' to bring up the list of possible commands. Under General Commands -> Script Calls select the command "@ <RetVar/IF/START> = <Refobj> -> call script <Script Name>: <Parameter>".
It should ask you to select a script from the list of available scripts. Select the script "plugin.gz.text.to.speech". Now the script line should be displayed with three open input fields. By selecting the input fields (either with the mouse or by navigating with the arrow keys to them and pressing Enter) you get a list of possible input values. In the first input fields enter / select the Start parameter. The second wants to know an object to run the script on: select [THIS]. The third one is the actual text to speak. Over <string> you can enter a text string here or over <variable> a variable that contains a text string.

The line in your Code window should now look like the following:

Code:
START [THIS] -> call script 'plugin.gz.text.to.speech' :  Text to speak='Text'


Now press 'Esc' to close the script window and confirm the message asking you, if you want to save your script. Afterwards, in the list of scripts mark your script and press "R" and two times Enter. Then your text should be spoken.


_________________
Schreibwettbewerb der Kreativen Zone
X-BtF Anniversary Screensaver von TVCD
VAGABUND von arragon0815
FAQ - häufig gestellte Fragen einfach beantwortet.
XDownloads - Upload, Link, Download
"...time it seems does not care if you have stuff to do or not, it just goes by regardless." - Ketraar
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Thu, 23. May 13, 09:51

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.17851 seconds, sql queries = 35