Scripting:Main page

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
(Topics:)
Line 1: Line 1:
-
[[Category:Scripting]]
+
__NOTOC__
 +
__NOEDITSECTION__
{{ScriptingMenu}}
{{ScriptingMenu}}
 +
<br>
 +
{| width="100%"
 +
|-
 +
| style="vertical-align:top; border-width:0px; width:100%" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
 +
<!-- 1.Open Top Section -->
 +
<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.
 +
 +
|}
 +
</div>
 +
 +
<!-- 1. End of Top Section -->
 +
</div>
 +
|}<small> <br></small>
 +
{| width="100%"
 +
|-
 +
| style="vertical-align:top; border-width:0px; width:40%;" |
 +
<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>
-
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 trough Database -> Scripting.
+
| style="vertical-align:top; border-width:0px; width:60%;" |
 +
<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;">
 +
 
 +
== Tutorials ==
 +
<div style="float:right;">[{{SERVER}}{{localurl:Template:CurrentScriptTutorialItems|action=edit}} '''Add Finished Tutorial''']</div><div style="clear:both;">
 +
</div>
 +
{{CurrentScriptTutorialItems}}
 +
<!-- 3. Section middle right end -->
 +
</div>
 +
</div>
 +
|}<small> <br></small>
 +
{| width="100%"
 +
|-
 +
| style="vertical-align:top; border-width:0px; width:40%;" |
 +
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
 +
 
 +
<!-- 4. Section bottom left start -->
 +
<div style="padding:0.3em 1em 0.7em 1em;">
 +
 
 +
== Topics ==
 +
Basic Information on Different Parts of Scripting
-
=== Topics: ===
 
* [[Scripting:Syntax|Syntax]]
* [[Scripting:Syntax|Syntax]]
* [[Scripting:Operators|Operators]]
* [[Scripting:Operators|Operators]]
* [[Scripting:Interfaces|Interfaces]]
* [[Scripting:Interfaces|Interfaces]]
-
* [[Scripting:Basic course|Basic course]] (mostly translated)
+
</div>
-
* [[Scripting:Script_editor|The external script editor]]
+
<!-- 4. Section bottom left end -->
-
* [[Scripting:InvokeItem|A tutorial on scripting the portal InvokeItem()]]
+
</div>
-
* [[Scripting:InfoBar Links|A tutorial on scripting for an InfoBar link]]
+
 
-
* [[Scripting:Data Storage|A tutorial on understanding STNE non volatile storage]]
+
| style="vertical-align:top; border-width:0px; width:60%;" |
-
* [[Scripting:STNE Classes|A tutorial on understanding STNE classes]]
+
<div style="margin:0; margin-right:10px;border:2px solid #16344E;">
-
* [[Scripting:STNE SRS|A tutorial on getting short range sensor data]]
+
 
 +
<!-- 5. Section bottom right start -->
 +
<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]]

Revision as of 16:12, 1 January 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.


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


Topics

Basic Information on Different Parts of Scripting

Finished Scripts

  • 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