Airmod.grf

From #openttdcoop wiki

Revision as of 15:41, 13 September 2007 by Ammler (Talk | contribs) (Aircraft Modificator 1.0beta4)

Jump to: navigation, search

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

Aircraft Modificator 1.0beta4

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: 505d42641e0b867d8b96bb03f05eaa2a

Source

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 4A 00 00 00
    1 * 265	 08 07 "MG" 03 01 "Aircraft Mod 1.0beta4" 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, if loaded
   37 * 9	 07 88 04 \7GG "DD" 0A 01 "a"
//		maximum x16
   38 * 7	 00 08 01 01 2D 08 0C
//		x8
   39 * 6	 07 02 01 05 0B 01
   40 * 7	 00 08 01 01 2D 08 0B
//		x4
   41 * 6	 07 02 01 05 0A 01
   42 * 7	 00 08 01 01 2D 08 0A
//		x2
   43 * 6	 07 02 01 05 09 01
   44 * 7	 00 08 01 01 2D 08 09
//		x1
   45 * 6	 07 02 01 05 08 01
   46 * 7	 00 08 01 01 2D 08 08
//		minimum x0.5
   47 * 6	 07 02 01 05 07 01
   48 * 7	 00 08 01 01 2D 08 07
//skip running costs av8
   49 * 6	 07 9A 01 00 00 "L"

   50 * 19	 10 "av8: running costs"
// should be loaded before this mod
   51 * 9	 07 88 04 \7G "DD" 0A 01 01
   52 * 28	 0B 01 7F 05 "Aviators Aircraft (av8)" 00
//		maximum x16
   53 * 7	 00 08 01 01 2D 08 0F
//		x8
   54 * 6	 07 02 01 05 0B 01
   55 * 7	 00 08 01 01 2D 08 0E
//		x4
   56 * 6	 07 02 01 05 0A 01
   57 * 7	 00 08 01 01 2D 08 0D
//		x2
   58 * 6	 07 02 01 05 09 01
   59 * 7	 00 08 01 01 2D 08 0C
//		x1
   60 * 6	 07 02 01 05 08 01
   61 * 7	 00 08 01 01 2D 08 0B
//		minimum x0.5
   62 * 6	 07 02 01 05 07 01
   63 * 7	 00 08 01 01 2D 08 0A


   64 * 32	 10 "Loading amount per unit of time"
   65 * 6	 07 03 01 02 FF 09
//		maximum 50
   66 * 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
   67 * 6	 07 03 01 05 14 01
   68 * 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
   69 * 6	 07 03 01 05 0A 01
   70 * 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
   71 * 6	 07 03 01 05 05 01
   72 * 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
   73 * 6	 07 03 01 05 01 01
   74 * 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