Basecosts.grf

From #openttdcoop wiki

Revision as of 22:35, 25 October 2007 by Ammler (Talk | contribs) (big update to more general...)

Jump to: navigation, search

Please modify or use Talk:basecosts.grf...

Base Costs Mod 2.0beta

former Aircraft Modificator 1.0beta5

Parameters

  1. build bridge unit: default 10 (*4)
  2. build tunnel unit: default 12 (*16)
  3. airport building costs: default 10 (*4)
  4. aircraft purchase costs: default 9 (*2)
  5. raise/lower land: default 11 (*8)
  6. aircraft running costs: default 10 (*4)
  7. funding industries: default 9 (*2)

Calculation Formula: Using math: NewBaseCost = OldBaseCost * 2^(n-8), where n is the value of parameter. (from wiki.TTDPatch): 7 = * 0.5; 8 = * 1; 9 = * 2; 10 = * 4 and so on...

to disable it: value = 255

Download

Encoded GRF: basecosts.grf ID: 4D 47 03 02 md5: 64030bc5f9abce2793f32c51d2dfbc44

Source

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 8F 00 00 00
    1 * 261	 08 07 "MG" 03 02 "Base Costs Mod 2.0beta" 00 "Changes some properities of base costs." 0D "Parameters: <Bridge:10> <Tunnel:12> <Airport:10> <Air purchase:10> <raise/lower:11> <Air running:10> <funding industries:9>" 0D "-> 8=*1, 9=*2,10=*4...(7=*0.5) - 255 for skipping" 0D 0D "2007.10 / Ammler" 00

// GRF Syntax:
//	00 <Feature> <Num-props> <Num-info> <Id> (<Property <New-info>)...
//	[07/09] <variable> <varsize> <condition-type> <value> <num-sprites>
//	0D <target> <operation> <source1> <source2> [<data> (if source1 or 2 = FF)]

    2 * 6	 09 00 01 01 FF 01 // build bridge unit
    3 * 9	 0D 00 00 FF 00 0A 00 00 00
    4 * 6	 09 01 01 01 FF 01 // build tunnel unit
    5 * 9	 0D 01 00 FF 00 0C 00 00 00
    6 * 6	 09 02 01 01 FF 01 // build airport tile
    7 * 9	 0D 02 00 FF 00 0A 00 00 00
    8 * 6	 09 03 01 01 FF 01 // aircraft puchase
    9 * 9	 0D 03 00 FF 00 0A 00 00 00
   10 * 6	 09 04 01 01 FF 01 // raise/lower land
   11 * 9	 0D 04 00 FF 00 0B 00 00 00
   12 * 6	 09 05 01 01 FF 01 // aircraft running costs
   13 * 9	 0D 05 00 FF 00 0A 00 00 00
   14 * 6	 09 06 01 01 FF 01 // funding industries
   15 * 9	 0D 06 00 FF 00 09 00 00 00


   16 * 8	 0C 10 "Bridge"
//		skip, if 255
   17 * 6	 07 00 01 02 FF "T"
//		x1024
   18 * 7	 00 08 01 01 04 08 12
//		x128
   19 * 6	 07 00 01 \7> 0F 01
   20 * 7	 00 08 01 01 04 08 0F
//		x32
   21 * 6	 07 00 01 \7> 0D 01
   22 * 7	 00 08 01 01 04 08 0D
//		x8
   23 * 6	 07 00 01 \7> 0B 01
   24 * 7	 00 08 01 01 04 08 0B
//		x4
   25 * 6	 07 00 01 \7> 0A 01
   26 * 7	 00 08 01 01 04 08 0A
//		x2
   27 * 6	 07 00 01 \7> 09 01
   28 * 7	 00 08 01 01 04 08 09
//		x1
   29 * 6	 07 00 01 \7> 08 01
   30 * 7	 00 08 01 01 04 08 08
//		minimum x0.5
   31 * 6	 07 00 01 \7> 07 01
   32 * 7	 00 08 01 01 04 08 07


   33 * 7	 10 "Tunnel"
//		skip, if 255
   34 * 6	 07 01 01 02 FF "A"
//		x1024
   35 * 7	 00 08 01 01 08 08 12
//		x128
   36 * 6	 07 01 01 \7> 0F 01
   37 * 7	 00 08 01 01 08 08 0F
//		x32
   38 * 6	 07 01 01 \7> 0D 01
   39 * 7	 00 08 01 01 08 08 0D
//		x8
   40 * 6	 07 01 01 \7> 0B 01
   41 * 7	 00 08 01 01 08 08 0B
//		x4
   42 * 6	 07 01 01 \7> 0A 01
   43 * 7	 00 08 01 01 08 08 0A
//		x2
   44 * 6	 07 01 01 \7> 09 01
   45 * 7	 00 08 01 01 08 08 09
//		x1
   46 * 6	 07 01 01 \7> 08 01
   47 * 7	 00 08 01 01 08 08 08
//		minimum x0.5
   48 * 6	 07 01 01 \7> 07 01
   49 * 7	 00 08 01 01 08 08 07


   50 * 8	 10 "Airport"
   51 * 6	 07 02 01 02 FF "P"
//		maximum x16
//	00 <Feature> <Num-props> <Num-info> <Id> (<Property <New-info>)...
   52 * 7	 00 08 01 01 0B 08 0C
//		x8
   53 * 6	 07 02 01 05 0B 01
   54 * 7	 00 08 01 01 0B 08 0B
//		x4
   55 * 6	 07 02 01 05 0A 01
   56 * 7	 00 08 01 01 0B 08 0A
//		x2
   57 * 6	 07 02 01 05 09 01
   58 * 7	 00 08 01 01 0B 08 09
//		x1
   59 * 6	 07 02 01 05 08 01
   60 * 7	 00 08 01 01 0B 08 08
//		minimum x0.5
   61 * 6	 07 02 01 05 07 01
   62 * 7	 00 08 01 01 0B 08 07


   63 * 9	 10 "Purchase"
   64 * 6	 07 03 01 02 FF "L"
//		maximum x16
   65 * 7	 00 08 01 01 11 08 0C
//		x8
   66 * 6	 07 03 01 05 0B 01
   67 * 7	 00 08 01 01 11 08 0B
//		x4
   68 * 6	 07 03 01 05 0A 01
   69 * 7	 00 08 01 01 11 08 0A
//		x2
   70 * 6	 07 03 01 05 09 01
   71 * 7	 00 08 01 01 11 08 09
//		x1
   72 * 6	 07 03 01 05 08 01
   73 * 7	 00 08 01 01 11 08 08
//		minimum x0.5
   74 * 6	 07 03 01 05 07 01
   75 * 7	 00 08 01 01 11 08 07


   76 * 17	 10 "Land raise/lower"
//		skip, if 255
   77 * 6	 07 04 01 02 FF "R"
//		x1024
   78 * 7	 00 08 01 01 15 08 12
//		x128
   79 * 6	 07 04 01 \7> 0F 01
   80 * 7	 00 08 01 01 15 08 0F
//		x32
   81 * 6	 07 04 01 \7> 0D 01
   82 * 7	 00 08 01 01 15 08 0D
//		x8
   83 * 6	 07 04 01 \7> 0B 01
   84 * 7	 00 08 01 01 15 08 0B
//		x4
   85 * 6	 07 04 01 \7> 0A 01
   86 * 7	 00 08 01 01 15 08 0A
//		x2
   87 * 6	 07 04 01 \7> 09 01
   88 * 7	 00 08 01 01 15 08 09
//		x1
   89 * 6	 07 04 01 \7> 08 01
   90 * 7	 00 08 01 01 15 08 08
//		minimum x0.5
   91 * 6	 07 04 01 \7> 07 01
   92 * 7	 00 08 01 01 15 08 07


   93 * 23	 10 "Running costs Aircraft"
   94 * 6	 07 05 01 02 FF "I"
// goto av8 or Planeset, if loaded
   95 * 9	 07 88 04 \7GG "DD" 0A 01 "a"
   96 * 9	 07 88 04 \7GG "JS" 01 01 "P"
//		maximum x16
   97 * 7	 00 08 01 01 2D 08 0C
//		x8
   98 * 6	 07 05 01 05 0B 01
   99 * 7	 00 08 01 01 2D 08 0B
//		x4
  100 * 6	 07 05 01 05 0A 01
  101 * 7	 00 08 01 01 2D 08 0A
//		x2
  102 * 6	 07 05 01 05 09 01
  103 * 7	 00 08 01 01 2D 08 09
//		x1
  104 * 6	 07 05 01 05 08 01
  105 * 7	 00 08 01 01 2D 08 08
//		minimum x0.5
  106 * 6	 07 05 01 05 07 01
  107 * 7	 00 08 01 01 2D 08 07
//skip running costs av8
  108 * 6	 07 9A 01 00 00 "I"

  109 * 19	 10 "av8: running costs"
// should be loaded before this mod
  110 * 9	 07 88 04 \7G "DD" 0A 01 "R"
  111 * 28	 0B 01 7F 05 "Aviators Aircraft (av8)" 00

  112 * 24	 10 "Planeset: running costs"
// should be loaded before this mod
  113 * 9	 07 88 04 \7G "JS" 01 01 "R"
  114 * 19	 0B 01 7F 05 "Planeset 1.5.3" 00

  115 * 14	 10 "Running costs"
//		maximum x16
  116 * 7	 00 08 01 01 2D 08 0F
//		x8
  117 * 6	 07 05 01 05 0B 01
  118 * 7	 00 08 01 01 2D 08 0E
//		x4
  119 * 6	 07 05 01 05 0A 01
  120 * 7	 00 08 01 01 2D 08 0D
//		x2
  121 * 6	 07 05 01 05 09 01
  122 * 7	 00 08 01 01 2D 08 0C
//		x1
  123 * 6	 07 05 01 05 08 01
  124 * 7	 00 08 01 01 2D 08 0B
//		minimum x0.5
  125 * 6	 07 05 01 05 07 01
  126 * 7	 00 08 01 01 2D 08 0A


  127 * 17	 10 "Industry funding"
//		skip, if 255
  128 * 6	 07 06 01 02 FF 00
//		x1024
  129 * 7	 00 08 01 01 30 08 12
//		x128
  130 * 6	 07 06 01 \7> 0F 01
  131 * 7	 00 08 01 01 15 08 0F
//		x32
  132 * 6	 07 06 01 \7> 0D 01
  133 * 7	 00 08 01 01 30 08 0D
//		x8
  134 * 6	 07 06 01 \7> 0B 01
  135 * 7	 00 08 01 01 30 08 0B
//		x4
  136 * 6	 07 06 01 \7> 0A 01
  137 * 7	 00 08 01 01 30 08 0A
//		x2
  138 * 6	 07 06 01 \7> 09 01
  139 * 7	 00 08 01 01 30 08 09
//		x1
  140 * 6	 07 06 01 \7> 08 01
  141 * 7	 00 08 01 01 30 08 08
//		minimum x0.5
  142 * 6	 07 06 01 \7> 07 01
  143 * 7	 00 08 01 01 30 08 07
Powered by MediaWiki