NewGRF: Disable closure for all (Open)TTD industries

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

maquinista
Tycoon
Tycoon
Posts: 1828
Joined: 10 Jul 2006 00:43
Location: Spain

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by maquinista »

I will change these details in the second release.

The production changes are lost, because this GRF changes the type of industry. It would be better to use callbacks, control them and disable all production changes if They could close the industry. Also, It would be better to use a parameter to modify only some industries.
For example:
- Factory, Steelmill, sawmill... -> They could close if They doesn't get cargo in at least 10 years.
- Forest and farms -> They mustn't close.
- Mines, oil rigs... - They can close.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by FooBar »

maquinista wrote:I will change these details in the second release.
That is fine, but you also must remove the first release, as it violates section 2a of the GNU GPL v2 license :wink:
User avatar
greatest
Engineer
Engineer
Posts: 15
Joined: 02 Jan 2007 10:53
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by greatest »

Hallo.
I know, the topic is very old. I hope you can help anyway.

grf from frosch doesn't work
the grf from maquinista helps for some industries ... production is really constant
but forest or mine of iron ore don't produce anything

can someone help? Is there a grf, that can fix the production volume of all industries?
Attachments
01.jpg
01.jpg (132.19 KiB) Viewed 1909 times
02.jpg
02.jpg (137.04 KiB) Viewed 1909 times
Image
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by kamnet »

greatest wrote:Hallo.
I know, the topic is very old. I hope you can help anyway.

grf from frosch doesn't work
the grf from maquinista helps for some industries ... production is really constant
but forest or mine of iron ore don't produce anything

can someone help? Is there a grf, that can fix the production volume of all industries?
Download Manual Industries from the Online content service.
User avatar
greatest
Engineer
Engineer
Posts: 15
Joined: 02 Jan 2007 10:53
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by greatest »

both grf's destroy the industries ...
Attachments
0001.png
(253.07 KiB) Not downloaded yet
Image
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by kamnet »

greatest wrote:both grf's destroy the industries ...
I misunderstood what you're trying to accomplish. This NewGRF cannot modify other NewGRF industries. Manual Industries is only an implementation of the default industries which allows you to make certain modifications. It was not meant to be used with other industry NewGRFs.

If you want to modify production and stop closure of ECS industries, you need to do two things:
1. Go into each ECS NewGRF and enable "No industry appearing/closure" to stop industries from closing.
2. Open the cheat menu <ctrl-alt-c> and set "Enable modifying production values" to On, and then adjust the industry output in each industry tile within the game.
User avatar
greatest
Engineer
Engineer
Posts: 15
Joined: 02 Jan 2007 10:53
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by greatest »

kamnet wrote:
greatest wrote:both grf's destroy the industries ...
... and then adjust the industry output in each industry tile within the game.
that is, what doesn't work.
productions level / productions output breaks down after a short time.
Image
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: NewGRF: Disable closure for all (Open)TTD industries

Post by kamnet »

You should open a new discussion topic and upload a save to it so that somebody can analyze what's going on.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google Adsense [Bot] and 63 guests