Hello,
main point as in title. which file would i need to alter to change an industry's requirements/production?
or is it more complicated than changing a few values?
thanks in advance
how do i change an industry's requirements/production?
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 6
- Joined: 12 Dec 2005 08:41
- Location: England
- Contact:
-
- Engineer
- Posts: 6
- Joined: 12 Dec 2005 08:41
- Location: England
- Contact:
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
One way to do it would be to implement Action 00 for industries/industry tiles.
The structure is shown here.Then The file you would need to work on would be in newgrf.c.
Then, you'll have to drill into build_industry.h and make writable arrays everything that is below _industry_spec.
That would be a nice project...
The structure is shown here.Then The file you would need to work on would be in newgrf.c.
Then, you'll have to drill into build_industry.h and make writable arrays everything that is below _industry_spec.
That would be a nice project...
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
That's only half of it, though. Action0IndustryTiles is also required to make a working industry.belugas wrote:The structure is shown here.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
MatthewH86, for just changing values in game you can use CTRL+C and the tick "Enable changing production values", however for better behaviour you can just use my Smooth_economy_patch (v 2.0) where you can configure the behaviour.
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Why?
Why would you want to do this anyway??? Takes to the realism out of it.
It's like saying:
'I want to let a wood accept livestock, so erm... '
Well I suppose that you could do this if you wanted. You have a right. What did you have in mind?
It's like saying:
'I want to let a wood accept livestock, so erm... '
Well I suppose that you could do this if you wanted. You have a right. What did you have in mind?
Who is online
Users browsing this forum: No registered users and 4 guests