FIRS Industry Replacement Set - Development

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

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: FIRS Industry Replacement Set - Development

Post by planetmaker »

I don't think there's so far more discussed than those two things I linked. I guess you could open up a separate thread.
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: FIRS Industry Replacement Set - Development

Post by andythenorth »

planetmaker wrote:I don't think there's so far more discussed than those two things I linked. I guess you could open up a separate thread.
The suggestion thread was here. There's no development thread. http://www.tt-forums.net/viewtopic.php? ... lit=fields

I had a test grf against the patch by frosch. The concept basically works perfectly....apart from a few edge cases that seem to blow up OTTD :P
Stupid tech demo I made - not serious :P
Stupid tech demo I made - not serious :P
fields_2.png (237.43 KiB) Viewed 2443 times
rbn2903
Engineer
Engineer
Posts: 122
Joined: 08 Dec 2007 18:04
Location: Aachen (Aken), Germany

Re: FIRS Industry Replacement Set - Development

Post by rbn2903 »

:mrgreen: Maybe it's a new type of cargo and a new challenge: harvest and transport silos :D
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Re: FIRS Industry Replacement Set - Development

Post by George »

andythenorth wrote:
planetmaker wrote:I don't think there's so far more discussed than those two things I linked. I guess you could open up a separate thread.
The suggestion thread was here. There's no development thread. http://www.tt-forums.net/viewtopic.php? ... lit=fields
Some thoughts http://www.tt-forums.net/viewtopic.php? ... 86#p884186
Image Image Image Image
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: FIRS Industry Replacement Set - Development

Post by andythenorth »

FIRS 0.2 has been released - grf is in the release thread / Bananas. More than 230 changes/improvements have been made since FIRS 0.1.

Development might start on FIRS 0.3 soon. Possible features include:
- parameters to control industry closure
- more improvements to graphics
- completion of missing industries
- ??
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: FIRS Industry Replacement Set - Development

Post by FooBar »

andythenorth wrote:- ??
Maybe me returning starting from next friday :)
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development

Post by Kogut »

- There is a strange thing, in 1830 almost all cargo chains are broken and there are multiple raw industries without proper secondaries.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: FIRS Industry Replacement Set - Development

Post by andythenorth »

Kogut wrote:- There is a strange thing, in 1830 almost all cargo chains are broken and there are multiple raw industries without proper secondaries.
That would be bad. Can you list which chains (or are there too many to list)?
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development

Post by Kogut »

It is not tested thorougly but it is an example
256x256 tropic map, year 1830
- no milk secondary
- iron ore
- gravel
- coal
- livestock
- etc
But there are 5 gas stations! In 1830!
Attachments
Przechwytywanie.PNG
Przechwytywanie.PNG (16.78 KiB) Viewed 2143 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: FIRS Industry Replacement Set - Development

Post by Bob_Mackenzie »

The new lower producing farms make for a little more variety and mean a nice role for trucks so I'm pleased about this

However the cost to fund a new farm hasn't reduced even though the production has dropped about 10 fold. perhaps you could consider reducing the price?

[edit]

In a similar vein on an average TTD map there are too many trees and not enough farmland. Is there any chance of a "massive number of farms" parameter in FIRS to give the terrain a more agricultural feel?
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development

Post by Kogut »

Is it possible to do sth with farms located on deserts and fruit plantations above snowline (please, replace graphics for fruit plantation)?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
Ogre
Engineer
Engineer
Posts: 126
Joined: 04 May 2010 17:59
Location: Germany

Re: FIRS Industry Replacement Set - Development

Post by Ogre »

Well, unless it is not already known / statet in the bugtracker of FIRS version 0.2:

When creating a scenario in the editor of OpenTTD 1.0.2, running under ubuntu, it is impossible to place industries like the junk yard when the starting year is at 1850 or later. However if you create a scenario starting in 2020 (the values are those of my tests) and set the starting date back to 1850, the industries such as the junk yard remain in the industries menu.

But it is a great set (talking from 0.1.2), and the anouncements sound promising. Keep up your great work!
The pessimist sees the darkness in the tunnel.
The optimist sees the light at the end of the tunnel.
The realist sees the light coming closer...
The engineer sees three fools in front of his train on the track in the tunnel.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development

Post by Kogut »

Bug: Input coming in low packets (5 tonnes of fruits and vegetable to brewery) results in no output. It is noticeable only with early eGRVTS.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: FIRS Industry Replacement Set - Development

Post by andythenorth »

Thanks - all this feedback is great.

I'll write tickets for each issue when I have time.

@ Kogut - the 5t issue might be a side effect of how maths works in hex (no floating point divisions). The production code does various multiplications and divisions which could result in 0 output for certain input values.

There might be a workaround, or code could be added to support this specific edge case...but I'm not sure yet.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development

Post by Kogut »

there is 5 t food of 8 t fruits (and vegetables)
Probably game code executes it like: (5 t deliver/8)*5*station_rating = 0
Solution: Keep cargo in "cargo waiting to be processed" till it is "big" packet. For example when 2 RVs arrived in the same to station, packet was increased to 10 t and everything worked perfectly.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: FIRS Industry Replacement Set - Development

Post by andythenorth »

Kogut wrote:Probably game code executes it like: (5 t deliver/8)*5*station_rating = 0
Yes, that's about right. FIRS doesn't pay any attention to station rating, but the (5/8)* 5 is about right.

The solution is as you describe - check for a certain minimum amount before processing.
Michi_cc
OpenTTD Developer
OpenTTD Developer
Posts: 619
Joined: 14 Jun 2004 23:27
Location: Berlin, Germany
Contact:

Re: FIRS Industry Replacement Set - Development

Post by Michi_cc »

Or reorder the calculation to do multiplications before divisions which mitigates the problem somewhat. This means checking for possible overflows though.

-- Michael Lutz
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development

Post by Kogut »

Why static production (no changes for % of transported) feature was removed?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: FIRS Industry Replacement Set - Development

Post by andythenorth »

Kogut wrote:Why static production (no changes for % of transported) feature was removed?
I wanted to play test various production ideas, so in 0.2 primary industry production can decrease if no supplies, and industry can close. I discovered two things really quickly:

1. closure of primary industry really really sucks. I've disabled it in the current nightly. It's save-game safe for 0.2.
2. decreasing is kind of fun, but personally I prefer static production (boosted by supplies).

Parameter control over production change/closure is intended to be a headline feature for FIRS 0.3. I want to work on that and release it as soon as possible. Can't say when that will be though :o

The planned parameters are here: http://dev.openttdcoop.org/issues/1028
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 18 guests