ECS Industries production schema

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

Post Reply
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

ECS Industries production schema

Post by George »

Because there was no answer in the ECS thread, I've decided to make a new one.

In the beginning of the ECS discussion there was a suggestion to set non-zero production for secondary industries. Expanding this idea I've tried (test the furniture factory in transparent mode) to code and now I'd like to suggest the new schema of cargo processing by secondary industries. It is based on production callback and callback 35 (you need alpha 70 pre 1 to test it; it can be found on Csaboka's site).
So, the industry produces something every 256 tics (8 or 9 times a month). If it has no cargo waiting, it produces 1 or 2 units of cargo. If some cargo is waiting, it is processed into output cargo in some amount (for example, 20 units of income to 20 units of outcome cargo). For each level of production (40, 80, 10, 20, 40 and 80) amount is multiplied (but it can be specified). If there is not enough income cargo for this operation, the industry produced the default amount (1 or 2 units).
Every month the industry "plans" the work for the month. If the amount of cargo waiting is 3 times more, than the industry can use during a month, the production is doubled.
If the production last month is less, than 1/4 of average (that means 5 of 8/9 times a month there was not enough cargo to process for the current level of production), the production for the next month is halved.
The industry can't increase the production of less than 50% cargo transported last month.

Suggestions?

Test the wood vector and furniture fabric and report your opinion, please

http://george.zernebok.net/download/dev ... /16012006/
Image Image Image Image
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Post by wallyweb »

Wood vector works in Tropic and sub-arctic but does not work in Temperate. The Basic vectors were enabled and dissabled as required for each climate. When in loaded in temperate, the wood vector caused the town vector to fail to load.
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

wallyweb wrote:Wood vector works in Tropic and sub-arctic but does not work in Temperate. The Basic vectors were enabled and dissabled as required for each climate. When in loaded in temperate, the wood vector caused the town vector to fail to load.
try this
newgrf/ECSTownw.grf
newgrf/ECSBasicw.grf
newgrf/ECSBasArw.grf !
newgrf/ECSBasTrw.grf !
newgrf/ECSChemw.grf
newgrf/ECSMachw.grf
newgrf/ECSMacTrw.grf !
newgrf/ECSWoodw.grf
newgrf/ECSConstw.grf
newgrf/ECSAgriw.grf
newgrf/ECSDVehw.grf
newgrf/4LVw.grf
newgrf/4LVCutw.grf
newgrf/TTRS3w.grf
Image Image Image Image
Maverick8
Engineer
Engineer
Posts: 29
Joined: 03 Feb 2006 17:39

Post by Maverick8 »

where is a site to download the ecs graphics set as the above link provided is down

thanx
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Maverick8 wrote:where is a site to download the ecs graphics set as the above link provided is down
thanx
Works here :?
Image Image Image Image
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 30 guests