Scripting:Main page

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
Line 5: Line 5:
{| width="100%"
{| width="100%"
|-
|-
-
| style="vertical-align:top; border-width:0px; width:100%" |
+
| style="vertical-align:top; border-width:0px; width:45%" |
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
<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;">
-
<!-- 1.Open Top Section -->
+
==Welcome to the Scripting Section of the STNE Wiki ==
-
<div style="padding:0.3em 2.5em 0.7em 1em;">
+
-
== Welcome to the Scripting Section of the STNE Wiki ==
+
-
 
+
-
{| width="100%" cellpadding="10px"
+
-
| class="nl" width="100%" valign="top" |
+
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.
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>
</div>
-
<!-- 1. End of Top Section -->
+
| 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>
</div>
|}<small> <br></small>
|}<small> <br></small>
{| width="100%"
{| width="100%"
|-
|-
-
| style="vertical-align:top; border-width:0px; width:40%;" |
+
| style="vertical-align:top; border-width:0px; width:50%;" |
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
Line 39: Line 50:
</div>
</div>
-
| style="vertical-align:top; border-width:0px; width:60%;" |
+
| style="vertical-align:top; border-width:0px; width:50%;" |
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
Line 45: Line 56:
<div style="padding:0.3em 1em 0.7em 1em;">
<div style="padding:0.3em 1em 0.7em 1em;">
-
== Tutorials ==
+
== Finished Scripts ==
-
<div style="float:right;">[{{SERVER}}{{localurl:Template:CurrentScriptTutorialItems|action=edit}} '''Add Finished Tutorial''']</div><div style="clear:both;">
+
<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>
</div>
-
{{CurrentScriptTutorialItems}}
+
 
 +
{{Template:CurrentScriptItems}}
<!-- 3. Section middle right end -->
<!-- 3. Section middle right end -->
</div>
</div>
Line 55: Line 67:
{| width="100%"
{| width="100%"
|-
|-
-
| style="vertical-align:top; border-width:0px; width:40%;" |
+
| style="vertical-align:top; border-width:0px; width:50%;" |
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
-
 
+
== Tutorials ==
-
<!-- 4. Section bottom left start -->
+
<div style="float:right;">[{{SERVER}}{{localurl:Template:CurrentScriptTutorialItems|action=edit}} '''Add Finished Tutorial''']</div><div style="clear:both;">
-
<div style="padding:0.3em 1em 0.7em 1em;">
+
</div>
-
 
+
{{CurrentScriptTutorialItems}}
-
== Topics ==
+
-
Basic Information on Different Parts of Scripting
+
-
 
+
-
* [[Scripting:Syntax|Syntax]]
+
-
* [[Scripting:Operators|Operators]]
+
-
* [[Scripting:Interfaces|Interfaces]]
+
-
</div>
 
-
<!-- 4. Section bottom left end -->
 
</div>
</div>
| style="vertical-align:top; border-width:0px; width:60%;" |
| style="vertical-align:top; border-width:0px; width:60%;" |
-
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 
-
<!-- 5. Section bottom right start -->
+
<!-- 3. Section middle right end -->
-
<div style="padding:0.3em 1em 0.7em 1em;">
+
-
== Finished Scripts ==
 
-
<div style="float:right;">[{{SERVER}}{{localurl:Template:CurrentScriptItems|action=edit}} '''Add Finished Script''']</div><div style="clear:both;">
 
-
</div>
 
-
{{Template:CurrentScriptItems}}
 
-
<!-- 5. Section bottom right end -->
 
-
</div>
 
-
</div>
 
[[Category:Scripting]]
[[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