News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

How to make vehicle in pak64 + templates + with Video

Started by Maicii1995, August 01, 2012, 09:56:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maicii1995

Since this is almost impossible for normal human to make addon in Simutrans without help, so I made this fast tutorial about it.

Read steps or check on video how to make model in simutrans. Your call.

Here is 4, 8, 12, 16 length .png templates: http://up.ht/OIH5V5 + example .dat file
- I downloaded those all in together from simutrans and separatethem into one line each length.
- Just for you would have easier to live.

http://www.youtube.com/watch?v=oPcQ1-p7tzY&feature=youtu.be

Correct next path moving .dat tag

EmptyImage[E]=SR1.0.1
EmptyImage[SE]=SR1.0.2
EmptyImage[ x ]=SR1.0.0   <---- replace small "x" with capital S
EmptyImage[SW]=SR1.0.3
EmptyImage[W]=SR1.0.5
EmptyImage[NW]=SR1.0.6
EmptyImage[N]=SR1.0.4
EmptyImage[NE]=SR1.0.7

" SR1 " = image root.

1. Choose any length, what you want for your vehicle
- 4, 8, 12 or 16. You can always continue vehicle length just watch from Untitled picture first line where that vehicle can be give more length.

2. Do something on it. (Doors, windows, steam pipe, human, horse, etc).
- I made kdmdeRed = nothing.

3. After you have done that. Make sure that the image is saved as .png file.

4. Open example.dat file with notepad++ or else writer editor software.
- I like personally Notepad++, but its your choose

5. Replace value name= (test) with your vehicle name. And if you want change now other values feel free to do that. http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_VehicleDef
Above link you can find more information about vehicles and what to write in .dat file

6. Next scroll down and you see "EmptyImage[S..."

7. Here is ( "image/root" ) this is where makeobj search image.

8. Now we are going to but makeobj file up. ( step 7. "image root")
-> Download makeobj for your simutrans version http://sourceforge.net/projects/simutrans/files/makeobj/
-> After downloaded, create file in " C:\ " called makeobj and place " makeobj.exe " there.
-> So it root will be " C:\makeobj/makeobj.exe "
-> next open startup -> write CMD -> press enter   <------ here if not ------->
-> write in CMD, when it opens this: " cd c:\makeobj "
-> leave CMD open and now back to models.

9. Okay we have makeobj.exe setup. So take your .dat and .png file and drag them into
" C:\makeobj " file

10. After that go to window CMD what we hide in 8 step.

11. You should see there: " C:\makeobj> " if not go back few steps.

12. If you have that text in CMD then type: " makeobj pak " and press enter it creates folder called " vehicle. + yourvehiclename + .pak "

13. Place that .pak file into your Simutrans pak64. And start Simutrans and have fun.


Remember me when you drive with your vehicle.

EDIT: makeobj is better downloaded from sourceforge.