<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_19</id>
	<title>A Development Tutorial: Chapter 19 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_19"/>
	<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_19&amp;action=history"/>
	<updated>2026-11-22T13:45:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_19&amp;diff=16304&amp;oldid=prev</id>
		<title>Henry at 19:20, 22 September 2018</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_19&amp;diff=16304&amp;oldid=prev"/>
		<updated>2018-09-22T19:20:32Z</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 20:20, 22 September 2018&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;| image = AWikiEditor.gif&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;| image = AWikiEditor.gif&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;| description = Get the developer tools and try building new content for this game!&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;| description = Get the developer tools and try building new content for this game!&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;| season = All Seasons&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;| status = Progress Stopped&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;| status = Progress Stopped&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;| complete = 75%&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;| complete = 75%&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 19: Dialogues vs Scripts&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;| chapter = 19: Dialogues vs Scripts&lt;/div&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 27|Pro Tips&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;}}&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;}}&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;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_19&amp;diff=9913&amp;oldid=prev</id>
		<title>Henry: Created page with &quot;{{Guide | name = A Development Tutorial: Chapter 19 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = Pr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_19&amp;diff=9913&amp;oldid=prev"/>
		<updated>2017-01-26T02:38:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Guide | name = A Development Tutorial: Chapter 19 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = Pr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Guide&lt;br /&gt;
| name = A Development Tutorial: Chapter 19&lt;br /&gt;
| image = AWikiEditor.gif&lt;br /&gt;
| description = Get the developer tools and try building new content for this game!&lt;br /&gt;
| status = Progress Stopped&lt;br /&gt;
| complete = 75%&lt;br /&gt;
| authors = Slowhand&lt;br /&gt;
| chapter = 19: Dialogues vs Scripts&lt;br /&gt;
| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &amp;quot;SAY&amp;quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Dialogues vs Scripts: Russian Roulette.&lt;br /&gt;
&lt;br /&gt;
In this tutorial I will present two ways to write a Russian roulette game. The mechanic of the game is simple, the player can play Russian roulette with an NPC: A player puts a bet, a revolver has only 1 (in our example 2) bullet inside, the cylinder is rolled and the player pulls the trigger. If the player survives, he wins double, if not then... re-spawn time.&lt;br /&gt;
&lt;br /&gt;
This example is used to illustrate how to solve the task in two different ways, one being without writing scripts (will use only pre-written scripts from dialogue.fos) the other with our own scripts.&lt;br /&gt;
&lt;br /&gt;
Using only dialogues and the pre-written scripts from &amp;quot;dialogs.fos&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* Save this dialogue file: [http://pastebin.com/Hvpgi4Lr russian_roulette_onlydiag.fodlg] to &amp;quot;Server\dialogs&amp;quot;&lt;br /&gt;
* Add the following line to &amp;quot;Server\dialogs\dialogs.lst&amp;quot;: &amp;quot;$   2250   russian_roulette_onlydiag&amp;quot;&lt;br /&gt;
* Add the dialogue number (2050) to an NPC in a map or on your usual test map.&lt;br /&gt;
&lt;br /&gt;
Here is how it looks:&lt;br /&gt;
&lt;br /&gt;
(image soon)&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
</feed>