News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[Bug] Excess space between city cars (R3302)

Started by jamespetts, May 19, 2010, 12:13:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

See the attached screenshot: city cars treat themselves as being far longer than they really are: this makes it difficult to manage congestion effectively. This does not apply to players' vehicles.

Tested with Standard R 3302 in Windows, 32-bit.

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Dwachs

Cars take at least one tile, iirc. This should happen with different player convois too. Afaik,  nothing has changed with the citycar code.
Parsley, sage, rosemary, and maggikraut.

jamespetts

Dwachs,

the player vehicles get much closer to each other than the cars do; and cars didn't used to stay this far apart.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

gauthier

I don't agree with James, my buses aren't more than one behind each other on each tile. Maybe it's just a feeling because your citycars here are very small.

jamespetts

With player vehicles, the space that they leave is dependant on their actual length: with city cars, they all leave a very large amount of space whether they need to do so or not.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

VS

#5
James - you mean, as if the cars had all length of 16?

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Dwachs

@James: your claim is not true. Just test it with the short road vehicles in pak128.Britain.

I would consider this as intended (or at least as implemented) behavior. This thread is then an extension request rather than a bug report ;)
Parsley, sage, rosemary, and maggikraut.

prissi

James, since you have the sourcecode your should at least look at the relevant part before posting. The routine in question are called ist_weg_frei() and will block further driving, if on the next tile is any vehicle regardless of its length. (Actually, since the check is somewhat expensive, it is only done when entering a new tiel, thus it is simply not possible at the moment to stop in the middle of a tile). This is true for both, citycars and convoys.