The spin-off to Starpoint Gemini 2 introduces coveted strategic elements into the tactical space simulation that is the Starpoint Gemini franchise. Conquer territory, conduct research, scavenge for resources and defeat your enemies. In Warlords, think BIGGER! Bigger universe, bigger ships, bigger stations. Expect many tweaked features; the community has decided on what they want and now they are getting it!

Submit Spaceship or Spacestation Submit Decal, Sound or Portrait


Post tutorial Report RSS Using the Scripterion

The Scripterion is a small companion application that comes with SG Warlords. It is a glossary of all the script functions available to modders (and developers). This tutorial is a quick overview of how to use the Scripterion.

Posted by on - Basic Client Side Coding

ScripterionUIThis itty-bitty application can help would-be scripters to find their way around all the script functions used in Warlords scripts. It's definitely not the only resource that I can suggest, but having it opened while scripting is quite useful. As any standard app, this one is also divided into several UI parts as you can see in the image below.







1. LIST OF FUNCTIONS

A more proper name would be list of functions, objects, variable types..., but let's keep it simple. Whatever function is available to scripters is in this list. You can list through it or use the search box in the top toolbar, right above the list, to look for something more specific. A part of the function name is all it takes for the list to filter automatically.

2. DESCRIPTION

...can be found on the right, the upper portion. As the name implies, it describes what a function does and how to use it. Perhaps more importantly, it also shows some warnings on how or where NOT to use a function. If a script that you've written is not doing what you wanted it to, and the game log shows no errors, go back to the Scripterion and check the description of the function and see if that provides any clues.

3. EXAMPLE

Learning by example is the best way to learn. Every function entry in the Scripterion comes with an actual working example of its usage. You can also simply copy/paste the example into a script and run it in-game to see how it works. Don't forget to add the End at the end of the script though ;).

FINAL THOUGHTS

We constantly upgrade the script language and add new functions, so please read our regular change-logs that go out with every new update. The Modding portion of the change-log addresses these things. But it's also a good idea to browse through the function list every so-often just in case we've forgotten to make a note of something. Don't forget to check out our Using Notepad++ for Warlords scripting tutorial and have fun scripting!


For further information, please feel free to contact us: modding@starpointgemini.com

For more information about SG Warlords check out these links:
Starpoint Gemini Warlords homepage
Starpoint Gemini Warlords forum
Starpoint Gemini Warlords Steam store page
LGM Games dev-blog
Follow us on Facebook
Follow us on Twitter

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Starpoint Gemini Warlords
Platforms
Windows
Engine
Custom
Contact
Send Message
Release date
Game watch
Follow
Tutorial
Browse
Tutorials
Report
Report
Share
Related Games
Related Groups