The International Simutrans Forum

 

Author Topic: Building my own vehicles  (Read 4934 times)

0 Members and 1 Guest are viewing this topic.

Offline Arkamaic

  • *
  • Posts: 26
Building my own vehicles
« 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?

Offline DirrrtyDirk

  • Devotees (Inactive)
  • *
  • Posts: 1253
  • JR 700 Series Shinkansen
  • Languages: EN,DE
Re: Building my own vehicles
« Reply #1 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.

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 in the pak128 section...

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Re: Building my own vehicles
« Reply #2 on: September 06, 2008, 02:14:57 AM »
« Last Edit: September 06, 2008, 02:26:39 AM by whoami »

Offline Arkamaic

  • *
  • Posts: 26
Re: Building my own vehicles
« Reply #3 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. =)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9472
  • Languages: De,EN,JP
Re: Building my own vehicles
« Reply #4 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.