How to reuce maintaince cost by modding

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
StarfoxHUN
Engineer
Engineer
Posts: 2
Joined: 25 Jan 2019 14:55

How to reuce maintaince cost by modding

Post by StarfoxHUN » 25 Jan 2019 15:00

Hi!
I want to change the way the game calculates maintaince cost(Precisely, i want to reduce Airport maintaince cost).

Do i really have to use NewGRF-s for that? Since the game is open-source, isnt there a way, to just simply rewrite things defined by the game files? And if there is, which file defines these prices(thier formula)?

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5383
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Re: How to reuce maintaince cost by modding

Post by PikkaBird » 25 Jan 2019 15:15

No, you don't have to use NewGRF; but you should, because someone has already done the work for you.

Download the "BaseCosts" NewGRF, and you can use it to alter any of the costs you like.

StarfoxHUN
Engineer
Engineer
Posts: 2
Joined: 25 Jan 2019 14:55

Re: How to reuce maintaince cost by modding

Post by StarfoxHUN » 25 Jan 2019 15:17

Thanks, ill check that out :)

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

Re: How to reuce maintaince cost by modding

Post by planetmaker » 25 Jan 2019 16:13

PikkaBird wrote:No, you don't have to use NewGRF; but you should, because someone has already done the work for you.

Download the "BaseCosts" NewGRF, and you can use it to alter any of the costs you like.
This forum is missing an upvote functionality :) :arrow: :idea:

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 8 guests