BACK TO OC2 HOME

HOME
CL SYNTAX
CL COMMANDS
CL VARIABLES
CL EXAMPLES
BUILDINGS
THEMES
LANGUAGES
TESTING

CREATED
4.11.2004

UPDATED
05.11.2005

Recommended viewing resolution 800x600 or higher.

Operation Cleaner 2 logo

DEVELOPER PAGES

You probably know what Operation Cleaner is about. If you don't, visit Operation Cleaner 2 home page.

BACKGROUND FOR CONSTRUCTION LANGUAGE

In the first version of Cleaner all the buildings were hand-made, meaning that all maps had to be built from scratch, block by block. There were some tools to help building work but there are no user-made maps.

The first versions of OC2 had the same file-based system, but I found that too cumbersome and it required a lot of repetitive work.

The next versions had built-in building procedures in the program code that constructed the buildings. I realized it required a lot of work and it caused lots of errors. Some maps didn't work at all, causing the game to crash.

The latest versions have a built-in parser that reads Construction Language (CL) files and parses them into maps. The idea is that the CL files may be built by anyone, and when placed on certain game directory the game reads all the needed (randomized) CL building files and constructs the map on the fly. In addition, the block placement on the map is renewed so there should be no game crashes because of placing blocks to the map.

GENERAL

These pages concentrate mainly in the Construction language. All code examples are printed on blue.

THEMES page is for those who want to make their own themes in OC2.

TESTING page is for those who are playtesting the game.

PROBLEMS

If you have problems, you can contact me via e-mail which is the fastest way to inform about the problem.
Page updated 12.04.2005