<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://sf3scripting.spellforce.com/index.php?action=history&amp;feed=atom&amp;title=Script%2FInitialSetup</id>
		<title>Script/InitialSetup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://sf3scripting.spellforce.com/index.php?action=history&amp;feed=atom&amp;title=Script%2FInitialSetup"/>
		<link rel="alternate" type="text/html" href="http://sf3scripting.spellforce.com/index.php?title=Script/InitialSetup&amp;action=history"/>
		<updated>2026-05-01T22:31:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>http://sf3scripting.spellforce.com/index.php?title=Script/InitialSetup&amp;diff=222&amp;oldid=prev</id>
		<title>Dave at 08:36, 5 October 2016</title>
		<link rel="alternate" type="text/html" href="http://sf3scripting.spellforce.com/index.php?title=Script/InitialSetup&amp;diff=222&amp;oldid=prev"/>
				<updated>2016-10-05T08:36:53Z</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 08:36, 5 October 2016&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 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;This page will walk you through the process of setting up your development environment for writing AngelScript &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;script &lt;/del&gt;for use in ''SpellForce III''.&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;This page will walk you through the process of setting up your development environment for writing &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;AngelScript&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' scripts &lt;/ins&gt;for use in ''SpellForce III''.&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;==Appropriate Editor==&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;==Appropriate Editor==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://sf3scripting.spellforce.com/index.php?title=Script/InitialSetup&amp;diff=221&amp;oldid=prev</id>
		<title>Dave: Created page with &quot;This page will walk you through the process of setting up your development environment for writing AngelScript script for use in ''SpellForce III''.  ==Appropriate Editor== Th...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sf3scripting.spellforce.com/index.php?title=Script/InitialSetup&amp;diff=221&amp;oldid=prev"/>
				<updated>2016-10-05T08:36:28Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This page will walk you through the process of setting up your development environment for writing AngelScript script for use in &amp;#039;&amp;#039;SpellForce III&amp;#039;&amp;#039;.  ==Appropriate Editor== Th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page will walk you through the process of setting up your development environment for writing AngelScript script for use in ''SpellForce III''.&lt;br /&gt;
&lt;br /&gt;
==Appropriate Editor==&lt;br /&gt;
The editor of choice for this task is ''Sublime Text 3'', which you can download [https://www.sublimetext.com/3 here] (there is an unlimited free trial version, but the program is pretty awesome so you might want to consider buying it anyway).&amp;lt;br /&amp;gt;&lt;br /&gt;
Of course any other text editor/IDE with syntax highlighting support for C++ or something similar (e.g. [https://notepad-plus-plus.org/ Notepad++]) will work as well, but it won't look as nice and will (probably) not support any of the advanced features discussed in the following sections.&lt;br /&gt;
&lt;br /&gt;
==Sublime Text 3 Setup==&lt;br /&gt;
After downloading and installing ''Sublime Text 3'', you should perform the following steps in order to get full syntax highlighting, auto completion and some basic intellisense support.&lt;br /&gt;
# Make sure that you have started ''Sublime Text 3'' at least once (you can leave it running for the following steps).&lt;br /&gt;
# Open the install location of ''SpellForce III'' (or the ''grimlore\sf3\root\'' folder for internal developers) in the explorer and run ''UpdateSublimeCompletions.bat'' by double-clicking it in order to automatically install the most recent auto-completion database with all script commands available in the current ''SpellForce III'' build. &amp;lt;br/&amp;gt; You should also make it a habit to run this again after every major update, in order to ensure that you always have the latest scripting features available.&lt;br /&gt;
# Start up ''Sublime Text 3'' if it isn't running already and from the top menu select ''Project'' and then ''Save Project as...''. Save the project file to a suitable location (e.g. your ''My Documents'' folder).&lt;br /&gt;
# Again from ''Project'' select the option ''Add Folder to Project...'' and navigate to the folder ''bin_win32\configs\levels\'' within your ''SpellForce III'' installation directory (internal developers should instead choose ''grimlore\sf3\root\data\configs\levels\''). You should now see an overview of all script files and folders on the left side of the window.&lt;br /&gt;
# Open any ''.as'' file from the list.&lt;br /&gt;
# In the very bottom right of the window you will see a text that probably reads ''ActionScript'', as that is ''Sublime Text''&amp;lt;nowiki&amp;gt;'&amp;lt;/nowiki&amp;gt;s default interpretation of the ''.as'' file extension. &amp;lt;br/&amp;gt; In order to change that, click on the text and from the menu that opens select ''Open all with current extension as...'' and then ''C++''. &amp;lt;br/&amp;gt; (Note: There is also a plugin for ''Sublime Text 3'' which allows it to highlight the actual ''AngelScript'' syntax, however that plugin will not work well with ''Sublime Text'''s builtin intellisense. It is therefore recommended to use the default ''C++'' syntax highlighting instead, which will work just fine.)&lt;br /&gt;
# That's it, you're done!&lt;br /&gt;
&lt;br /&gt;
==Sublime Text 3 Features==&lt;br /&gt;
''Sublime Text 3'' provides many helpful shortcuts and features in order to help you write scripts more efficiently. Below is a list of shortcuts that can make your life easier.&lt;br /&gt;
{|&lt;br /&gt;
|+&lt;br /&gt;
|'''Shortcut''' || '''Function''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
|F12 || Go to definition || Jump to the definition of the currently selected symbol. This can also be done by hovering the mouse over the symbol and clicking the displayed link.&lt;br /&gt;
|-&lt;br /&gt;
|Up/Down Arrow || Select auto completion option || When you start typing, ''Sublime Text 3'' will automatically suggest a list of possible auto completions. You can use the arrow keys to choose the one you want.&lt;br /&gt;
|-&lt;br /&gt;
|Tab || Confirm auto completion || Inserts the currently highlighted auto completion option where you are typing.&lt;br /&gt;
|-&lt;br /&gt;
|Tab / Shift + Tab (after auto completion) || Navigate function arguments || When using auto completion to select a function, you can press ''Tab'' and ''Shift'' + ''Tab'' to jump between the functions arguments (forward and backward respectively) and fill them in.&lt;br /&gt;
|-&lt;br /&gt;
|Ctrl + Space || Open auto completion suggestions || If you have accidentially closed the auto completion suggestions, you can recall them at any time by pressing ''Ctrl'' + ''Space''.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	</feed>