Chapter 13. Moding

A mod of a game is it's variation. A known mod of Simutrans is the project SimuTTD, which uses the graphic from a concurrent game.

13.1. Working with objects

Everything in Simutrans is an object. You may create your own, and share them, or keep them for yourself. It is always better to share...

13.1.1. Tools

Simustarter. a tool for quicker starting of Simutrans

Makeobj. a tool for making new objects

13.1.2. The .dat file

The .dat file is a file, which is text-only file, meaning easy human readable. It contains properties of an object.

There are currently these types of text objects possible:

bridge . Road and rail bridges.

building. All types of building other than factories.

citycar. Private cars driving in the cities.

crossing. Level crossings.

cursor. Mouse pointer images.

factory. Also known as industries.

good. everything that can be transported

ground. (Basement, gras, outside, shore, water)

menu. Game menus and skins.

misc. Miscellaneous objects, unique by name.

pedestrian. a walking person

roadsign. All roadsigns, no entry, traffic lights etc.

smoke. Any smoke object as used for animating vehicles and buildings.

symbol. Several pictures of miscellaneous usages.

tree. Any kind of tree.

tunnel. Any kind of tunnel.

vehicle. Any player-owned vehicle (e.g. Trains, Trucks, Buses etc.)

way. Roads, rail tracks, canals etc.

13.1.3. The .pak file

The .pak file is the actual file containing the game object(s). pak64 and pak128 are the two .pak-s used with Simutrans by default. There is also an pak96, which is an compromise between the speed of pak64 more details offered by pak256.

13.1.4. Creating objects

Objects may be created, making the game more enjoyable. There are many objects, which might make the game more exiting. Vehicles, buildings, industries, attractions and other...

13.2. Own music

Own music can be implemented quite easily, customizing Simutrans to your liking. You only have to place MIDI files in the subfolder music, which is under the main Simutrans folder. After that, you also have to edit the file music.tab which is placed in the main Simutrans folder.

13.3. Language translations

Although there are many translations existing, you might also wish to make your own, to customize Simutrans to your native tongue. This can be done by editing the texts in the subfolder texts. The .tab files in this folder are the initial point for translations. When started, Simutrans reads all the .tab files it finds. The names are usually two letters, which denote the language code, i.e. en.tab for english language. The texts are dually. The first line is the original text, and the line below the translation, that should be applied. There should also be a translated subfolder with the same name, as the file, i.e. for en.tab it is the subfolder with the name en. It contains the help texts in the HTML format (Hypertext markup language). It is the same format used on the internet for web pages.

KESL/stConstruct/ChapModing (last edited 2009-01-03 18:38:19 by jeff)