FIRS Industry Replacement Set - Development
Moderator: Graphics Moderators
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: FIRS Industry Replacement Set - Development
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.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
The suggestion thread was here. There's no development thread. http://www.tt-forums.net/viewtopic.php? ... lit=fieldsplanetmaker 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.
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

FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: FIRS Industry Replacement Set - Development


- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
Re: FIRS Industry Replacement Set - Development
Some thoughts http://www.tt-forums.net/viewtopic.php? ... 86#p884186andythenorth wrote:The suggestion thread was here. There's no development thread. http://www.tt-forums.net/viewtopic.php? ... lit=fieldsplanetmaker 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.
- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
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
- ??
Development might start on FIRS 0.3 soon. Possible features include:
- parameters to control industry closure
- more improvements to graphics
- completion of missing industries
- ??
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: FIRS Industry Replacement Set - Development
Maybe me returning starting from next fridayandythenorth wrote:- ??

- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
Really?FooBar wrote:Maybe me returning starting from next friday
That would be nice.

FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: FIRS Industry Replacement Set - Development
- 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
AIAI - AI for OpenTTD
- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
That would be bad. Can you list which chains (or are there too many to list)?Kogut wrote:- There is a strange thing, in 1830 almost all cargo chains are broken and there are multiple raw industries without proper secondaries.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: FIRS Industry Replacement Set - Development
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!
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 (16.78 KiB) Viewed 2143 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
- Bob_Mackenzie
- Chairman
- Posts: 823
- Joined: 25 Mar 2010 13:36
Re: FIRS Industry Replacement Set - Development
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?
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?
Re: FIRS Industry Replacement Set - Development
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
AIAI - AI for OpenTTD
Re: FIRS Industry Replacement Set - Development
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!
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.
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.
Re: FIRS Industry Replacement Set - Development
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
AIAI - AI for OpenTTD
- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
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.
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.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: FIRS Industry Replacement Set - Development
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.
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
AIAI - AI for OpenTTD
- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
Yes, that's about right. FIRS doesn't pay any attention to station rating, but the (5/8)* 5 is about right.Kogut wrote:Probably game code executes it like: (5 t deliver/8)*5*station_rating = 0
The solution is as you describe - check for a certain minimum amount before processing.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: FIRS Industry Replacement Set - Development
Or reorder the calculation to do multiplications before divisions which mitigates the problem somewhat. This means checking for possible overflows though.
-- Michael Lutz
-- Michael Lutz
Re: FIRS Industry Replacement Set - Development
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
AIAI - AI for OpenTTD
- andythenorth
- Tycoon
- Posts: 5705
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: FIRS Industry Replacement Set - Development
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:Kogut wrote:Why static production (no changes for % of transported) feature was removed?
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

The planned parameters are here: http://dev.openttdcoop.org/issues/1028
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Who is online
Users browsing this forum: No registered users and 18 guests