<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=Languages_Tutorial</id>
		<title>Languages Tutorial - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=Languages_Tutorial"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;action=history"/>
		<updated>2026-04-19T21:59:35Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;diff=725&amp;oldid=prev</id>
		<title>Sirius: Added languagemenue</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;diff=725&amp;oldid=prev"/>
				<updated>2010-11-26T20:51:43Z</updated>
		
		<summary type="html">&lt;p&gt;Added languagemenue&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:51, 26 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Languages|Languages_Tutorial}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The script below is in no way complete, all it does at the moment is retransmit what the player said (from the player's point of view nothing happened). It is up to you to add what you want to the script and make it work the way you want to. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The script below is in no way complete, all it does at the moment is retransmit what the player said (from the player's point of view nothing happened). It is up to you to add what you want to the script and make it work the way you want to. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sirius</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;diff=110&amp;oldid=prev</id>
		<title>MrSugarCube at 20:47, 3 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;diff=110&amp;oldid=prev"/>
				<updated>2009-06-03T20:47:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:47, 3 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l51&quot; &gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Good luck!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Good luck!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Articles]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MrSugarCube</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;diff=78&amp;oldid=prev</id>
		<title>MrSugarCube: Created page with 'The script below is in no way complete, all it does at the moment is retransmit what the player said (from the player's point of view nothing happened). It is up to you to add wh...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Languages_Tutorial&amp;diff=78&amp;oldid=prev"/>
				<updated>2009-06-02T22:58:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;The script below is in no way complete, all it does at the moment is retransmit what the player said (from the player&amp;#039;s point of view nothing happened). It is up to you to add wh...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The script below is in no way complete, all it does at the moment is retransmit what the player said (from the player's point of view nothing happened). It is up to you to add what you want to the script and make it work the way you want to. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In your ''sphere.ini'' look for the line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;SpeechSelf=spk_player // make sure it is equal to spk_player&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In sphere_speech.scp you'll find the '''[SPEECH spk_player]''' block. Under it add the code as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;[SPEECH spk_player]&lt;br /&gt;
ON=*&lt;br /&gt;
	IF !(&amp;lt;ISGM&amp;gt;)&lt;br /&gt;
		VAR.MODE = &amp;lt;ARGN1&amp;gt;&lt;br /&gt;
		CAPTURE_SPEECH &amp;lt;ARGS&amp;gt;&lt;br /&gt;
		ARGN1 = talkmode_prompt&lt;br /&gt;
	ENDIF&lt;br /&gt;
	RETURN 0&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''talkmode_prompt'' prevents speech from appearing above the player's head, but allows npc's to react to things like &amp;quot;buy&amp;quot; and other commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, in a seperate file you can script the capture_speech function. Here's the outline of what it looks like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;spherescript&amp;gt;[FUNCTION capture_speach]&lt;br /&gt;
REF1 = &amp;lt;UID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// Get player speach modes&lt;br /&gt;
LOCAL.MODE = &amp;lt;VAR.MODE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// Get hearing distance based on speech mode&lt;br /&gt;
IF (&amp;lt;LOCAL.MODE&amp;gt; == talkmode_system)&lt;br /&gt;
	LOCAL.HEAR_DIST = 15	// normal hearing distance  &lt;br /&gt;
ELSEIF (&amp;lt;LOCAL.MODE&amp;gt; == talkmode_yell)&lt;br /&gt;
	LOCAL.HEAR_DIST = 30	// yell hearing distance&lt;br /&gt;
ELSEIF (&amp;lt;LOCAL.MODE&amp;gt; == talkmode_whisper)&lt;br /&gt;
	LOCAL.HEAR_DIST = 2 	// whisper hearing distance&lt;br /&gt;
ENDIF&lt;br /&gt;
&lt;br /&gt;
LOCAL.SENTENCE = &amp;lt;ARGS&amp;gt; // do things with your sentence here&lt;br /&gt;
&lt;br /&gt;
FORCLIENTS &amp;lt;LOCAL.HEAR_DIST&amp;gt;&lt;br /&gt;
     // here you can define who hears what, changing the sentence to whatever you want, changing the color ect..&lt;br /&gt;
     REF1.TRYSRC &amp;lt;UID&amp;gt; MESSAGEUA 0 0 0 0 &amp;lt;LOCAL.SENTENCE&amp;gt;&lt;br /&gt;
ENDFOR&amp;lt;/spherescript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good luck!&lt;/div&gt;</summary>
		<author><name>MrSugarCube</name></author>	</entry>

	</feed>