The International Simutrans Forum

PakSets and Customization => Pak128 => Pak128 Bug Reports => Topic started by: grampybear on March 20, 2012, 02:07:37 PM

Title: improper placement of road signs
Post by: grampybear on March 20, 2012, 02:07:37 PM
using pak128v111.2.2 with addons I have just noticed that the placement of private road, or no city car signs line up wrong on the new roads or have I missed a fix for this? Thank you

(http://img545.imageshack.us/img545/5052/roadsigns.png) (http://imageshack.us/photo/my-images/545/roadsigns.png/)

Uploaded with ImageShack.us (http://imageshack.us)
Title: Re: improper placement of road signs
Post by: Vladki on March 20, 2012, 07:16:23 PM
Hi, I'm working on replacement set of roadsigns, can you try them in your version, if they are placed correctly?
https://uran.webstep.net/~vladki/simutrans/
Title: Re: improper placement of road signs
Post by: VS on March 20, 2012, 07:40:11 PM
Well, if the addon signs show wrong, then the addon is to blame... You could check if non-addon signs orientate properly, which could give a definite answer.
Title: Re: improper placement of road signs
Post by: Lmallet on March 20, 2012, 07:51:10 PM
Well, my private sign was made quite a while ago, it might need to be recompiled with a newer version of makeobj.  That being said, I doubt I still have the source...
Title: Re: improper placement of road signs
Post by: prissi on March 20, 2012, 08:23:27 PM
Will be fixed with version 111.2.2
Title: Re: improper placement of road signs
Post by: grampybear on March 20, 2012, 08:47:55 PM
@Vladki, Tried your signs, Thank you. Sorry not much better with exception of roundabout sign which works fine. The no city cars and the private road sign are from older vs and worked fine on the old roads. Again Thank you all

[IMG=http://img13.imageshack.us/img13/8708/simscr00.png][/IMG] (http://imageshack.us/photo/my-images/13/simscr00.png/)

Uploaded with ImageShack.us (http://imageshack.us)
Title: Re: improper placement of road signs
Post by: Vladki on March 20, 2012, 08:50:11 PM
Hmm, in that case old MakeOBJ might be the problem. I use Makeobj version 49 for simutrans 100.0 and higher
Title: Re: improper placement of road signs
Post by: prissi on March 20, 2012, 11:18:16 PM
Problem are single way signs combined with private road. Those show not the correct reservation sate. 111.2.2 will show correct images, but those are no longer officially supported.
Title: Re: improper placement of road signs
Post by: Vladki on May 15, 2012, 08:18:43 PM
I think the problem with private road signs is the introduction of toll gates. They have the same info in dat (pak) file, but different bahavior. So old private_road signs are not usable in 111.x ?
Title: Re: improper placement of road signs
Post by: grampybear on May 16, 2012, 01:12:07 PM
If the problem of sign aligement is with the new toll gates, can they be removed from the game and saved games restored with road signs?
Title: Re: improper placement of road signs
Post by: prissi on May 16, 2012, 02:42:43 PM
The signs work; but when a private road sign has four images, the software now assumes two are for closed and two for open.

Combining signs was never officially documented and it was more of an accident it did work. The easy solution is to no combine sign. (I think the nightly should do this correct again. I worked on it, but I forgot if it was easily solveable.)
Title: Re: improper placement of road signs
Post by: grampybear on May 16, 2012, 03:11:31 PM
Using the latest nightly the standard pak one-way and choose signs work fine. I have tried 3 different private road addon signs and none work. They face only in one direction or down the middle of the road.
Title: Re: improper placement of road signs
Post by: greenling on May 16, 2012, 05:59:09 PM
grampybear
please upload those addon´s how make problems!
Title: Re: improper placement of road signs
Post by: grampybear on May 16, 2012, 06:25:22 PM
Thank you. I only have the pak files, no source files
Title: Re: improper placement of road signs
Post by: Vladki on May 16, 2012, 09:01:57 PM
Maybe I was not clear. I'm author of one of them (the middle one), its dat is like this:

Code: [Select]
obj=roadsign
waytype=road
is_private=1
...etc...

All three of them work perfectly in simutrans 100. The problem is that toll gates (in version 111) have the same dat file - is_private=1, but completely different behavior. Thus the old private road signs behave like toll gates - you can set which players can go through, but the images are just wrong, as prissi said - 4 images - 2 for closed, 2 for open, but the old signs have 4 images for 4 directions. So forget about using these old signs in new versions. Their graphics have to be replaced by gate.
Title: Re: improper placement of road signs
Post by: VS on January 13, 2013, 08:52:31 PM
This is probably solved after Fabio's edits. Can anyone please confirm that?
Title: Re: improper placement of road signs
Post by: ny911 on January 19, 2013, 04:02:26 PM
using nightly r6288 and pak128 2.2.0 r1140 
and found the problem again
Title: Re: improper placement of road signs
Post by: VS on January 28, 2013, 07:31:42 PM
Ahh, the highway signs are broken, too...

TODO.
Title: Re: improper placement of road signs
Post by: DirrrtyDirk on January 29, 2013, 03:28:10 PM
Well at least for straights it can be corrected (although you will still have back- / frontimage problems). But I don't think it can be totally solved for curves and diagonals...