🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.games.microprose.transport-tyc
13 messages
13 total messages Started by Chris Wed, 14 Sep 2005 06:59
One way Roads - thoughts..
#28346
Author: Chris
Date: Wed, 14 Sep 2005 06:59
26 lines
1653 bytes
Morning all,

I've been playing with the new one-way roads feature of the patch....
and have the following suggestions - some of which may be easier to
implement than others...

I'm basically using the one way roads to create sort of
motorways/divided highways.

1.  Vehicles have a speed advantage of using one way streets - perhaps
+10%

2. Vehicles do not stop overtaking at junctions, tunnels, bridges,
corners, etc!

3. Vehicles prefer to use one way streets (allow an increased route
length of say 1/3rd and it will choose the motorway rather than local
routes)  --  I'm guessing this will be a much more difficult thing to
implement as it involves messing with the vehicle's routefinding
algorithms....


Oh well, off to install the latest version (o;

Regards
Chris
Re: One way Roads - thoughts..
#28347
Author: Josef Drexler
Date: Wed, 14 Sep 2005 14:56
37 lines
2787 bytes
Chris wrote:
> Morning all,
> 
> I've been playing with the new one-way roads feature of the patch....
> and have the following suggestions - some of which may be easier to
> implement than others...
> 
> I'm basically using the one way roads to create sort of
> motorways/divided highways.
> 
> 1.  Vehicles have a speed advantage of using one way streets - perhaps
> +10%
> 
> 2. Vehicles do not stop overtaking at junctions, tunnels, bridges,
> corners, etc!

The problem with all of this, is that one-way roads aren't really 
one-way roads, they're only "do not enter" signs at one end of them. 
Neither TTD nor the patch nor the vehicles know whether they are on a 
one-way road or not, they only know that they're not allowed to enter 
this tile from one direction.

> 3. Vehicles prefer to use one way streets (allow an increased route
> length of say 1/3rd and it will choose the motorway rather than local
> routes)  --  I'm guessing this will be a much more difficult thing to
> implement as it involves messing with the vehicle's routefinding
> algorithms....

Well, the pathfinding is really not at all equipped for judging routes 
by their "quality".  Length is the only variable it keeps internally, 
and adding others would be... complicated.

-- 
    Josef Drexler                 |       http://jdrexler.com/home/
---------------------------------+----------------------------------------
  Please help Conserve Gravity    |  Email address is *valid*.
  Play Chess, not Basketball.     |  Don't remove the "nospam" part.
Re: One way Roads - thoughts..
#28349
Author: Stevie D
Date: Wed, 14 Sep 2005 17:40
34 lines
2154 bytes
Chris wrote:

> 1.  Vehicles have a speed advantage of using one way streets - perhaps
> +10%

Not sure about that.

What I really _would_ like to see is a speed limit of maybe 30mph /
50km/h in towns (eg any road with pavement). That would provoke a bit
of thought into the best way to build bypasses!
 
> 2. Vehicles do not stop overtaking at junctions, tunnels, bridges,
> corners, etc!

That would be helpful.
 
> 3. Vehicles prefer to use one way streets (allow an increased route
> length of say 1/3rd and it will choose the motorway rather than local
> routes)  --  I'm guessing this will be a much more difficult thing to
> implement as it involves messing with the vehicle's routefinding
> algorithms....

I don't know whether I like that idea. Remember that one-way streets
will be used as much for sorting out congested town centres as
motorways. A better solution, from your point of view, might be to
build complicated interchanges where to turn off the motorway, the
vehicles have to turn through 270 degrees and go back over/under
themselves - this might discourage them from going through the town.

-- 
                          Stevie D
    \\\\\       /////     Bringing dating agencies to the
   \\\\\\\__X__///////    common hedgehog since 2001 - "HedgeHugs"
___\\\\\\\'/ \'///////_____________________________________________
Re: One way Roads - thoughts..
#28348
Author: Chris
Date: Thu, 15 Sep 2005 07:28
27 lines
2114 bytes
On Wed, 14 Sep 2005 14:56:03 GMT, Josef Drexler
<nospam0905@joesbox.cjb.net> wrote:

>> I've been playing with the new one-way roads feature of the patch....
<snip>
>The problem with all of this, is that one-way roads aren't really 
>one-way roads, they're only "do not enter" signs at one end of them. 
>Neither TTD nor the patch nor the vehicles know whether they are on a 
>one-way road or not, they only know that they're not allowed to enter 
>this tile from one direction.


Ah, I understand, and see that that might present a problem....    (o;


How, though does TT decide when a road should have pavement and
streetlights?  Is there some property of the bit of road that is
flagged to tell it to display this?  If so that would make Steve's
suggestion about speed limit of 50kmh in town more feasible to
implement, as the vehicle could just look at the sort of road it
travels along....  it must do something similar with bridges already?
In that case a flag could be added to one way roads to tell the
vehicle the sort of road it travels along....

Which is a load of ifs and buts, and probably wont work anyway!!

Chris  (o:
Re: One way Roads - thoughts..
#28350
Author: Chris
Date: Thu, 15 Sep 2005 20:18
9 lines
1257 bytes
More thoughts....

....I've got to a point now where some of the faster vehicles sit
behind the slower ones on the roads and just cant be bothered to
overtake - they seem to tailgate them and their stats say e.g. 55mph
when the stats for the slower ones say 30mph - even though the road is
straight and had no junctions...

Chris
Re: One way Roads - thoughts..
#28351
Author: Chris
Date: Mon, 19 Sep 2005 20:59
15 lines
1506 bytes
On Thu, 15 Sep 2005 20:18:47 GMT, Chris
<Chris_c2R@[removetoreply]yahoo.co.uk> wrote:

>....I've got to a point now where some of the faster vehicles sit
>behind the slower ones on the roads and just cant be bothered to
>overtake - they seem to tailgate them and their stats say e.g. 55mph
>when the stats for the slower ones say 30mph - even though the road is
>straight and had no junctions...

Anyone else with this problem?  Or is it something in my configuration
perhaps?  I've tried disabling some switches, but it still seems to
occur...

Regards
Chris
Re: One way Roads - thoughts..
#28352
Author: Josef Drexler
Date: Mon, 19 Sep 2005 21:40
27 lines
2547 bytes
Chris wrote:
> On Thu, 15 Sep 2005 20:18:47 GMT, Chris
> <Chris_c2R@[removetoreply]yahoo.co.uk> wrote:
> 
>>....I've got to a point now where some of the faster vehicles sit
>>behind the slower ones on the roads and just cant be bothered to
>>overtake - they seem to tailgate them and their stats say e.g. 55mph
>>when the stats for the slower ones say 30mph - even though the road is
>>straight and had no junctions...
> 
> Anyone else with this problem?  Or is it something in my configuration
> perhaps?  I've tried disabling some switches, but it still seems to
> occur...

Well, technically all the "onewayroads" switch does is prevent road 
vehicles from entering certain tiles from certain directions.  As far as 
I can tell it does nothing else, so the above must be the same whether 
it's on one-way roads or regular roads.

Or are you creating every single road tile as a one-way road?  That 
might perhaps confuse the RVs, I'm not sure.

-- 
    Josef Drexler                 |       http://jdrexler.com/home/
---------------------------------+----------------------------------------
  Please help Conserve Gravity    |  Email address is *valid*.
  Play Chess, not Basketball.     |  Don't remove the "nospam" part.
Re: One way Roads - thoughts..
#28353
Author: Chris
Date: Mon, 19 Sep 2005 22:40
27 lines
2083 bytes
On Mon, 19 Sep 2005 21:40:03 GMT, Josef Drexler
<nospam0905@joesbox.cjb.net> wrote:


>Well, technically all the "onewayroads" switch does is prevent road 
>vehicles from entering certain tiles from certain directions.  As far as 
>I can tell it does nothing else, so the above must be the same whether 
>it's on one-way roads or regular roads.

I think it's definitely someething to do with the one way roads.... as
if I take the one way criteria off the northbound carriageway, they
seem to overtake rather than just sitting behind the slowest.  

The thing is, sometimes they do overtake, but sometimes not, and I
can't find any reason why they do/don't.....

>Or are you creating every single road tile as a one-way road?  That 
>might perhaps confuse the RVs, I'm not sure.

That might explain it....  I have been creating every tile on the
motorway as a one way tile... in case any towns decide to add their
own entrances/exits while I'm not watching.....

*ponder* (!)

Regards,
Chris
Re: One way Roads - thoughts..
#28356
Author: Chris
Date: Mon, 19 Sep 2005 22:41
13 lines
1523 bytes
On Mon, 19 Sep 2005 21:40:03 GMT, Josef Drexler
<nospam0905@joesbox.cjb.net> wrote:

>>>....I've got to a point now where some of the faster vehicles sit
>>>behind the slower ones on the roads and just cant be bothered to
>>>overtake - they seem to tailgate them and their stats say e.g. 55mph
>>>when the stats for the slower ones say 30mph - even though the road is
>>>straight and had no junctions...

Forgot to say, could upload/send you the savegames (before and after)
if it would help...

Chris
Re: One way Roads - thoughts..
#28354
Author: Chris
Date: Tue, 20 Sep 2005 07:14
21 lines
2024 bytes
On Mon, 19 Sep 2005 22:40:00 GMT, Chris
<Chris_c2R@[removetoreply]yahoo.co.uk> wrote:


>I think it's definitely someething to do with the one way roads.... as
>if I take the one way criteria off the northbound carriageway, they
>seem to overtake rather than just sitting behind the slowest.  
>
>The thing is, sometimes they do overtake, but sometimes not, and I
>can't find any reason why they do/don't.....

Looking at their behaviour on long straights of two way roads, I find
that the only place they don't overtake is when two slow vehicles in
front travelling at the same speed as eachother are spaced
sufficiently far apart to prevent the faster vehicle getting back into
the gap between them - the faster one just then tailgates the slower
one, rather than attempting an overtake...  perhaps something similar
is happening if every tile is a one way road tile - the road vehicle
assumes that there isn't anywhere to pull in later...?

Chris
Re: One way Roads - thoughts..
#28355
Author: Josef Drexler
Date: Tue, 20 Sep 2005 19:28
15 lines
2086 bytes
Chris wrote:
> perhaps something similar is happening if every tile is a one way
> road tile - the road vehicle assumes that there isn't anywhere to
> pull in later...?

It seems one-way road tiles make the game think it's a junction or 
curve, and you can't pass other vehicles across a junction/through a 
curve.  Bit it should be possible to fix now that I think I know what 
the problem is...

-- 
    Josef Drexler                 |       http://jdrexler.com/home/
---------------------------------+----------------------------------------
  Please help Conserve Gravity    |  Email address is *valid*.
  Play Chess, not Basketball.     |  Don't remove the "nospam" part.
Re: One way Roads - thoughts..
#28357
Author: Josef Drexler
Date: Tue, 20 Sep 2005 20:14
12 lines
1888 bytes
Chris wrote:
> Forgot to say, could upload/send you the savegames (before and after)
> if it would help...

Actually, that would be useful for testing.  Savegame+config files 
please to the above address (and yes, it's valid).

-- 
    Josef Drexler                 |       http://jdrexler.com/home/
---------------------------------+----------------------------------------
  Please help Conserve Gravity    |  Email address is *valid*.
  Play Chess, not Basketball.     |  Don't remove the "nospam" part.
Re: One way Roads - thoughts..
#28358
Author: Chris
Date: Tue, 20 Sep 2005 22:39
14 lines
1509 bytes
On Tue, 20 Sep 2005 20:14:03 GMT, Josef Drexler
<nospam0905@joesbox.cjb.net> wrote:

>Chris wrote:
>> Forgot to say, could upload/send you the savegames (before and after)
>> if it would help...
>
>Actually, that would be useful for testing.  Savegame+config files 
>please to the above address (and yes, it's valid).

emailed - if you don't get them, whinge at me!

Thanks
Chris
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads