<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Mapping%2FSentences_Replacement_Guide</id>
	<title>Mapping/Sentences Replacement Guide - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Mapping%2FSentences_Replacement_Guide"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;action=history"/>
	<updated>2026-05-16T04:32:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=605&amp;oldid=prev</id>
		<title>AdamR: AdamR moved page Sentences Replacement Guide to Mapping/Sentences Replacement Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=605&amp;oldid=prev"/>
		<updated>2020-12-12T15:34:01Z</updated>

		<summary type="html">&lt;p&gt;AdamR moved page &lt;a href=&quot;/Sentences_Replacement_Guide&quot; class=&quot;mw-redirect&quot; title=&quot;Sentences Replacement Guide&quot;&gt;Sentences Replacement Guide&lt;/a&gt; to &lt;a href=&quot;/Mapping/Sentences_Replacement_Guide&quot; title=&quot;Mapping/Sentences Replacement Guide&quot;&gt;Mapping/Sentences Replacement Guide&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:34, 12 December 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-503:rev-605 --&gt;
&lt;/table&gt;</summary>
		<author><name>AdamR</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=503&amp;oldid=prev</id>
		<title>Hezus at 12:39, 25 March 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=503&amp;oldid=prev"/>
		<updated>2020-03-25T12:39:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:39, 25 March 2020&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-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Save your custom sentence file in ANSI format. By default Windows saves .txt files in UTF-8, but the game engine can&amp;#039;t read that format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Save your custom sentence file in ANSI format. By default Windows saves .txt files in UTF-8, but the game engine can&amp;#039;t read that format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Mapping]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;[[Category:Mapping&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-498:rev-503:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hezus</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=498&amp;oldid=prev</id>
		<title>Hezus at 12:37, 25 March 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=498&amp;oldid=prev"/>
		<updated>2020-03-25T12:37:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:37, 25 March 2020&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-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Never start your sentence names with symbols or numbers. The game will not be able to find them.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Never start your sentence names with symbols or numbers. The game will not be able to find them.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Save your custom sentence file in ANSI format. By default Windows saves .txt files in UTF-8, but the game engine can&amp;#039;t read that format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Save your custom sentence file in ANSI format. By default Windows saves .txt files in UTF-8, but the game engine can&amp;#039;t read that format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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:Mapping]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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:Tutorials]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-446:rev-498:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Hezus</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=446&amp;oldid=prev</id>
		<title>Hezus: Created page with &quot;Sentence replacement has been possible for many long years through Global Sound Replacement but it&#039;s also possible to make your own sentences. This is how it&#039;s done!  ==What a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Mapping/Sentences_Replacement_Guide&amp;diff=446&amp;oldid=prev"/>
		<updated>2020-03-16T12:07:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sentence replacement has been possible for many long years through Global Sound Replacement but it&amp;#039;s also possible to make your own sentences. This is how it&amp;#039;s done!  ==What a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sentence replacement has been possible for many long years through Global Sound Replacement but it&amp;#039;s also possible to make your own sentences. This is how it&amp;#039;s done!&lt;br /&gt;
&lt;br /&gt;
==What are sentences?==&lt;br /&gt;
The sentences.txt (or default_sentences.txt) file handles all speech and sounds within the game. For instance:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;OT_ANSWER0 otis/yes&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Using &amp;#039;OT_ANSWER0&amp;quot; will make Otis use the yes.wav file stored in ../svencoop/sound/otis/.&lt;br /&gt;
&lt;br /&gt;
Another example is the intercom announcer:&lt;br /&gt;
:&amp;#039;&amp;#039;C1A1_0 bizwarn bizwarn bizwarn warning, high energy detonation detected in materials lab&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
As you can see, you can create full sentences with seperate words, as long as they have a corresponding .wav file. And it&amp;#039;s not limited to words. It will play whatever is stored in the .wav file. You can also add a comma (,) to make the speaker pause for a second.&lt;br /&gt;
&lt;br /&gt;
==How to make your own sentences?==&lt;br /&gt;
Since the default_sentences.txt is used by the game, you should not edit it. It&amp;#039;s better to make your own! Create a text file and the following line to it:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;SECTORSEC vox/doop, sector secured&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
As you can see, it uses the doop.wav, sector.wav and secured.wav from the ../sound/vox/ folder to create a sentence. Save your file as &amp;#039;mymap_sentences.txt&amp;#039; and store it in ../svencoop/sound/mymap/.&lt;br /&gt;
&lt;br /&gt;
Now, open your maps&amp;#039; CFG file and add this line to it:&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;sentence_file sound/mymap/mymap_sentences.txt&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This will now point the game towards your custom sentence file.&lt;br /&gt;
&lt;br /&gt;
==How to put them ingame?==&lt;br /&gt;
Open your map and add an &amp;#039;ambient_generic&amp;#039; entity. Give it a targetname and in the &amp;#039;Sound File&amp;#039; field type: !SECTORSEC .Make sure you start with an exclamation mark (!) so the engine knows it is loading that sound from a sentence.txt file.&lt;br /&gt;
&lt;br /&gt;
To make sure my sound is only heard after triggering it and everywhere in the map, I&amp;#039;ll check the &amp;#039;Play Everwhere&amp;#039; and &amp;#039;Start Silent&amp;#039; flags. Now set up a button/trigger targeting your ambient_generic and the intercom will speak your custom sentence.&lt;br /&gt;
&lt;br /&gt;
You can also do this with NPCs such as scientists, so they will lipsync your custom sentence. To do this, you must use a &amp;#039;scripted_sentence&amp;#039; entity. Give it a targetname (scientist1_speak), in &amp;#039;Sentence Name&amp;#039; add your custom sentence starting with a ! (!LEAVEBRITNEYALONE), and in &amp;#039;Speaker Type&amp;#039; use the name of the NPC you want to use (scientist).&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s also possible to put custom sentences for using and unusing NPCs. Just add your custom sentence to the &amp;#039;Use Sentence&amp;#039; (!DOYOUWANTTOBUILDASNOWMAN) and &amp;#039;Un-use Sentence&amp;#039; (!OKBYE). Note that this is only applies to friendly units.&lt;br /&gt;
&lt;br /&gt;
Lastly, you can replace existing sentences. If you want your scientist to have different screams than the default ones, you can use Global Sound Replacement. More info on that here.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
*Never start your sentence names with symbols or numbers. The game will not be able to find them.&lt;br /&gt;
*Save your custom sentence file in ANSI format. By default Windows saves .txt files in UTF-8, but the game engine can&amp;#039;t read that format.&lt;/div&gt;</summary>
		<author><name>Hezus</name></author>
	</entry>
</feed>