Difference between revisions of "BaseCosts NewGRF"

From #openttdcoop wiki

Jump to: navigation, search
m (semantics)
(issue: category -> version)
Line 12: Line 12:
 
'''<exponent of multiplicator>''' is the n in the multiplicator to the original base costs: 2^(n-8) Thus a value of 8 will leave the costs unchanged, a value of 9 will double it, 10 will quadruple it and 7 will half it.
 
'''<exponent of multiplicator>''' is the n in the multiplicator to the original base costs: 2^(n-8) Thus a value of 8 will leave the costs unchanged, a value of 9 will double it, 10 will quadruple it and 7 will half it.
  
Download from BaNaNaS or from the [http://dev.openttdcoop.org/projects/minigrfs/files DevZone] ([http://dev.openttdcoop.org/projects/minigrfs/issues/new?issue%5Bcategory_id%5D=35 Report Bugs to our tracker.])
+
Download from BaNaNaS or from the [http://dev.openttdcoop.org/projects/minigrfs/files DevZone] ([http://dev.openttdcoop.org/projects/minigrfs/issues/new?issue%5Bfixed_version_id%5D=80 Report Bugs to our tracker.])
  
 
Discussion: http://www.tt-forums.net/viewtopic.php?t=46720
 
Discussion: http://www.tt-forums.net/viewtopic.php?t=46720

Revision as of 12:26, 25 March 2010

Setting the costs by using the id from BaseCosts Table and the value n of the following formula:

Using math: NewBaseCost = OldBaseCost * 2^(n-8), where n is the value of property 08.

You can only rise base costs by factors which correspond a power of 2. The general way to set parameters are in pairs of two:
<base cost no> <exponent of multiplicator>
where
<base cost no> is an entry from the first column of the base cost list
and
<exponent of multiplicator> is the n in the multiplicator to the original base costs: 2^(n-8) Thus a value of 8 will leave the costs unchanged, a value of 9 will double it, 10 will quadruple it and 7 will half it.

Download from BaNaNaS or from the DevZone (Report Bugs to our tracker.)

Discussion: http://www.tt-forums.net/viewtopic.php?t=46720

Examples

config for raise Terraform (x16), but keep foundations on default:

BaseCostsModExampleTF.png

using Pikka's pb_build but modify foundations:

BaseCostsModExamplePikka.png


other similar grfs are:

- Pikka's "Modified Building Costs" (doesn't respect the new OpenTTD feature which splits terraform and foundations)

- Terkhen's "Raise landscaping costs"

- my old grfs: BaseCosts Mod 2 and Airmod

Powered by MediaWiki