Need help with altering ECS construction vector

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
alb22
Engineer
Engineer
Posts: 2
Joined: 30 Apr 2010 17:57

Need help with altering ECS construction vector

Post by alb22 »

Hi,

i have a problem with the ECS vectors, especially the "construction" part.

I've built a furniture factory and a constructions industry, both connected to one station.
If i supply the station with wood products, the constructions industry immediately soaks up everything - leaving no wood for the furniture factory.
I want to make sort of a cap for the wood products my constructions industry will accept, so the rest goes into the factory.

In ECSConstw.nfo this part can be found somewhere below the point where the data on constructions industry starts:

1703 * 55 0C 0C " Write R0 to IR4[0-1], R1 to IR4[2-3], R2 to IR5[0-1]"
1704 * 69 02 0A 70 89 7D 02 20 FF FF 00 00 \2+ 7C 05 20 00 00 FF FF 10 1A 20 05 00 00 00 0F 7D 01 20 FF FF
00 00 \2* 1A 20 00 00 01 00 \2+ 7D 00 20 FF FF 00 00 10 1A 00 04 00 00 00 01 70 00 00 00 00 00 00
00 00 00 70 00

Here - as I understand - IR5[0-1] defines how much wood products will be accepted. I did some tempering with these values but without knowing what is what it's pretty hopeless.
Maybe it's also the totally wrong place to do this... I have no clue where to alter the data to make the fixed wood cap.

So.. anyone can help me with this problem?

Regards,
alb22
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 24 guests