04-07-2016, Monday-20:49:12
You need the graphics and for each object a file with parameters. Size of single graphics should conform to your pakset. In your first graphic every single graphic has a size of 256x256 pixels, but i didn´t know any pak256***. Second graphic you can use directly for pak192...comic for example.
Create the .dat file:
Generally information for dat-file-parameters you can find at http://simutrans-germany.com/wiki/wiki/en_dat_Files.
Here an example (not tested) , if your second graphic named A320.png you can copy the parameters into a text-file with extension .dat, maybe a320turkish.dat.
Specific parameters for your vehicle you should change to the values of the A320, here are power, wight.... from a Boeing(?).
Lines started with # are only comments, you can delete them.
Now you have your grahics and your dat-file.
To compile them for the game, you need the program makeobj: https://sourceforge.net/projects/simutra...s/makeobj/.
Easy way to compile: Copy your .png and the .dat in the same folder, like makeobj.
Start a command-line.
Change to your makeobj-folder.
Enter makeobj <paksetname>, i´d never created objects for pak192.comic, but makeobj pak192.comic should work (or without point?).
Makeobj should compile all files found in your makeobj-folder.
Copy the created .pak-file(s) in your pakset-folder in simutrans-directory and start the game.
School is out since over 30years, hard to write in english
.
Create the .dat file:
Generally information for dat-file-parameters you can find at http://simutrans-germany.com/wiki/wiki/en_dat_Files.
Here an example (not tested) , if your second graphic named A320.png you can copy the parameters into a text-file with extension .dat, maybe a320turkish.dat.
Specific parameters for your vehicle you should change to the values of the A320, here are power, wight.... from a Boeing(?).
Code:
#next line the program need for every vehicle
obj=vehicle
#name of your vehicle
name=A320_Turkish
#name of the artist
copyright=BTBEI2016
intro_year=1990
intro_month=1
retire_year=2015
retire_month=12
waytype=air
#price in depots will set to 1/100 of this value
cost=20000000
#price per kilometer will set to 1/100 of this value
runningcost=780
# i´m not sure, i think here only works the german Parameter for passengers
freight=Passagiere
# max passengers can loaded, if you create vehicles for passenger-transportation
payload=120
engine_type=diesel
#in KW, not HP
power=10500
#increase this value, your vehicle will faster reach maximum speed
gear=130
#in kilomerters per hour
speed=907
# in tons
weight=61
# more useful for vehicles with trailers, you can control distance between
# for example truck and trailer
# beware to set this parameters to high for planes, maybe your plane than need
# more than one field to load, but its not possible ingame
length=5
# look at the sound-folder in your pak, maybe there exist a sound.tab
# inside you can found numbers for the sound-files, you can use here
sound=5
# smoke=
# constraints you should use for vehicles with trailers
constraint[prev][0]=none
constraint[prev][1]=none
constraint[next][0]=none
constraint[next][1]=none
# to work your graphic needs the name A320T.png or you have to change "A320T" to the name of your graphic, value behind graphic name
# identify line and row for each single-graphic
EmptyImage[S]=A320T.0.0
EmptyImage[N]=A320T.0.3
EmptyImage[E]=A320T.0.2
EmptyImage[W]=A320T.0.1
EmptyImage[SW]=A320T.1.1
EmptyImage[SE]=A320T.1.3
EmptyImage[NW]=A320T.1.2
EmptyImage[NE]=A320T.1.0
# only useful if you painted discrete graphics for a loaded vehicle
#freightImageType[0]=
#freightimage[0][S]=
#freightimage[0][N]=
#freightimage[0][E]=
#freightimage[0][W]=
#freightimage[0][SW]=
#freightimage[0][SE]=
#freightimage[0][NE]=
#freightimage[0][NW]=
#_EO_
Lines started with # are only comments, you can delete them.
Now you have your grahics and your dat-file.
To compile them for the game, you need the program makeobj: https://sourceforge.net/projects/simutra...s/makeobj/.
Easy way to compile: Copy your .png and the .dat in the same folder, like makeobj.
Start a command-line.
Change to your makeobj-folder.
Enter makeobj <paksetname>, i´d never created objects for pak192.comic, but makeobj pak192.comic should work (or without point?).
Makeobj should compile all files found in your makeobj-folder.
Copy the created .pak-file(s) in your pakset-folder in simutrans-directory and start the game.
School is out since over 30years, hard to write in english
