I am trying to get my old pakContrast to work with simutrans 102. I have recompiled the pak with makeobj 49.
When I try to build a harbor, I get an error message
The log shows something like this
Message: wkz_halt_aux(): building ShipStop on square 36,45 for waytype 3
Message: gui_textarea_t::recalc_size(): reset size to 171,33
Message: create_win(): ins_win=1
Message: create_win(): new ins_win=2
I wondered if the syntax for harbors had changed, so I consulted the pak64-source. These files
http://simutrans.svn.sourceforge.net/viewvc/simutrans/pak64/player/playerbuildings.dat?view=markup
http://simutrans.svn.sourceforge.net/viewvc/simutrans/pak64/player/big-hafen.dat?revision=146&view=markup
show
type=harbour
but when I try that, makeobj says
FATAL ERROR: building_writer_t::write_obj()
harbour is obsolete type for ShipStop
and refuses to compile.
Any help is welcome.
Uhmm..why don't you try this?
type=stop
waytype=water
That is what I currently have, and what gives the first error message.
Obj=building
Name=ShipStop
# must be 1*2
# 1_1 is the land sqare
Dims=1,2,4
NoInfo=1
Level=1
type=stop
waytype=water
enables_pax=1
BackImage[0][0][0][0][0][0]=dock.1.1
BackImage[0][1][0][0][0][0]=dock.0.1
BackImage[1][0][0][0][0][0]=dock.1.0
BackImage[1][0][1][0][0][0]=dock.0.0
BackImage[2][0][0][0][0][0]=dock.0.3
BackImage[2][1][0][0][0][0]=dock.1.3
BackImage[3][0][0][0][0][0]=dock.0.2
BackImage[3][0][1][0][0][0]=dock.1.2
icon=> dock.0.4
cursor=bdz.0.0
type=habour, it is not harbour.
That is catch-all message, 'obsolete type' is meaningless in this case.
So can you find anything wrong in the code directly above your post (which may or may not cause the original problem)?
???
This is a canal stop. It must be Dims=1,1,2.
So what do I write if I want it to be a "ship stop" (i.e. on the shoreline)?
type=habour
:idea:
Works like a charm. Many thanks!