Started by Ranran, August 04, 2021, 12:37:20 PM
0 Members and 1 Guest are viewing this topic.
Quote from: Ranran on August 04, 2021, 12:37:20 PMThey are mostly pedestrians, but they obey the traffic rules.
Quote from: prissi on August 05, 2021, 02:34:57 AMDon't they bunch together at each traffic light an then continue to travel as pack of four?
Quote from: Ranran on August 05, 2021, 04:06:01 PMConsidering the length of the vehicle may be one solution when considering the expandability of road traffic in the future. For example, the total length of one tile is 16. Occupies vehicle length +2. If the total length exceeds 16, it cannot entered the tile.If the length of the bike is 3, one bike occupies length=5, so 3 bikes can fit in one tile. If pakset set sidewalker(?) length to 4, it can only enter 2 units((4+2)*2=12<16 OK, (4+2)*3>16 NG). In case of length=2, 4 sidewalker can be entered.This allows pakset to make a difference in the number of tiles that can fit. e.g. mail boy=4, mail bike=2.
Quote from: jamespetts on August 05, 2021, 05:59:44 PMThat is an interesting idea. Indeed, the same idea could in principle be applied to vehicles on a tile, too, albeit this would need careful graphical alignment to work well.
Quote from: Ranran on August 14, 2021, 04:05:40 AMI don't have any ideas for graphical alignment so far, but I've built in a specification where the number of bike-like vehicles that can fit in a tile depends on the length.
Quote from: Freahk on August 15, 2021, 08:46:59 AMIt's not THAT simple.There are indeed 16 "car units" per tile but the internal movements works on a 256 "vehicle steps" per tile unit.
Quote from: prissi on August 15, 2021, 12:17:26 PMOr even less steps for diagonals ...
Quote from: jamespetts on August 23, 2021, 09:38:32 PMFreahk - do you think that one of the existing Simutrans collection classes could handle this?
Quote from: Ranran on August 24, 2021, 10:58:38 PMWhether they can overlap depends on whether can_enter_tile returns true.The water way and road have never intersected at the same height before, but when they do intersect at ford, can_enter_tile may always return true even for road vehicles as a result of the tile being considered a water way.That means it's possible that road vehicle is temporarily being treated like a ship on fords ...