Bridges
Jump to navigation
Jump to search
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers
The Bridges table is used in simulations that have bridges that open and close. These bridges don't have fixed schedules. Instead, bridges have parameters that allow the simulation to randomly generate a schedule. Each entry in this table defines a "rule" which is a set of these scheduling parameters.
- ID
- (int)
- Automatically increments.
- BridgeGroup
- (string)
- Identifies the name of the bridge to which the rule applies.
- Weekday
- (int)
- Defines the day of the week that the rule applies. 1 = Monday, 2 = Tuesday, ... 7 = Sunday.
- StartTime
- (date)
- Defines the time of day at which the rule begins
- EndTime
- (date)
- Defines the time of day at which the rule ends
- MinDuration
- (int)
- This is the minimum length of time, in minutes, that a bridge is to be up (open).
- MaxDuration
- (int)
- This is the maximum length of time, in minutes, that a bridge is to be up (open).
- MinInterval
- (int)
- This is the minimum amount of time, in minutes, between openings. Smaller values mean the bridge is likely to open and close often.
- ChanceOfOpening
- (int)
- Defines the chance of opening. Values range from 0-100 inclusive. For example, a value of 50 means that for every possible bridge opening event, an actual bridge opening event will be scheduled roughly 50% of the time.
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers