How to make the truck to bring wood as cargo? September 07, 2009, 08:10:10 am I'm making an addon for pak96.comic. How to make some changes to let the truck to bring wood on dat file?You have got to understand me please. Quote Selected
Re: How to make the truck to bring wood as cargo? Reply #1 – September 07, 2009, 08:32:49 am Sample of a truck that can carry wood from the SVN:Code: [Select]obj=vehiclename=Holztransportercopyright=Hajowaytype=roadfreight=Holzpayload=16engine_type=dieselsmoke=Dieselspeed=60cost=320000weight=6power=210RunningCost=220sound=1Constraint[Prev][0]=noneintro_year = 1927intro_month = 12retire_year = 1965EmptyImage[S]=veh-wood.2.0EmptyImage[N]=veh-wood.2.1EmptyImage[E]=veh-wood.2.2EmptyImage[W]=veh-wood.2.3EmptyImage[SE]=veh-wood.2.4EmptyImage[NW]=veh-wood.2.5EmptyImage[NE]=veh-wood.2.6EmptyImage[SW]=veh-wood.2.7FreightImage[S]=veh-wood.3.0FreightImage[N]=veh-wood.3.1FreightImage[E]=veh-wood.3.2FreightImage[W]=veh-wood.3.3FreightImage[SE]=veh-wood.3.4FreightImage[NW]=veh-wood.3.5FreightImage[NE]=veh-wood.3.6FreightImage[SW]=veh-wood.3.7The png image for this dat file is this one. Quote Selected
Re: How to make the truck to bring wood as cargo? Reply #2 – September 07, 2009, 09:36:08 am In general, you need to look up the name of the good. It can be different in each pak set.Quotefreight=HolzOnce you figured the name of the good, put a line like the above in your DAT file. Be sure to write upper and lower case correct. Quote Selected
Re: How to make the truck to bring wood as cargo? Reply #3 – September 07, 2009, 09:47:37 am So, I copy the cargo to the truck dat file.I using pak96. What are the cargo's names? Quote Selected
Re: How to make the truck to bring wood as cargo? Reply #4 – September 07, 2009, 09:49:07 am I'd think you can look into the pak96.comic folder, and check the goodXXX.pak files. The names of the goods should be in place of the XXX. It's been long though that I worked with other pak sets, and I don't have a copy of Simutrans at hand to check it.Edit: I suspect the names to be in German, so you need to feed them into a translator to make sense of them. Should work fairly well, though, since it's only single words. Quote Selected
Re: How to make the truck to bring wood as cargo? Reply #5 – September 07, 2009, 09:51:17 am Wow. Thanks! Quote Selected