Lade...
 
Creating an Addon

Overview of creating Addons

Pak files consist of a plain text file with data (a dat file), and a png image. They are compiled into Simutrans readable object files with Tools.

Dat fileslink

Dat files are plain text files (no formatting) with a .dat file extension. Dat files can be edited in Wordpad or countless similar programs.

Please do not use Notepad, you'll find that linebreaks are non-existent:

Png imageslink

Resourceslink

There is a large collection of resources for creating graphics here: http://graphics.simutrans.com/index.php?cat=5 Graphical Repository for creating Graphicslink-external

Items of Special Interestlink

Pak64link
Pak128link

Lightinglink

In Simutrans, The Sun shines from the South:

Image

Restrictionslink

Png images must obey certain rules for MakeObj to handle them correctly.
  • The png must have a color depth of 24 bits per pixel. You can flatten png files in Gimp to give them the correct png type.
  • The png must use the correct transparency color. Note that there are some other special colors which glow in the dark in the game.
  • The image size in pixels must be a multiple of the tile set's size (the most common sizes are 64 and 128).
  • All objects in the image must be aligned to the imaginary paksize x paksize tiles in the image. Their position within these tiles will affect their alignment withing the game. Note that the dat files also refer to tile coordinates within images.

Creating png imageslink

There are roughly two ways to create images for Simutrans. Either you draw them by hand in a program like the Gimp, or you make a 3D model and render it. Making 3D models has a steeper initial learning curve, but on the other hand it is easier to make good-looking objects in that way. There is a difference in style as well.

IMAGES TO BE ADDED

If you want to try and make a 3D model, Blender can be recommended, if only because several Simutrans artists are working with it already. Please look at www.blenderartists.orglink-external" rel="external nofollow">http://www.blenderartists.org www.blenderartists.orglink-externallink-external for Blender tutorials and support. Some useful Simutrans blender templates can be found http://forum.simutrans.com/index.php/topic,5054.0.html herelink-external.

Necessary paks for Simutrans to start at alllink

Landscapelink

  • crossing.*.pak
  • cursor.*.pak
  • misc.*.pak
  • symbol.*.pak, symbol.Builder.pak
  • menu.*.pak
  • ground.*.pak
  • good.None.pak, good.Passagiere.pak, good.Post.pak
  • config/*.tab

Citieslink

(town hall, city road, road, bus depot)
  • building.*_CITY.pak
  • way.city_road.pak, 1x way.*_road.pak
  • building.CarDepot.pak
Note that town halls are not absolutely necessary, but very practical.

Raillink

(depot, rails)
  • building.TrainDepot.pak
  • way.*_rail.pak

All other waytypeslink

One depot and one way. Ships only need a depot.
Seite bewerten

Zu dieser Seite haben beigesteuert: Frank , An_dz , IgorEliezer und system .
Seite zuletzt geändert: am Montag August 15, 2016 20:36:29 GMT-0000 von Frank.

Page discussion

There are no discussions currently on this page Start discussion

Online Benutzer

17 Benutzer (alle) online

Neueste Forenbeiträge