BSPI.grf - Stockpiling Industries

Find and discuss all the latest NewGRF releases for TTDPatch and OpenTTD here.

Moderator: Graphics Moderators

Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

Thanks a lot, Borg!
I tend to play maps 1024x512 or bigger with 2 towns: 7 tiles trains and 2-4 track lines need a lot of space for hubs, stations and secondary junctions).

Yes, i noticed the updated distribution in the latest bspi, and this is great)
Is there a way to prevent industries from spawning in bspi (economy set to frozen)? I'd like to have one secondary industry for a town. You mentioned your preferred script that does this, gonna test it.
Last edited by Georgietheoldfaq on 02 Mar 2025 11:32, edited 1 time in total.
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

Yeah, I play with my script that handles 3 things:
- Industry spawning and respawning for limited period of time.
- Town population limiter
- Auto Loan system w/ higher interest rate and tax.

So, when generating a map, use Industries: Found only.
On such large maps I suggest using sector size 64K tiles (256x256) so where will be fewer industries around.
You can also use P2 and P3 parameter for Industry supply check. If its not used, secondary industries will never close.
For default like behaviour, P2=60 (it is months, so 5 years).
Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

I wish there's a way to have parameters explanation built-in for slow pocks like me)))
Thanks once again!

Update: just to confirm that stockpile capacity for a secondary industry is shared between resources. I.e. if coal maxed out for a steelmill then it will not accept ore. As a result, production will stop and the only way to fix it is to destroy the mill and build a new one. ) Is it correct?
Last edited by Georgietheoldfaq on 03 Mar 2025 13:08, edited 1 time in total.
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

Hmm. Cargo acceptance is per Cargo. So, if Steel Mill needs Coal + Ore,
they have capacity of 10000 Coal and 10000 Ore.
Basically, you need to close all chains. If you just want to move Coal to Steel Mill and not
move Iron Ore there (no production), indeed it will choke at 10000 Coal and will stop
accepting (paying) for Coal. You still can move Iron Ore there to actually start the production.
So, close the production ASAP. If you cannot, focus on electricity or some basic chain.

Steel cargo is hardest on Temperate climate due to longer chain and 2 cargos needed.

Most industries can use any cargo available, like Power Plant (Coal, Oil or both).
For example, Food Processing Plant in Arctic needs Grain and Livestock. If you will
provide only Grain, it will produce 10t (or 7t if you use P1:bit4) of Food.
If you provide both, then 20t (10+10) will generate 20t (or 14t if P1:bit4) of Food.

Actually, only Steel Mill needs both Coal + Iron Ore to produce Steel, thats why
it produces 10t (or 8t if P1:bit4).
Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

Borg wrote: 03 Mar 2025 20:32 Hmm. Cargo acceptance is per Cargo. So, if Steel Mill needs Coal + Ore,
they have capacity of 10000 Coal and 10000 Ore.
Tested it, and (in this example) after iron ore reached the cap of 12989 tons steel mill wouldn't accept coal anymore and production stoped.
Screenshot 2025-03-05 at 13.16.33.png
(1.54 MiB) Not downloaded yet
Ultimately, one has to control constantly supply, Which is interesting but annoying)
Last edited by Georgietheoldfaq on 05 Mar 2025 11:23, edited 1 time in total.
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

What OpenTTD version and, what BSPI version?
v3.20 is latest. And that cap is weird, because I coded 10000 limit for industries.
(Changed it from 15000). I wonder if there are some worrying changes in OpenTTD internals that
bugs my BSPI grf...
Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

Borg wrote: 05 Mar 2025 14:32 What OpenTTD version and, what BSPI version?
v3.20 is latest..
ottd v.14.1
bspi v.3.20
Last edited by Georgietheoldfaq on 06 Mar 2025 11:05, edited 1 time in total.
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

Okey, this is odd. Can you grab older OpenTTD? 1.10.3 for example and check things out?
Im still playing on 1.8.0 because it works best for me :)

I can also give you my save game, so you can check if things start to missbehave when
loaded into new OpenTTD.
Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

Borg wrote: 07 Mar 2025 09:06 Okey, this is odd. Can you grab older OpenTTD? 1.10.3 for example
1.10.3 doesn't work correctly either with 3.20 bspi:
Screenshot 2025-03-07 at 17.57.40.png
(478.07 KiB) Not downloaded yet
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

Okey, cool. Please attach .sav file from OpenTTD 1.10.3 here, Ill check things out.
Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

Here are saves from
1.10.3 and 14.1. Both with 3.20 bspi.
+ ottd 14.1 with bspi 2.13 (which seems to work fine).
Attachments
14_1_bspi_3_20_1952-07-24.sav.zip
(410.59 KiB) Downloaded 8 times
1_10_3_bspi_3_20.sav.zip
(34.96 KiB) Downloaded 7 times
Ottd 14.1_bspi 2.13.sav
(46.67 KiB) Downloaded 5 times
Last edited by Georgietheoldfaq on 08 Mar 2025 13:20, edited 1 time in total.
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

Hmm, thats weird indeed. I see that you use some extra GRFs, but they should not have be a problem.
Also, interesting information that 2.13 works fine. Ill take a look at it.
Borg
Engineer
Engineer
Posts: 50
Joined: 21 May 2005 06:45

Re: BSPI.grf - Stockpiling Industries

Post by Borg »

Okey, bug fixed! :) I updated first post.

Also, you have train routing problems in that save. Somehow, Coal that was supposed to go to
Steel from New Flatbridge Mines was loaded back from Steel (loop). I had to sent those 2 trains
to depot and buy new one. Its probably because you have HUGE station spread in settings, 64.
I suggest to set it to 14. I also suggest to use No loading on destination trains because sometimes,
station catchment area can have access to nearby mine (especially when using large station spread).
So, trains end up loading coal on destination station.

You can add this shortcuts to hotkeys.cfg to have quick access to transfer and no loading:

[order]
transfer = T
no_load = Y

So, update BSPI.grf, fix your trains and test.
Georgietheoldfaq
Engineer
Engineer
Posts: 4
Joined: 28 Feb 2025 07:53

Re: BSPI.grf - Stockpiling Industries

Post by Georgietheoldfaq »

Yeah, that game was for test purpose only)

Anyway, it's been my pleasure to find the bug in otherwise wonderful bspi )
Cheers.
Post Reply

Return to “Graphics Releases”

Who is online

Users browsing this forum: No registered users and 2 guests