<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=Automatic_note_book</id>
	<title>Automatic note book - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=Automatic_note_book"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;action=history"/>
	<updated>2026-04-29T02:54:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;diff=19311&amp;oldid=prev</id>
		<title>Obsttorte at 14:18, 11 June 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;diff=19311&amp;oldid=prev"/>
		<updated>2017-06-11T14:18:11Z</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:18, 11 June 2017&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; 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:Editing]]&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;== Introduction ==&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;== Introduction ==&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>Obsttorte</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;diff=15958&amp;oldid=prev</id>
		<title>Obsttorte: /* Properties */</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;diff=15958&amp;oldid=prev"/>
		<updated>2013-03-19T16:17:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Properties&lt;/span&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 16:17, 19 March 2013&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;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;&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;Every message will start on a new line. If you want to have line spaces between the single messages, set the lines spawnarg to a higher value then really required by the text. If the number of lines left on a page are not enough to contain the message, a new page will be automatically created to show the message.&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;Every message will start on a new line. If you want to have line spaces between the single messages, set the lines spawnarg to a higher value then really required by the text. If the number of lines left on a page are not enough to contain the message, a new page will be automatically created to show the message.&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 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;--[[User:Obsttorte|Obsttorte]] ([[User talk:Obsttorte|talk]]) 12:17, 19 March 2013 (EDT)&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;--[[User:Obsttorte|Obsttorte]] ([[User talk:Obsttorte|talk]]) 12:17, 19 March 2013 (EDT)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Obsttorte</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;diff=15957&amp;oldid=prev</id>
		<title>Obsttorte: This article describes how to setup a book that automatically takes notes and that the player can carry with him.</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Automatic_note_book&amp;diff=15957&amp;oldid=prev"/>
		<updated>2013-03-19T16:17:05Z</updated>

		<summary type="html">&lt;p&gt;This article describes how to setup a book that automatically takes notes and that the player can carry with him.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
If you are planning to create a mission, in which the player receives a lot of notes containing a lot of information, you always have to ask yourself if this will please everyone. Not everyone likes to take down notes while playing, so it would be good to have a note book that does this automatically. This is standard in most RPG&amp;#039;s and adventure-styled games, and here it is described how you can set it up.&lt;br /&gt;
&lt;br /&gt;
== The scriptobject ==&lt;br /&gt;
&lt;br /&gt;
The first thing you need is the appropiate scriptobject. It can be found [http://forums.thedarkmod.com/topic/14394-apples-and-peaches-obsttortes-mapping-and-scripting-thread/page__view__findpost__p__307413, here]. Copy it in your script folder, remove the txt ending and include it by adding the line&lt;br /&gt;
&lt;br /&gt;
  #include &amp;quot;script/tdm_diary.script&amp;quot;&lt;br /&gt;
&lt;br /&gt;
in the tdm_custom_scripts.script file. If no such file exists, you have to create it.&lt;br /&gt;
&lt;br /&gt;
== The note book ==&lt;br /&gt;
&lt;br /&gt;
In DarkRadiant, create a book entity. You should use a mobile one. Add the following spawnargs:&lt;br /&gt;
&lt;br /&gt;
- &amp;quot;scriptobject&amp;quot; &amp;quot;flexible_readable&amp;quot;: Let&amp;#039;s the book use the appropiate scriptobject&lt;br /&gt;
- &amp;quot;gui_page1&amp;quot; &amp;quot;name_of_your_gui_here&amp;quot;: The gui the book should use. Note that currently only one-sided guis are supported&lt;br /&gt;
- &amp;quot;num_pages&amp;quot; &amp;quot;1&amp;quot;&lt;br /&gt;
- &amp;quot;lineNums&amp;quot; &amp;quot;0&amp;quot;&lt;br /&gt;
- &amp;quot;max_lines&amp;quot; &amp;quot;X&amp;quot; : The maximum number of lines that fits on one page depending on the gui you&amp;#039;ve choosen (you can test this in the readable editor)&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it for the note book.&lt;br /&gt;
&lt;br /&gt;
== Adding notes ==&lt;br /&gt;
&lt;br /&gt;
Now you have the notebook, but it&amp;#039;s empty. If you want to add a note, follow these steps.&lt;br /&gt;
&lt;br /&gt;
Create a gui_message entity. You can find this under targets. Add the following spawnargs on it:&lt;br /&gt;
&lt;br /&gt;
- &amp;quot;scriptobject&amp;quot; &amp;quot;tdm_diary&amp;quot;&lt;br /&gt;
- &amp;quot;call&amp;quot; &amp;quot;addMessage&amp;quot;&lt;br /&gt;
- &amp;quot;diary&amp;quot; &amp;quot;name_of_your_note_book&amp;quot;: fill in the name of the above created book entity&lt;br /&gt;
- &amp;quot;text&amp;quot; &amp;quot;your_text_here&amp;quot;: the text that should be added to the note book&lt;br /&gt;
- &amp;quot;lines&amp;quot; &amp;quot;Y&amp;quot;: the number of lines required for the text&lt;br /&gt;
&lt;br /&gt;
The message will be added to the diary when the entity get&amp;#039;s triggered.&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
&lt;br /&gt;
Every message will start on a new line. If you want to have line spaces between the single messages, set the lines spawnarg to a higher value then really required by the text. If the number of lines left on a page are not enough to contain the message, a new page will be automatically created to show the message.&lt;br /&gt;
--[[User:Obsttorte|Obsttorte]] ([[User talk:Obsttorte|talk]]) 12:17, 19 March 2013 (EDT)&lt;/div&gt;</summary>
		<author><name>Obsttorte</name></author>
	</entry>
</feed>