Scripting:Main page

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
 
(17 intermediate revisions not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
__NOEDITSECTION__
{{ScriptingMenu}}
{{ScriptingMenu}}
 +
<br>
 +
{| width="100%"
 +
|-
 +
| style="vertical-align:top; border-width:0px; width:45%" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
<!-- 2. Section middle left start -->
 +
<div style="padding:0.3em 1em 0.7em 1em;">
 +
 +
==Welcome to the Scripting Section of the STNE Wiki ==
 +
Welcome to the Scripting section of the STNE wiki, here you can publish your scripts or write tutorials for others. This section of the Wiki is intended to document the scripting engine found in the game. Most scripting related pages in STNE can be found from the main menu through Database -> Scripting.
 +
</div>
 +
<!-- 2. Section middle left end -->
 +
</div>
 +
 +
| style="vertical-align:top; border-width:0px; width:65%;" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
 +
<!-- 3. Section middle right start -->
 +
<div style="padding:0.3em 1em 0.7em 1em;">
 +
 +
== Topics ==
 +
Basic Information on Different Parts of Scripting
 +
 +
* [[Scripting:Syntax|Syntax]]
 +
* [[Scripting:Operators|Operators]]
 +
* [[Scripting:Interfaces|Interfaces]]
 +
 +
</div>
 +
<!-- 4. Section bottom left end -->
 +
</div>
 +
|}<small> <br></small>
 +
{| width="100%"
 +
|-
 +
| style="vertical-align:top; border-width:0px; width:50%;" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
 +
<!-- 2. Section middle left start -->
 +
<div style="padding:0.3em 1em 0.7em 1em;">
 +
 +
== New Article ==
 +
Everyone can participate. All you need is an STNE wiki account and appropriate scripting knowledge. Please place your finished articles in the appropriate categories on this page so they can be found easily later.<br>
{{CreateScriptingArticle}}
{{CreateScriptingArticle}}
 +
<small>'''Enter the title for the article. For example:<br>
 +
Scripting:Fuction xyz '''</small>
 +
</div>
 +
<!-- 2. Section middle left end -->
 +
</div>
 +
 +
| style="vertical-align:top; border-width:0px; width:50%;" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
 +
<!-- 3. Section middle right start -->
 +
<div style="padding:0.3em 1em 0.7em 1em;">
 +
 +
== Finished Scripts ==
 +
<i>For more scripts go to Database/Scripting/Script Editor/Script library </i><div style="float:right;">[{{SERVER}}{{localurl:Template:CurrentScriptItems|action=edit}} '''Add Finished Script''']</div><div style="clear:both;">
 +
</div>
 +
 +
{{Template:CurrentScriptItems}}
 +
<!-- 3. Section middle right end -->
 +
</div>
 +
</div>
 +
|}<small> <br></small>
 +
{| width="100%"
 +
|-
 +
| style="vertical-align:top; border-width:0px; width:50%;" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
== Tutorials ==
 +
<div style="float:right;">[{{SERVER}}{{localurl:Template:CurrentScriptTutorialItems|action=edit}} '''Add Finished Tutorial''']</div><div style="clear:both;">
 +
</div>
 +
{{CurrentScriptTutorialItems}}
 +
 +
</div>
 +
 +
| style="vertical-align:top; border-width:0px; width:60%;" |
 +
 +
<!-- 3. Section middle right end -->
-
[[Scripting:Basic course|Basic course]]
 
-
[[Scripting:CodeTranslation|Code translation]]
+
[[Category:Scripting]]

Latest revision as of 20:03, 23 May 2012


Main | Syntax | Operators | Interfaces | FAQ | Contents | API Reference | Index


Welcome to the Scripting Section of the STNE Wiki

Welcome to the Scripting section of the STNE wiki, here you can publish your scripts or write tutorials for others. This section of the Wiki is intended to document the scripting engine found in the game. Most scripting related pages in STNE can be found from the main menu through Database -> Scripting.

Topics

Basic Information on Different Parts of Scripting


New Article

Everyone can participate. All you need is an STNE wiki account and appropriate scripting knowledge. Please place your finished articles in the appropriate categories on this page so they can be found easily later.


Enter the title for the article. For example:
Scripting:Fuction xyz

Finished Scripts

For more scripts go to Database/Scripting/Script Editor/Script library
  • Deuterium Tanker Control - A script which will cause all of the deuterium tankers in one sector to collect the maximum possible amount of deuterium
  • Ore Collector Control - A script which will cause all of the ore collectors in one sector to collect the maximum possible amount of iridium
  • Duranium Extractor - A script which will cause the host ship to extract duranium from all debris fields in the sector

Personal tools