The International Simutrans Forum

 

Author Topic: Defining the default bridge type  (Read 1111 times)

0 Members and 1 Guest are viewing this topic.

Truthlighting

  • Guest
Defining the default bridge type
« on: November 25, 2012, 06:16:01 AM »
Is there a way to define the default bridge type like these variables in simuconf.tab?:

Code: [Select]
intercity_road[number]=name,intro-year,retire-year
city_road[number]=name,intro-year,retire-year

If not, how does one define the default bridge type?

Offline DirrrtyDirk

  • Devotees (Inactive)
  • *
  • Posts: 1253
  • JR 700 Series Shinkansen
  • Languages: EN,DE
Re: Defining the default bridge type
« Reply #1 on: November 25, 2012, 07:55:16 AM »
I'm simply guesing now, but I'd say simutrans chooses that by the speed limit of the bridges, compared to that of the roads (or tracks) of the era you play in...
But as I said I'm just guessing, I haven't really played in a long time and have absolutely no idea about the code.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4564
  • Languages: EN, DE, AT
Re: Defining the default bridge type
« Reply #2 on: November 25, 2012, 12:39:12 PM »
These defaults are used to build inner-city roads and inter-city roads. The bridges and tunnels are chosen to fit the default roads given timeline.

Truthlighting

  • Guest
Re: Defining the default bridge type
« Reply #3 on: November 25, 2012, 07:00:10 PM »
I'm currently changing the default road types to a US road pack by Joker. However, due to the bridges being apparently undefinable there is an obvious incongruence:



All the roads in the image are defaults, and laid by the computer on game start.

It's great that I can change the roads, but is there no way to change the bridges too?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Re: Defining the default bridge type
« Reply #4 on: November 25, 2012, 08:30:48 PM »
If there is a bridge without icon (so it is not buildable by player) and zero costs and a sensible speed limit for the matching intercity road, this bridge will be used.