News:

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

can't build new ship stop [solved]

Started by Kristian, April 27, 2009, 09:14:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kristian

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

QuoteCan't build a terminal station here! An end piece of flat road/track is needed.

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.

vilvoh

Uhmm..why don't you try this?
type=stop
waytype=water

Escala Real...a blog about Simutrans in Spanish...

Kristian

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

z9999

type=habour, it is not harbour.

Quote
harbour is obsolete type for ShipStop

That is catch-all message, 'obsolete type' is meaningless in this case.

Kristian

So can you find anything wrong in the code directly above your post (which may or may not cause the original problem)?

z9999

 ???

Quote
type=stop
waytype=water

This is a canal stop. It must be Dims=1,1,2.

Kristian

So what do I write if I want it to be a "ship stop" (i.e. on the shoreline)?

z9999


Kristian