NewGRF: TTOriginal's productions

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
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

NewGRF: TTOriginal's productions

Post by SirkoZ »

Hi all NewGRF gurus! :-)

I would like to make a newGRF for TTDP/OTTD to make productions more like TTOriginal's - two ways:
1.) How can I change only default production rates (e.g. for Coal Mine it's 15 (x8 or x9 = 120 or 135))?
2.) Or - how could I change how many times per month industry gives out cargo (instead of 8x or 9x to 12x or 13x or 14x). Now - one method for this I did long time ago was for OTTD to change ottd.c's DAY_TICS from 78 to 112, but would it be possible to achieve through a NewGRF?

Thank you for your assistance.

P.S.: This newGRF could then also be a part of the great NewGRF called Full_TTO_Conversion...
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: NewGRF: TTOriginal's productions

Post by PikkaBird »

You didn't look too hard, did you? ;)

http://wiki.ttdpatch.net/tiki-index.php ... iers_12_13_
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Re: NewGRF: TTOriginal's productions

Post by SirkoZ »

Oh my - is it that simple - I mean I knew of that part of the TTDPatch Wiki, but I dismissed it just because it says 6 or 7 times. No TTD industry puts out cargo at such multipliers - the usual numbers are 8x or 9x or some more odd ones for low(est) productions and forests with less than 400t production... :oops: :)
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Re: NewGRF: TTOriginal's productions

Post by SirkoZ »

Well - now that I found the time to try this so-called multiplier out - I see it's only production_rate like I suspected in my starting post.
Better than nothing I guess...
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: NewGRF: TTOriginal's productions

Post by DaleStan »

SirkoZ wrote:2.) Or - how could I change how many times per month industry gives out cargo (instead of 8x or 9x to 12x or 13x or 14x). Now - one method for this I did long time ago was for OTTD to change ottd.c's DAY_TICS from 78 to 112, but would it be possible to achieve through a NewGRF?
NewGRF cannot change that.
NewGRFs can say that production happens:
- Every $WHATEVER_NUM ticks, 8 or 9 times per month
- Whenever cargo arrives
- Both of the above
- Never
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
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Re: NewGRF: TTOriginal's productions

Post by SirkoZ »

Thank you for your reply, I appreciate it.

Question though: how would I express that an industry should give out cargo let's say every 170 ticks? I just don't see it in the specs - under action 0 it says only 256 ticks. :?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: NewGRF: TTOriginal's productions

Post by DaleStan »

You cannot change $WHATEVER_NUM.
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
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google [Bot] and 4 guests