<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://datoolset.net/mw/index.php?action=history&amp;feed=atom&amp;title=Compatible_Companion_Mod_Creation%2FJoining_The_Party</id>
		<title>Compatible Companion Mod Creation/Joining The Party - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://datoolset.net/mw/index.php?action=history&amp;feed=atom&amp;title=Compatible_Companion_Mod_Creation%2FJoining_The_Party"/>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;action=history"/>
		<updated>2026-04-19T19:46:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.6</generator>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16464&amp;oldid=prev</id>
		<title>Sunjammer: /* The joining script */ indented main</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16464&amp;oldid=prev"/>
				<updated>2011-07-11T12:35:22Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The joining script: &lt;/span&gt; indented main&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;amp;diff=16464&amp;amp;oldid=16461&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Sunjammer</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16461&amp;oldid=prev</id>
		<title>Idomeneas at 15:22, 10 July 2011</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16461&amp;oldid=prev"/>
				<updated>2011-07-10T15:22:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&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;'&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 15:22, 10 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;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 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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''Joining The Party''' step describes how to handle &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;add &lt;/del&gt;your custom companion to the party.&lt;/div&gt;&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;The '''Joining The Party''' step describes how to handle &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;adding &lt;/ins&gt;your custom companion to the party.&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;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;In this step Valeria is allowed to have a class chosen the first time you meet her. So create in VALERIA_NPC_HIRE the flags ISMAGE, ISROGUE, ISWARRIOR and ISROGUEWARRIOR, if you want to do that, otherwise delete all the references to those flags. One of these is set to TRUE through dialog with Valeria. At the end of the dialog this script is called.&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;In this step Valeria is allowed to have a class chosen the first time you meet her. So create in VALERIA_NPC_HIRE the flags ISMAGE, ISROGUE, ISWARRIOR and ISROGUEWARRIOR, if you want to do that, otherwise delete all the references to those flags. One of these is set to TRUE through dialog with Valeria. At the end of the dialog this script is called.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idomeneas</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16456&amp;oldid=prev</id>
		<title>Idomeneas: /* The joining script */</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16456&amp;oldid=prev"/>
				<updated>2011-07-10T14:55:11Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The joining script&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&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;'&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 14:55, 10 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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;This script contains EVERYTHING you need to properly hire a follower without leveling him/her automatically.&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;This script contains EVERYTHING you need to properly hire a follower without leveling him/her automatically.&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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Valeria in my mod is allowed to choose her class to Warrior, Rogue, Mage or Multiclass.&lt;/div&gt;&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;Valeria in my mod is allowed to choose her class to Warrior, Rogue, Mage or Multiclass &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(here I show you only the case Rogue-Warrior)&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;/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;&amp;lt;dascript&amp;gt;&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;&amp;lt;dascript&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idomeneas</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16455&amp;oldid=prev</id>
		<title>Idomeneas: /* The joining script */</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16455&amp;oldid=prev"/>
				<updated>2011-07-10T14:54:05Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The joining script&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&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;'&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 14:54, 10 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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;This script contains EVERYTHING you need to properly hire a follower without leveling him/her automatically.&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;This script contains EVERYTHING you need to properly hire a follower without leveling him/her automatically.&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;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Valeria in my mod is allowed to choose her class to Warrior, Rogue, Mage or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Rogue-Warrior&lt;/del&gt;.&lt;/div&gt;&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;Valeria in my mod is allowed to choose her class to Warrior, Rogue, Mage or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Multiclass&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;/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;&amp;lt;dascript&amp;gt;&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;&amp;lt;dascript&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Idomeneas</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16449&amp;oldid=prev</id>
		<title>Sunjammer: Updating template</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16449&amp;oldid=prev"/>
				<updated>2011-07-10T13:44:08Z</updated>
		
		<summary type="html">&lt;p&gt;Updating template&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&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;'&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 13:44, 10 July 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L170&quot; &gt;Line 170:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 170:&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;&amp;lt;/dascript&amp;gt;&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;&amp;lt;/dascript&amp;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;/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;−&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TutorialNavBar|The Fade|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Handling &lt;/del&gt;Gifts}}&lt;/div&gt;&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;{{TutorialNavBar|The Fade|Gifts &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;And Approval&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sunjammer</name></author>	</entry>

	<entry>
		<id>http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16448&amp;oldid=prev</id>
		<title>Sunjammer: Created</title>
		<link rel="alternate" type="text/html" href="http://datoolset.net/mw/index.php?title=Compatible_Companion_Mod_Creation/Joining_The_Party&amp;diff=16448&amp;oldid=prev"/>
				<updated>2011-07-10T13:41:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The '''Joining The Party''' step describes how to handle add your custom companion to the party.&lt;br /&gt;
&lt;br /&gt;
In this step Valeria is allowed to have a class chosen the first time you meet her. So create in VALERIA_NPC_HIRE the flags ISMAGE, ISROGUE, ISWARRIOR and ISROGUEWARRIOR, if you want to do that, otherwise delete all the references to those flags. One of these is set to TRUE through dialog with Valeria. At the end of the dialog this script is called.&lt;br /&gt;
&lt;br /&gt;
==The joining script==&lt;br /&gt;
&lt;br /&gt;
Create the following script. I call it valeria_valjoin.nss&lt;br /&gt;
This script contains EVERYTHING you need to properly hire a follower without leveling him/her automatically.&lt;br /&gt;
&lt;br /&gt;
Valeria in my mod is allowed to choose her class to Warrior, Rogue, Mage or Rogue-Warrior.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dascript&amp;gt;&lt;br /&gt;
#include &amp;quot;sys_chargen_h&amp;quot;&lt;br /&gt;
#include &amp;quot;sys_rewards_h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;plt_valeria_npc_hire&amp;quot;&lt;br /&gt;
&lt;br /&gt;
//this function resets an NPC&lt;br /&gt;
void basic_blank_char(object oChar);&lt;br /&gt;
&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
object oPC=GetHero(), me=OBJECT_SELF;&lt;br /&gt;
WR_SetPlotFlag(PLT_VALERIA_NPC_HIRE, PARTY_VALERIA_JOINED, TRUE);&lt;br /&gt;
&lt;br /&gt;
basic_blank_char(me);&lt;br /&gt;
//select race, otherwise skills tree wont show&lt;br /&gt;
&lt;br /&gt;
Chargen_SelectRace(me,RACE_HUMAN);&lt;br /&gt;
int nClass;&lt;br /&gt;
//remove the rogue defaults, valeria's char is rogue when created&lt;br /&gt;
&lt;br /&gt;
CharGen_ClearAbilityList(me,1);//remove talents&lt;br /&gt;
//CharGen_ClearAbilityList(me,2);//remove spells&lt;br /&gt;
//CharGen_ClearAbilityList(me,3);//remove skills&lt;br /&gt;
&lt;br /&gt;
RemoveAbility(me, ABILITY_TALENT_DIRTY_FIGHTING);&lt;br /&gt;
RemoveAbility(me, ABILITY_SKILL_POISON_1);&lt;br /&gt;
//depending on which flags you set in the dialog that lead to this script, choose the appropriate class&lt;br /&gt;
&lt;br /&gt;
if(WR_GetPlotFlag(PLT_VALERIA_NPC_HIRE,ISMAGE)==TRUE)&lt;br /&gt;
{&lt;br /&gt;
    nClass=CLASS_WIZARD;&lt;br /&gt;
    _AddAbility(me, ABILITY_SPELL_ARCANE_BOLT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(WR_GetPlotFlag(PLT_VALERIA_NPC_HIRE,ISROGUE)==TRUE)&lt;br /&gt;
{&lt;br /&gt;
    nClass=CLASS_ROGUE;&lt;br /&gt;
    _AddAbility(me, ABILITY_TALENT_DIRTY_FIGHTING);&lt;br /&gt;
    _AddAbility(me, ABILITY_SKILL_POISON_1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(WR_GetPlotFlag(PLT_VALERIA_NPC_HIRE,ISWARRIOR)==TRUE)&lt;br /&gt;
{&lt;br /&gt;
    nClass=CLASS_WARRIOR;&lt;br /&gt;
    _AddAbility(me, ABILITY_TALENT_POWERFUL);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if(WR_GetPlotFlag(PLT_VALERIA_NPC_HIRE,ISROGUEWARRIOR)==TRUE)&lt;br /&gt;
{nClass=CLASS_ROGUE;}&lt;br /&gt;
&lt;br /&gt;
//apply attributes, abilities and stats for the core class&lt;br /&gt;
//SetCreatureProperty(me,PROPERTY_SIMPLE_CURRENT_CLASS, n1-3.0,PROPERTY_VALUE_BASE);&lt;br /&gt;
&lt;br /&gt;
Chargen_SelectCoreClass(me,nClass);&lt;br /&gt;
//add mage spells&lt;br /&gt;
//_AddAbility(me, ABILITY_TALENT_HIDDEN_ASSASSIN);//this works if it's available on the core class&lt;br /&gt;
&lt;br /&gt;
if(WR_GetPlotFlag(PLT_VALERIA_NPC_HIRE,ISROGUEWARRIOR)==TRUE)&lt;br /&gt;
{&lt;br /&gt;
    _AddAbility(me, ABILITY_TALENT_HIDDEN_WARRIOR);&lt;br /&gt;
    _AddAbility(me, ABILITY_TALENT_DIRTY_FIGHTING);&lt;br /&gt;
    _AddAbility(me, ABILITY_SKILL_POISON_1);&lt;br /&gt;
}&lt;br /&gt;
//tactics&lt;br /&gt;
&lt;br /&gt;
Chargen_SetNumTactics(me);&lt;br /&gt;
Chargen_EnableTacticsPresets(me);&lt;br /&gt;
//SetFollowPartyLeader(me, TRUE);&lt;br /&gt;
//level needed for scaling&lt;br /&gt;
&lt;br /&gt;
int nPackage = GetPackage(me);&lt;br /&gt;
int nTargetLevel;&lt;br /&gt;
&lt;br /&gt;
int nPlayerLevel = GetLevel(oPC);&lt;br /&gt;
if(nPlayerLevel &amp;gt;= 13 || nPlayerLevel == 1 )&lt;br /&gt;
   nTargetLevel = nPlayerLevel;&lt;br /&gt;
else&lt;br /&gt;
   nTargetLevel = nPlayerLevel + 1;&lt;br /&gt;
int nMinLevel = GetM2DAInt(TABLE_PACKAGES, &amp;quot;MinLevel&amp;quot;, nPackage);&lt;br /&gt;
&lt;br /&gt;
if(nMinLevel &amp;gt; 0 &amp;amp;&amp;amp; nMinLevel &amp;gt; nTargetLevel)&lt;br /&gt;
   nTargetLevel = nMinLevel;&lt;br /&gt;
&lt;br /&gt;
//xp until hero level&lt;br /&gt;
&lt;br /&gt;
int nXp = RW_GetXPNeededForLevel(Max(nTargetLevel, 1));&lt;br /&gt;
RewardXP(me, nXp, TRUE, FALSE);&lt;br /&gt;
&lt;br /&gt;
//add specialization&lt;br /&gt;
&lt;br /&gt;
float count=1.;&lt;br /&gt;
if(GetLevel(GetHero())&amp;gt;=7)&lt;br /&gt;
{&lt;br /&gt;
    SetCreatureProperty(me, 38, count);  // 38 is the spec point ID&lt;br /&gt;
    count=count+1.;&lt;br /&gt;
}&lt;br /&gt;
if(GetLevel(GetHero())&amp;gt;=14)&lt;br /&gt;
    SetCreatureProperty(me, 38, count);  // 38 is the spec point ID&lt;br /&gt;
&lt;br /&gt;
//make available in party picker&lt;br /&gt;
&lt;br /&gt;
SetFollowerState(me, FOLLOWER_STATE_ACTIVE);&lt;br /&gt;
SetFollowerState(me, FOLLOWER_STATE_AVAILABLE);&lt;br /&gt;
&lt;br /&gt;
//dont fire player_core scaling&lt;br /&gt;
&lt;br /&gt;
SetLocalInt(me, FOLLOWER_SCALED, 1);&lt;br /&gt;
SetLocalInt(me, AI_FLAG_STATIONARY, 0);&lt;br /&gt;
SetLocalInt(me, AMBIENT_SYSTEM_STATE, 0);&lt;br /&gt;
SetLocalInt(me, CREATURE_REWARD_FLAGS, 0);&lt;br /&gt;
&lt;br /&gt;
//change script to player and send hire event&lt;br /&gt;
&lt;br /&gt;
SetEventScript(me, RESOURCE_SCRIPT_PLAYER_CORE);&lt;br /&gt;
InitHeartbeat(me, CONFIG_CONSTANT_HEARTBEAT_RATE);&lt;br /&gt;
SendPartyMemberHiredEvent(me, FALSE);&lt;br /&gt;
SetFollowerApprovalEnabled(me,TRUE);&lt;br /&gt;
&lt;br /&gt;
//open up party picker&lt;br /&gt;
&lt;br /&gt;
SetPartyPickerGUIStatus(2);&lt;br /&gt;
ShowPartyPickerGUI();  //to allow Valeria to join in the active party&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void basic_blank_char(object oChar)&lt;br /&gt;
{&lt;br /&gt;
// Initialize all creature properties to default value&lt;br /&gt;
&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_SIMPLE_LEVEL,1.0f,PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_SIMPLE_EXPERIENCE,0.0f,PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_STRENGTH,      CHARGEN_BASE_ATTRIBUTE_VALUE, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_DEXTERITY,     CHARGEN_BASE_ATTRIBUTE_VALUE, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_CONSTITUTION,  CHARGEN_BASE_ATTRIBUTE_VALUE, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_WILLPOWER,     CHARGEN_BASE_ATTRIBUTE_VALUE, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_INTELLIGENCE,  CHARGEN_BASE_ATTRIBUTE_VALUE, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_MAGIC,         CHARGEN_BASE_ATTRIBUTE_VALUE, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_ATTACK_SPEED_MODIFIER,     1.0f);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_DAMAGE_SCALE,       1.0f);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_RESISTANCE_MENTAL,         0.0f);&lt;br /&gt;
    SetCreatureProperty(oChar,PROPERTY_ATTRIBUTE_RESISTANCE_PHYSICAL,       0.0f);&lt;br /&gt;
    SetCreatureProperty(oChar,51,       1.0f);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_REGENERATION_HEALTH_COMBAT,  REGENERATION_HEALTH_COMBAT_DEFAULT);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_REGENERATION_STAMINA_COMBAT, REGENERATION_STAMINA_COMBAT_DEFAULT);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_REGENERATION_HEALTH,REGENERATION_HEALTH_EXPLORE_DEFAULT, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_REGENERATION_STAMINA, REGENERATION_STAMINA_EXPLORE_DEFAULT, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_MISSILE_SHIELD,0.0);&lt;br /&gt;
    SetCreatureProperty(oChar, 38,0.0);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_DEPLETABLE_HEALTH ,          1.0f, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_DEPLETABLE_MANA_STAMINA ,    0.0f, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_DEFENSE ,          0.0f, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_ATTACK,            0.0f, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_DAMAGE_BONUS,      0.0f, PROPERTY_VALUE_BASE);&lt;br /&gt;
    SetCreatureProperty(oChar, PROPERTY_ATTRIBUTE_FLANKING_ANGLE,  60.0f, PROPERTY_VALUE_BASE);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/dascript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{TutorialNavBar|The Fade|Handling Gifts}}&lt;/div&gt;</summary>
		<author><name>Sunjammer</name></author>	</entry>

	</feed>