Earth 2150
EarthC documentation

Version 1.0 BETA for Earth 2150 version 2.8.7
Copyright © 2000 TopWare Interactive

This documentation and all tools distributed with it, are used on your own risk and we offer NO support of ANY kind. We do not guarantee that all functions/methods/structures etc. will behave exactly in the way it is described in this documentation. Badly designed custom scripts may cause game crashes or make you unable to play over net. 

Welcome to the EarthC documentation.
EarthC is a developer tool for Earth 2150 which allows you to create your own campaigns, tutorials, gametypes, AI players and unit scripts. This documentation contains sources of all scripts used in Earth 2150. You can use it to learn how EarthC works before creating your own scripts, then you can use it as the base for your scripts. You can also create your own versions of the three standard Earth 2150 campaigns by changing missions, adding new ones or removing boring ones (we hope there aren't any :-) ).
EarthC is a programming language so you need basic programming skills to write your own scripts but included sources should help you a lot.
We have included also two other usefull tools: WDCreator for putting files into a single '*.wd' file and LangC which helps you organize and localize strings in scripts. All tools are located in the Tools subdirectory.

Documentation contents

EarthC language description
Generic description of the EarthC language.

Objects hierarchy
Tree of objects used in scripts. Each object contains listing of its functions.

Scripts directory structure
Links to sources of all scripts in Earth 2150.

Creating campaign step by step
Description of how to create your own campaign.

Object identifiers
Object identifiers required by some script functions.

EarthC tool
Description how to compile scripts.

WDCreator tool
Description of the file managing tool.

LangC tool
Description of tool for localizing your scripts.

Tips&Tricks
Tips&Tricks&various notes you can't miss.