[patch] TownTraffic (pedestrian and private cars)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
imcasper
Engineer
Engineer
Posts: 4
Joined: 05 Mar 2018 10:17

[patch] TownTraffic (pedestrian and private cars)

Post by imcasper »

TownTraffic
People are no longer afraid to go out into the streets of the city. Engineers are afraid that the road infrastructure will not cope with an unprecedented influx of private cars. The Minister of Transport stated that the roads were originally intended only for small number of commercial vehicles.

Game:
OpenTTD+TownTraffic (ready for play)
+TownTraffic (addone on 1.7.2)

Code:
Path on r27968

Graphics:
Pedestrian(optional)
Eyecandy cars topic (optional)
Generic cars topic (optional)

PS:
-You may download ready game from next post
-Welcome to draw pedestrians / cars (8 or 32 bpp)
-Any feedback

Detail:
[+] Spoiler
-Patch is in the process of development (something will go wrong)
-Now, there is no setting on / off.
-Private car - any road-vehicle from newgrf, where the cost(factor) = 0 and running_cost(factor) = 0
-Pedestrian - any road-vehicle from newgrf, where the cost(factor) = 255 and running_cost(factor) = 255
-A cars and pedestrians are generated during the game, (not saved and not loaded onto the disk).
-Cars and pedestrians are generated without the assistance of a depot / company.
-Auto and pedestrians have a goal of movement (not random).
Image
Attachments
TownTraffic.patch
Patch for support pedestrian and private cars
(41.81 KiB) Downloaded 332 times
Sample
Sample
TownTraffic.png (781.06 KiB) Viewed 1073 times
pedestrian.grf
Add pedestrians (newgrf).
(2.58 KiB) Downloaded 490 times
Last edited by imcasper on 22 Mar 2018 21:45, edited 5 times in total.
imcasper
Engineer
Engineer
Posts: 4
Joined: 05 Mar 2018 10:17

Re: [patch] TownTraffic (pedestrian and private cars)

Post by imcasper »

There is a full version (unpack and play):
TownTraffic.7z

Just like the addon on OpenTTD 1.7.2 (unpack, make a copy of the game, add to the copy of the game, play a copy of the game):
TownTraffic_Add_to_1_7_2.zip
Attachments
TownTraffic.7z
Full game version
(23.41 MiB) Downloaded 483 times
TownTraffic_Add_to_1_7_2.zip
Addone (on OpenTTD 1.7.2)
(8.42 MiB) Downloaded 440 times
Arnoud
Engineer
Engineer
Posts: 78
Joined: 29 Sep 2008 05:02
Location: Amsterdam

Re: [patch] TownTraffic (pedestrian and private cars)

Post by Arnoud »

Considering you asked for testing/feedback here goes:

I absolutely love the idea of traffic on the roads, makes them feel a lot more realistic, this was something on my wishlist for quite some time.
Personally I care less for the people walking around.

When I first started testing this the game kept crashing immediately after map generation, it allmost made me give up.
I found the reason though, the crash happens when I try to load the eyecandy vehicles.

When I use only the generic cars it works just fine.

I used the download from the 2nd post in this thread.
Coder for the 2cc trams (passenger) and the 2cc cargo trams
KeldorKatarn
Transport Coordinator
Transport Coordinator
Posts: 274
Joined: 13 Apr 2010 21:31

Re: [patch] TownTraffic (pedestrian and private cars)

Post by KeldorKatarn »

same here, doesn't work whatsoever
imcasper
Engineer
Engineer
Posts: 4
Joined: 05 Mar 2018 10:17

Re: [patch] TownTraffic (pedestrian and private cars)

Post by imcasper »

I can assume that the patch is not applied correctly. Use the finished binary version.

In general, I had the idea to collect all the written patches and put all them in one archive:
-TownTraffic - self topic
-IndustrialGiant - you can build your industry, equip it with machines (from the cheapest, to the exclusively expensive ones - for supermass production)
-CargoLoader - payment for delivery of goods from the factory to the station
-MaintenanceInfrastructure - improved cost of infrastructure maintenance
-GoodsTown - limiting the reception of goods by the city (goods, products, water ...)
-CargoPayment - no super-profits at large distances. Increased profits at extremely small distances. A new gui for graph of delivery payment.
-CargoRating - rating of the station depends on the total transport capacity
-BuildVehicleGUI - a train calculator - allowing to choose a locomotive for a specific composition (train weight, neeeded speed, slope of the road)

Unfortunately now I'm busy with new things, and I do not have time to do it.

In any case, if there is interest, write here.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 31 guests