The International Simutrans Forum

PakSets and Customization => Pak64 => Topic started by: Arkamaic on September 05, 2008, 11:45:09 PM

Title: Building my own vehicles
Post by: Arkamaic on September 05, 2008, 11:45:09 PM
So I just started trying to do it. I know how to model them (I use blender). But my question now is how would a DAT file for a vehicle look like??

And once I have the dat file done, how do i convert it to a pak?
Title: Re: Building my own vehicles
Post by: DirrrtyDirk on September 05, 2008, 11:55:22 PM
.dat files are simple text files - and for examles you can always look at the pak64 sources at sourceforge (http://simutrans.svn.sourceforge.net/viewvc/simutrans/).

For the conversion to a .pak you need a program called makeobj - which is linked on the download pages of this forum. See more on this thread (http://forum.simutrans.com/index.php?topic=348.0) in the pak128 section...
Title: Re: Building my own vehicles
Post by: whoami on September 06, 2008, 02:14:57 AM
Also try the Wikis:
http://en.wiki.simutrans.com/index.php/Creating_addons (http://en.wiki.simutrans.com/index.php/Creating_addons)
http://de.wiki.simutrans-forum.de/wiki/tiki-index.php?page=en_doPak (http://de.wiki.simutrans-forum.de/wiki/tiki-index.php?page=en_doPak) (only partially in English or other languages)
Title: Re: Building my own vehicles
Post by: Arkamaic on September 08, 2008, 08:13:35 PM
That was my problem. I didn't know that the PNG file needed to be one picture. Ill try it again to see if that was my problem. =)
Title: Re: Building my own vehicles
Post by: prissi on September 08, 2008, 08:33:22 PM
Actaully, the png-files can be many pictures, at least according to the syntax, as long as they have the correct size. However, for sake of simplicity singe image for all view was (and is) preferred.

Rendering at 64 size is difficult. Usually there will be many stray pixels and / nad  \ view will look very differnt, even for symmetrical vehicles. AT least this was true for all raw rendered images I saw.