The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: AvG on March 23, 2010, 01:59:08 pm

Title: Makeobj50 gives strange result
Post by: AvG on March 23, 2010, 01:59:08 pm
Hi guys,
I am trying to make a new pakfile for a mailbox.
In a special folder I have:
- dat-file
- multiple png-file (from Fagonella)
- makeobj47
- bat-file
If I run the batfile I get a pakfile of 11 kB (seems OK)

Replacing makeobj47 by the new makeobj50 and adapting the batfile results in pakfile of 1 kB (not OK)

What's the difference between 47 and 50 ?
Is the multiple png a problem?

AvG
Title: Re: Makeobj50 gives strange result
Post by: vilvoh on March 23, 2010, 02:31:20 pm
Does it show any error message?
Title: Re: Makeobj50 gives strange result
Post by: DirrrtyDirk on March 23, 2010, 02:31:45 pm
Maybe you need to change something in the dat?

If you'd post it, people could look over it...
Title: Re: Makeobj50 gives strange result
Post by: AvG on March 23, 2010, 04:59:54 pm
Here is the dat-file.
Pls keep in mind that this dat-file works with Makeobj47

Obj=building
Name=basic_mailbox
type=busstop
copyright=Fagonella
enables_pax=0
enables_post=1
NoInfo=1
Dims=1,1,2
Level = 2
intro_year=1750
intro_month=1
icon=> ../images/bus_stops.3.5
cursor=../images/bus_stops.3.4
BackImage[0][0][0][0][0]=../images/bus_stops.3.0
FrontImage[0][0][0][0][0]=../images/bus_stops.3.1
BackImage[1][0][0][0][0]=../images/bus_stops.3.2
FrontImage[1][0][0][0][0]=../images/bus_stops.3.3

AvG
Title: Re: Makeobj50 gives strange result
Post by: vilvoh on March 23, 2010, 05:14:33 pm
Maybe the problem is related with this topic (http://forum.simutrans.com/index.php?topic=98.0).

It stopped complaining and compiled the pak when I changed those to

Quote
type=stop
waytype=track

like it told me.

Check also the german wiki (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page_ref_id=175#Additional_parameters_for_player_and_extension_buildings_up_to_Simutrans_0_100_0_Makeobj_49_).
Title: Re: Makeobj50 gives strange result
Post by: Combuijs on March 23, 2010, 06:35:57 pm
So from makeobj v49 it should be

type=stop
waytype=road

instead of

type=busstop

Edit: up to version 48 means from version 49
Title: Re: Makeobj50 gives strange result
Post by: AvG on March 23, 2010, 08:00:47 pm
Thank you. This is the solution.

Is there somewhere an overview of these new conditions to be found?

AvG

Edit: I checked the german wiki now. Gives enough info.