News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Recent posts

#1
Extension Requests / Re: traffic lights and signals
Last post by prissi - Today at 01:45:27 PM
That traffic light works like a pedestrian crossing and was left intentionally. But it is easy to remove it once there are only two ribis left.
#2
Extension Requests / traffic lights and signals
Last post by Andarix - Today at 09:43:51 AM
Traffic lights should be automatically removed when an intersection is no longer an intersection due to road demolition. The traffic lights are then in a field that is actually forbidden.
Even removing the traffic light may not always be possible because it can belong to another player.

The same applies to signals on rails. If there are invalid tracks due to renovations, signals should be removed.

If a signal field becomes an end tile, the signal is no longer displayed visually. If the signal field becomes an intersection, then the signal is on a field that is actually forbidden.

Screenshot 2024-03-28 103439.png

Alternatively, construction activities that lead to invalid conditions would have to be prevented.
#3
Bug Reports / Re: Distribution of goods on o...
Last post by Andarix - Today at 06:59:06 AM
The problem with oil train is that the consumer is already overfilled. Even though it was newly built.

The picture shows a refinery that was newly created in the game and has never been supplied.


factory_new.png
#4
Pak192.Comic / Re: truck_apple_2007_tgs freig...
Last post by Leartin - Yesterday at 08:57:37 PM
Sure, you can do that. Your line for adding the beets is correct, to define the graphics, use
freightimage[4][S,W,E,N,NE,SW,NW,SE]=truck_apple_2007_tgs.0.<$0>This refers to row zero (where the apples should be), and <$0> refers to the different directions. (This changes compared to the existing line, since before it referred to '0-3', but '4' is no longer a range)


However, I think it's easier to do it 'properly' - Change the imagefile by adding a new row (add 192px, copy the apples or whatever), then just increase the number in the dat file (you still need the beets line)
freightimage[0-4][S,W,E,N,NE,SW,NW,SE]=./image/truck_apple_2007_tgs.<$0>.<$1>Added benefit: If you (or someone else) want to add 'real' graphics (which just means switching some colors), you don't need to edit the dat anymore.


Finally... I'm pretty sure you could also just replace "potatoes" with "beets", since there are no potatoes yet, and the beets stacked at the farm use those colors.
#5
Pak192.Comic / truck_apple_2007_tgs freightim...
Last post by Oldie - Yesterday at 03:57:29 AM
Hi folks,
This vehicle is missing a freightimage for beets. I presume that it would look like the apples images could be used here. So is it possible to add a new freightimagetype and point it to the same images for the apples?

freightimagetype[0]=apples
freightimagetype[1]=hop
freightimagetype[2]=potatoes
freightimagetype[3]=cokaleave
freightimagetype[4]=beets     <----- ????
freightimage[0-3][S,W,E,N,NE,SW,NW,SE]=./image/truck_apple_2007_tgs.<$0>.<$1>
freightimage[4][S,W,E,N,NE,SW,NW,SE]=truck_apple_2007_tgs.????  <----

tia
cy087
#6
Community Discussion / Re: Absence for gardening and ...
Last post by isidoro - Yesterday at 12:56:21 AM
You need 1000 lines of code to draw a triangle on the screen in Vulkan.  And only if it isn't a fashion one.

The good news is that you need 1001 lines to draw two triangles.    ;D
#7
Patches & Projects / Re: r11101 expanded numberinpu...
Last post by prissi - March 26, 2024, 02:22:12 PM
For that, one would need to add a third row of dummy objects ... can be done, but would need to be done for each of the affected dialogues. (Also the display settings i.e for traffic or map are now very wide.)
#8
Patches & Projects / Re: r11101 expanded numberinpu...
Last post by Roboron - March 26, 2024, 02:15:03 PM
I appreciate the fact that they are aligned and have the same size, but I have to agree they are too wide (at least the second ones). Ideally they would take the same size of the widest input number.
#9
Bug Reports / Re: Distribution of goods on o...
Last post by Andarix - March 26, 2024, 06:07:13 AM
Simutrans r11099
pak64.german 0.124.0.0.1

There still seems to be a problem with the oil field (focus when loading) in this game. The connection to the refinery was rebuilt but no oil is being released.

The oil rig is in the center of the map.
#10
Patches & Projects / Re: Use Fontconfig for font au...
Last post by prissi - March 26, 2024, 05:55:23 AM
Mingw cannot use fontconfig when built with cmake. And it should be added to autoconf makefile builds too as well as too the libraries.

Otherwise this is very helpful ... Thank you