[OTTD] Modular Wider Bridges Set (v003 on Bananas 13-10-2020)

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Quast65
Tycoon
Tycoon
Posts: 2664
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: [OTTD] Modular Wider Bridges Set (v001 on Bananas 13-10-2020)

Post by Quast65 »

JGR wrote: 01 Nov 2020 21:06 Hope you don't mind, but I went ahead and did a bit of editing of your NFO.

I've added the flags to stop AIs/GSs and towns from building these bridges.
I also added the pillar flags for completeness' sake.
I moved whether to use bridge slots 10-12 or 13-15 to a parameter, such that the GRF works both with trunk and JGRPP.
Thank you! :bow:
I will update the GRF probably tomorrow.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
Quast65
Tycoon
Tycoon
Posts: 2664
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: [OTTD] Modular Wider Bridges Set (v001 on Bananas 13-10-2020)

Post by Quast65 »

JGR wrote: 01 Nov 2020 21:06 I moved whether to use bridge slots 10-12 or 13-15 to a parameter, such that the GRF works both with trunk and JGRPP.
Trunk is not too happy about that parameter...
Starting a game with the parameter off I get this fatal error, even though the parameter is off:
Example556.png
Example556.png (17.43 KiB) Viewed 1594 times
Only after I activate the parameter (during gameplay) and then de-activate the parameter again, everything works as intended… :shock: :?:

All is fine on your Patchpack.

Any idea's?
This is the code (I only altered the description of the GRF and the GRF-ID, nothing else):
modular_wider_bridges_v002.nfo
(72.51 KiB) Downloaded 74 times
If you want to check this for yourself, I already uploaded the GRF to Bananas (before thoroughly checking Trunk :oops: )

By the way, NFO-renum complains about this:

Code: Select all

//!!Warning (209): Offset 7: Found byte 1 of a 2-byte escape while reading byte 3 of a 4-byte field.
   20 * 9	 0D 04 \D= \DR FE FF 08 \w312 // param 4: bridge sprite base (104 * 3)
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
JGR
Tycoon
Tycoon
Posts: 2560
Joined: 08 Aug 2005 13:46
Location: Ipswich

Re: [OTTD] Modular Wider Bridges Set (v001 on Bananas 13-10-2020)

Post by JGR »

Quast65 wrote: 02 Nov 2020 13:44
JGR wrote: 01 Nov 2020 21:06 I moved whether to use bridge slots 10-12 or 13-15 to a parameter, such that the GRF works both with trunk and JGRPP.
Trunk is not too happy about that parameter...
Starting a game with the parameter off I get this fatal error, even though the parameter is off:
Example556.png

Only after I activate the parameter (during gameplay) and then de-activate the parameter again, everything works as intended… :shock: :?:

All is fine on your Patchpack.

Any idea's?
This is the code (I only altered the description of the GRF and the GRF-ID, nothing else):
modular_wider_bridges_v002.nfo
If you want to check this for yourself, I already uploaded the GRF to Bananas (before thoroughly checking Trunk :oops: )

By the way, NFO-renum complains about this:

Code: Select all

//!!Warning (209): Offset 7: Found byte 1 of a 2-byte escape while reading byte 3 of a 4-byte field.
   20 * 9	 0D 04 \D= \DR FE FF 08 \w312 // param 4: bridge sprite base (104 * 3)
Oh dear, I thought I'd fixed the trunk error issue, but it seems I overlooked it. Sorry about that.

The NFOrenum warning is not really a problem, but I've removed the escape so it doesn't complain.

I've attached another version. This also fixes another issue I just noticed when doing a test with many other GRFs.
Attachments
modular_wider_bridges_v002_with_fixes.nfo
(72.85 KiB) Downloaded 81 times
Ex TTDPatch Coder
Patch Pack, Github
User avatar
Quast65
Tycoon
Tycoon
Posts: 2664
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: [OTTD] Modular Wider Bridges Set (v001 on Bananas 13-10-2020)

Post by Quast65 »

JGR wrote: 02 Nov 2020 15:44 I've attached another version. This also fixes another issue I just noticed when doing a test with many other GRFs.
Cheers mate!
This seems to work fine now.
GRF is on Bananas and here are the sources:
modular_wider_bridges_v003_SOURCES.rar
(208.79 KiB) Downloaded 91 times
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
Gadg8eer
Traffic Manager
Traffic Manager
Posts: 190
Joined: 14 Dec 2019 14:22

Re: [OTTD] Modular Wider Bridges Set (v003 on Bananas 13-10-2020)

Post by Gadg8eer »

I modified this so that the front bridge works better with JGRPP custom bridge heads. Just a minor change, here's the GRF and the source, all credits to Quast65 and Andrew350.
Attachments
modular_wider_bridges_v003x.grf
(185.12 KiB) Downloaded 97 times
v003x_source.7z
(829.3 KiB) Downloaded 75 times
I have Asperger's, please be easy on me about stuff. My apologies if I've been a problem for you in the past.
User avatar
Quast65
Tycoon
Tycoon
Posts: 2664
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: [OTTD] Modular Wider Bridges Set (v003 on Bananas 13-10-2020)

Post by Quast65 »

Gadg8eer wrote: 28 Mar 2021 03:04 I modified this so that the front bridge works better with JGRPP custom bridge heads. Just a minor change, here's the GRF and the source, all credits to Quast65 and Andrew350.
Thank you.
What exactly did you change?
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
Gadg8eer
Traffic Manager
Traffic Manager
Posts: 190
Joined: 14 Dec 2019 14:22

Re: [OTTD] Modular Wider Bridges Set (v003 on Bananas 13-10-2020)

Post by Gadg8eer »

Quast65 wrote: 28 Mar 2021 10:03
Gadg8eer wrote: 28 Mar 2021 03:04 I modified this so that the front bridge works better with JGRPP custom bridge heads. Just a minor change, here's the GRF and the source, all credits to Quast65 and Andrew350.
Thank you.
What exactly did you change?
No problem!

Code: Select all

  330 modular_wider_bridges/gfx/modular_front_road.png  8bpp  67     53    33   20  -24   -2 normal //0-1-4 front x 59
...now reads as...

Code: Select all

  330 modular_wider_bridges/gfx/modular_front_road.png  8bpp  67     53    33   20  -26   -1 normal //0-1-4 front x 59
It's a very minor change, but it fixes the SW/NE view which previously had a hole in it when using custom bridge heads.
I have Asperger's, please be easy on me about stuff. My apologies if I've been a problem for you in the past.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Semrush [Bot] and 83 guests