Difference between revisions of "Airmod.grf"

From #openttdcoop wiki

Jump to: navigation, search
m
(obsolete)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
Encoded GRF: [http://openttdcoop.ppcis.org/ammler/airmod.grf airmod.grf]
+
'''This NewGRF is obsolete, please use [[basecosts.grf]] instead.'''
  
 
Please modify or use [[Talk:Airmod.nfo]]...
 
Please modify or use [[Talk:Airmod.nfo]]...
 +
=Aircraft Modificator 1.0beta5=
 +
==Parameters==
 +
# Airport building costs: default 10 (*4)
 +
# Aircraft purchase costs: default 9 (*2)
 +
# Aircraft running costs: default 10 (*4)
 +
# Aircraft loading amount per unit of time: default 255 (disabled)
 +
Calculation Formula for first 3:
 +
Using math: NewBaseCost = OldBaseCost * 2^(n-8), where n is the value of parameter. (from [http://wiki.ttdpatch.net/tiki-index.php?page=Action0GeneralVariables#Cost_base_multipliers_08_ wiki.TTDPatch]):
 +
7 = * 0.5; 8 = * 1; 9 = * 2; 10 = * 4 and so on...
  
<pre>
+
(Parameter 4 will taken as it is.)
// Automatically generated by GRFCODEC. Do not modify!
+
 
 +
to disable it: value = 255
 +
 
 +
==Download==
 +
Encoded GRF: [http://openttdcoop.ppcis.org/ammler/airmod.grf airmod.grf]
 +
ID: 4D 47 03 01
 +
md5: 33e5dc8f9e6c4f4303d085b9020ba56b
 +
==Source==
 +
<pre>// Automatically generated by GRFCODEC. Do not modify!
 
// (Info version 7)
 
// (Info version 7)
 
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
 
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
     0 * 4 33 00 00 00
+
     0 * 4 4F 00 00 00
     1 * 190 08 06 "MG" 03 01 "Aircraft Mod 1.0beta1" 00 "Changes some properities of the aircrafts to bring back challenge." 0D "Parameters: <Airport> <Purchase> <running> <loading>" 0D "-> 8=*1, 9=*2,10=*4...(7=*0.5)" 0D 0D "by Ammler" 00
+
     1 * 265 08 07 "MG" 03 01 "Aircraft Mod 1.0beta5" 00 "Changes some properities of the aircrafts to bring back challenge." 0D "Parameters: <Airport:10> <Purchase:9> <running:10> <loading:255>" 0D "-> 8=*1, 9=*2,10=*4...(7=*0.5) - 255 for skipping" 0D "loading: the amount of units per time" 0D "2007.09 / Ammler" 00
// Defaults: B0-Airport x8, B1-Purchase x2, B2-running x4, B3-loading 5pu
+
// Defaults: B0-Airport *4, B1-Purchase *2, B2-running *4, B3-loading [disabled]
 
// [07/09] <variable> <varsize> <condition-type> <value> <num-sprites>
 
// [07/09] <variable> <varsize> <condition-type> <value> <num-sprites>
 
     2 * 6 09 00 01 01 FF 01
 
     2 * 6 09 00 01 01 FF 01
 
// 0D <target> <operation> <source1> <source2> [<data> (if source1 or 2 = FF)]
 
// 0D <target> <operation> <source1> <source2> [<data> (if source1 or 2 = FF)]
     3 * 9 0D 00 00 FF 00 0B 00 00 00
+
     3 * 9 0D 00 00 FF 00 0A 00 00 00
 
     4 * 6 09 01 01 01 FF 01
 
     4 * 6 09 01 01 01 FF 01
 
     5 * 9 0D 01 00 FF 00 09 00 00 00
 
     5 * 9 0D 01 00 FF 00 09 00 00 00
Line 19: Line 36:
 
     7 * 9 0D 02 00 FF 00 0A 00 00 00
 
     7 * 9 0D 02 00 FF 00 0A 00 00 00
 
     8 * 6 09 03 01 01 FF 01
 
     8 * 6 09 03 01 01 FF 01
     9 * 9 0D 03 00 FF 00 05 00 00 00
+
     9 * 9 0D 03 00 FF 00 FF 00 00 00
  
 
// Airport costs
 
// Airport costs
 +
// skip, if 255
 +
  10 * 6 07 00 01 02 FF "P"
 
// maximum x16
 
// maximum x16
 
// 00 <Feature> <Num-props> <Num-info> <Id> (<Property <New-info>)...
 
// 00 <Feature> <Num-props> <Num-info> <Id> (<Property <New-info>)...
   10 * 7 00 08 01 01 0B 08 0C
+
   11 * 7 00 08 01 01 0B 08 0C
 
// x8
 
// x8
   11 * 6 07 00 01 05 0A 01
+
   12 * 6 07 00 01 05 0B 01
   12 * 7 00 08 01 01 0B 08 0B
+
   13 * 7 00 08 01 01 0B 08 0B
 
// x4
 
// x4
   13 * 6 07 00 01 05 09 01
+
   14 * 6 07 00 01 05 0A 01
   14 * 7 00 08 01 01 0B 08 0A
+
   15 * 7 00 08 01 01 0B 08 0A
 
// x2
 
// x2
   15 * 6 07 00 01 05 08 01
+
   16 * 6 07 00 01 05 09 01
   16 * 7 00 08 01 01 0B 08 09
+
   17 * 7 00 08 01 01 0B 08 09
 
// x1
 
// x1
   17 * 6 07 00 01 05 07 01
+
   18 * 6 07 00 01 05 08 01
   18 * 7 00 08 01 01 0B 08 08
+
   19 * 7 00 08 01 01 0B 08 08
 
// minimum x0.5
 
// minimum x0.5
   19 * 6 07 00 01 05 00 01
+
   20 * 6 07 00 01 05 07 01
   20 * 7 00 08 01 01 0B 08 07
+
   21 * 7 00 08 01 01 0B 08 07
  
// Purchase
+
  22 * 9 10 "Purchase"
 +
  23 * 6 07 01 01 02 FF "R"
 
// maximum x16
 
// maximum x16
   21 * 7 00 08 01 01 11 08 0C
+
   24 * 7 00 08 01 01 11 08 0C
 
// x8
 
// x8
   22 * 6 07 01 01 05 0A 01
+
   25 * 6 07 01 01 05 0B 01
   23 * 7 00 08 01 01 11 08 0B
+
   26 * 7 00 08 01 01 11 08 0B
 
// x4
 
// x4
   24 * 6 07 01 01 05 09 01
+
   27 * 6 07 01 01 05 0A 01
   25 * 7 00 08 01 01 11 08 0A
+
   28 * 7 00 08 01 01 11 08 0A
 
// x2
 
// x2
   26 * 6 07 01 01 05 08 01
+
   29 * 6 07 01 01 05 09 01
   27 * 7 00 08 01 01 11 08 09
+
   30 * 7 00 08 01 01 11 08 09
 
// x1
 
// x1
   28 * 6 07 01 01 05 07 01
+
   31 * 6 07 01 01 05 08 01
   29 * 7 00 08 01 01 11 08 08
+
   32 * 7 00 08 01 01 11 08 08
 
// minimum x0.5
 
// minimum x0.5
   30 * 6 07 01 01 05 00 01
+
   33 * 6 07 01 01 05 07 01
   31 * 7 00 08 01 01 11 08 07
+
   34 * 7 00 08 01 01 11 08 07
  
// running costs
+
  35 * 14 10 "Running costs"
 +
  36 * 6 07 02 01 02 FF "L"
 +
// goto av8 or Planeset, if loaded
 +
  37 * 9 07 88 04 \7GG "DD" 0A 01 "a"
 +
  38 * 9 07 88 04 \7GG "JS" 01 01 "P"
 
// maximum x16
 
// maximum x16
   32 * 7 00 08 01 01 2D 08 0C
+
   39 * 7 00 08 01 01 2D 08 0C
 
// x8
 
// x8
   33 * 6 07 02 01 05 0A 01
+
   40 * 6 07 02 01 05 0B 01
   34 * 7 00 08 01 01 2D 08 0B
+
   41 * 7 00 08 01 01 2D 08 0B
 
// x4
 
// x4
   35 * 6 07 02 01 05 09 01
+
   42 * 6 07 02 01 05 0A 01
   36 * 7 00 08 01 01 2D 08 0A
+
   43 * 7 00 08 01 01 2D 08 0A
 
// x2
 
// x2
   37 * 6 07 02 01 05 08 01
+
   44 * 6 07 02 01 05 09 01
   38 * 7 00 08 01 01 2D 08 09
+
   45 * 7 00 08 01 01 2D 08 09
 
// x1
 
// x1
   39 * 6 07 02 01 05 07 01
+
   46 * 6 07 02 01 05 08 01
   40 * 7 00 08 01 01 2D 08 08
+
   47 * 7 00 08 01 01 2D 08 08
 
// minimum x0.5
 
// minimum x0.5
   41 * 6 07 02 01 05 00 01
+
   48 * 6 07 02 01 05 07 01
   42 * 7 00 08 01 01 2D 08 07
+
   49 * 7 00 08 01 01 2D 08 07
 +
//skip running costs av8
 +
  50 * 6 07 9A 01 00 00 "L"
  
// loading amount per unit of time
+
  51 * 19 10 "av8: running costs"
// maximum 50
+
// should be loaded before this mod
 +
  52 * 9 07 88 04 \7G "DD" 0A 01 "R"
 +
  53 * 28 0B 01 7F 05 "Aviators Aircraft (av8)" 00
  
   43 * 46 00 03 01 28 00 07 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
+
   54 * 24 10 "Planeset: running costs"
 +
// should be loaded before this mod
 +
  55 * 9 07 88 04 \7G "JS" 01 01 "R"
 +
  56 * 19 0B 01 7F 05 "Planeset 1.5.3" 00
 +
 
 +
  57 * 14 10 "Running costs"
 +
// maximum x16
 +
  58 * 7 00 08 01 01 2D 08 0F
 +
// x8
 +
  59 * 6 07 02 01 05 0B 01
 +
  60 * 7 00 08 01 01 2D 08 0E
 +
// x4
 +
  61 * 6 07 02 01 05 0A 01
 +
  62 * 7 00 08 01 01 2D 08 0D
 +
// x2
 +
  63 * 6 07 02 01 05 09 01
 +
  64 * 7 00 08 01 01 2D 08 0C
 +
// x1
 +
  65 * 6 07 02 01 05 08 01
 +
  66 * 7 00 08 01 01 2D 08 0B
 +
// minimum x0.5
 +
  67 * 6 07 02 01 05 07 01
 +
  68 * 7 00 08 01 01 2D 08 0A
 +
 
 +
  69 * 32 10 "Loading amount per unit of time"
 +
  70 * 6 07 03 01 02 FF 09
 +
// maximum 50
 +
  71 * 46 00 03 01 28 00 07 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
 
// 20
 
// 20
   44 * 6 07 03 01 05 14 01
+
   72 * 6 07 03 01 05 14 01
   45 * 46 00 03 01 28 00 07 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14
+
   73 * 46 00 03 01 28 00 07 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14
 
// 10
 
// 10
   46 * 6 07 03 01 05 0A 01
+
   74 * 6 07 03 01 05 0A 01
   47 * 46 00 03 01 28 00 07 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A
+
   75 * 46 00 03 01 28 00 07 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A
 
// 5
 
// 5
   48 * 6 07 03 01 05 05 01
+
   76 * 6 07 03 01 05 05 01
   49 * 46 00 03 01 28 00 07 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05
+
   77 * 46 00 03 01 28 00 07 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05
 
// minimum 1
 
// minimum 1
   50 * 6 07 03 01 05 01 01
+
   78 * 6 07 03 01 05 01 01
   51 * 46 00 03 01 28 00 07 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
+
   79 * 46 00 03 01 28 00 07 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
 
+
 
+
 
</pre>
 
</pre>
 
[[Category:GRF]]
 
[[Category:GRF]]

Latest revision as of 10:27, 9 November 2007

This NewGRF is obsolete, please use basecosts.grf instead.

Please modify or use Talk:Airmod.nfo...

Aircraft Modificator 1.0beta5

Parameters

  1. Airport building costs: default 10 (*4)
  2. Aircraft purchase costs: default 9 (*2)
  3. Aircraft running costs: default 10 (*4)
  4. Aircraft loading amount per unit of time: default 255 (disabled)

Calculation Formula for first 3: 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...

(Parameter 4 will taken as it is.)

to disable it: value = 255

Download

Encoded GRF: airmod.grf ID: 4D 47 03 01 md5: 33e5dc8f9e6c4f4303d085b9020ba56b

Source

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 4F 00 00 00
    1 * 265	 08 07 "MG" 03 01 "Aircraft Mod 1.0beta5" 00 "Changes some properities of the aircrafts to bring back challenge." 0D "Parameters: <Airport:10> <Purchase:9> <running:10> <loading:255>" 0D "-> 8=*1, 9=*2,10=*4...(7=*0.5) - 255 for skipping" 0D "loading: the amount of units per time" 0D "2007.09 / Ammler" 00
// 	Defaults: B0-Airport *4, B1-Purchase *2, B2-running *4, B3-loading [disabled]
//	[07/09] <variable> <varsize> <condition-type> <value> <num-sprites>
    2 * 6	 09 00 01 01 FF 01
//	0D <target> <operation> <source1> <source2> [<data> (if source1 or 2 = FF)]
    3 * 9	 0D 00 00 FF 00 0A 00 00 00
    4 * 6	 09 01 01 01 FF 01
    5 * 9	 0D 01 00 FF 00 09 00 00 00
    6 * 6	 09 02 01 01 FF 01
    7 * 9	 0D 02 00 FF 00 0A 00 00 00
    8 * 6	 09 03 01 01 FF 01
    9 * 9	 0D 03 00 FF 00 FF 00 00 00

//	Airport costs
//		skip, if 255
   10 * 6	 07 00 01 02 FF "P"
//		maximum x16
//	00 <Feature> <Num-props> <Num-info> <Id> (<Property <New-info>)...
   11 * 7	 00 08 01 01 0B 08 0C
//		x8
   12 * 6	 07 00 01 05 0B 01
   13 * 7	 00 08 01 01 0B 08 0B
//		x4
   14 * 6	 07 00 01 05 0A 01
   15 * 7	 00 08 01 01 0B 08 0A
//		x2
   16 * 6	 07 00 01 05 09 01
   17 * 7	 00 08 01 01 0B 08 09
//		x1
   18 * 6	 07 00 01 05 08 01
   19 * 7	 00 08 01 01 0B 08 08
//		minimum x0.5
   20 * 6	 07 00 01 05 07 01
   21 * 7	 00 08 01 01 0B 08 07

   22 * 9	 10 "Purchase"
   23 * 6	 07 01 01 02 FF "R"
//		maximum x16
   24 * 7	 00 08 01 01 11 08 0C
//		x8
   25 * 6	 07 01 01 05 0B 01
   26 * 7	 00 08 01 01 11 08 0B
//		x4
   27 * 6	 07 01 01 05 0A 01
   28 * 7	 00 08 01 01 11 08 0A
//		x2
   29 * 6	 07 01 01 05 09 01
   30 * 7	 00 08 01 01 11 08 09
//		x1
   31 * 6	 07 01 01 05 08 01
   32 * 7	 00 08 01 01 11 08 08
//		minimum x0.5
   33 * 6	 07 01 01 05 07 01
   34 * 7	 00 08 01 01 11 08 07

   35 * 14	 10 "Running costs"
   36 * 6	 07 02 01 02 FF "L"
// goto av8 or Planeset, if loaded
   37 * 9	 07 88 04 \7GG "DD" 0A 01 "a"
   38 * 9	 07 88 04 \7GG "JS" 01 01 "P"
//		maximum x16
   39 * 7	 00 08 01 01 2D 08 0C
//		x8
   40 * 6	 07 02 01 05 0B 01
   41 * 7	 00 08 01 01 2D 08 0B
//		x4
   42 * 6	 07 02 01 05 0A 01
   43 * 7	 00 08 01 01 2D 08 0A
//		x2
   44 * 6	 07 02 01 05 09 01
   45 * 7	 00 08 01 01 2D 08 09
//		x1
   46 * 6	 07 02 01 05 08 01
   47 * 7	 00 08 01 01 2D 08 08
//		minimum x0.5
   48 * 6	 07 02 01 05 07 01
   49 * 7	 00 08 01 01 2D 08 07
//skip running costs av8
   50 * 6	 07 9A 01 00 00 "L"

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

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

   57 * 14	 10 "Running costs"
//		maximum x16
   58 * 7	 00 08 01 01 2D 08 0F
//		x8
   59 * 6	 07 02 01 05 0B 01
   60 * 7	 00 08 01 01 2D 08 0E
//		x4
   61 * 6	 07 02 01 05 0A 01
   62 * 7	 00 08 01 01 2D 08 0D
//		x2
   63 * 6	 07 02 01 05 09 01
   64 * 7	 00 08 01 01 2D 08 0C
//		x1
   65 * 6	 07 02 01 05 08 01
   66 * 7	 00 08 01 01 2D 08 0B
//		minimum x0.5
   67 * 6	 07 02 01 05 07 01
   68 * 7	 00 08 01 01 2D 08 0A

   69 * 32	 10 "Loading amount per unit of time"
   70 * 6	 07 03 01 02 FF 09
//		maximum 50
   71 * 46	 00 03 01 28 00 07 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
//		20
   72 * 6	 07 03 01 05 14 01
   73 * 46	 00 03 01 28 00 07 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14
//		10
   74 * 6	 07 03 01 05 0A 01
   75 * 46	 00 03 01 28 00 07 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A
//		5
   76 * 6	 07 03 01 05 05 01
   77 * 46	 00 03 01 28 00 07 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05
//		minimum 1
   78 * 6	 07 03 01 05 01 01
   79 * 46	 00 03 01 28 00 07 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
Powered by MediaWiki
  • This page was last modified on 9 November 2007, at 10:27.