Difference between revisions of "Airmod.grf"
From #openttdcoop wiki
m |
(obsolete) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | '''This NewGRF is obsolete, please use [[basecosts.grf]] instead.''' | |
− | <pre> | + | Please modify or use [[Talk:Airmod.nfo]]... |
− | // Automatically generated by GRFCODEC. Do not modify! | + | =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... | ||
+ | |||
+ | (Parameter 4 will taken as it is.) | ||
+ | |||
+ | 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 | + | 0 * 4 4F 00 00 00 |
− | 1 * | + | 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 | + | // 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 | + | 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 | ||
6 * 6 09 02 01 01 FF 01 | 6 * 6 09 02 01 01 FF 01 | ||
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 | |
− | + | 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>)... | ||
− | + | 11 * 7 00 08 01 01 0B 08 0C | |
// x8 | // x8 | ||
− | + | 12 * 6 07 00 01 05 0B 01 | |
− | + | 13 * 7 00 08 01 01 0B 08 0B | |
// x4 | // x4 | ||
− | + | 14 * 6 07 00 01 05 0A 01 | |
− | + | 15 * 7 00 08 01 01 0B 08 0A | |
// x2 | // x2 | ||
− | + | 16 * 6 07 00 01 05 09 01 | |
− | + | 17 * 7 00 08 01 01 0B 08 09 | |
// x1 | // x1 | ||
− | + | 18 * 6 07 00 01 05 08 01 | |
− | + | 19 * 7 00 08 01 01 0B 08 08 | |
// minimum x0.5 | // 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 | // maximum x16 | ||
− | + | 24 * 7 00 08 01 01 11 08 0C | |
// x8 | // x8 | ||
− | + | 25 * 6 07 01 01 05 0B 01 | |
− | + | 26 * 7 00 08 01 01 11 08 0B | |
// x4 | // x4 | ||
− | + | 27 * 6 07 01 01 05 0A 01 | |
− | + | 28 * 7 00 08 01 01 11 08 0A | |
// x2 | // x2 | ||
− | + | 29 * 6 07 01 01 05 09 01 | |
− | + | 30 * 7 00 08 01 01 11 08 09 | |
// x1 | // x1 | ||
− | + | 31 * 6 07 01 01 05 08 01 | |
− | + | 32 * 7 00 08 01 01 11 08 08 | |
// minimum x0.5 | // 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 | // maximum x16 | ||
− | + | 39 * 7 00 08 01 01 2D 08 0C | |
// x8 | // x8 | ||
− | + | 40 * 6 07 02 01 05 0B 01 | |
− | + | 41 * 7 00 08 01 01 2D 08 0B | |
// x4 | // x4 | ||
− | + | 42 * 6 07 02 01 05 0A 01 | |
− | + | 43 * 7 00 08 01 01 2D 08 0A | |
// x2 | // x2 | ||
− | + | 44 * 6 07 02 01 05 09 01 | |
− | + | 45 * 7 00 08 01 01 2D 08 09 | |
// x1 | // x1 | ||
− | + | 46 * 6 07 02 01 05 08 01 | |
− | + | 47 * 7 00 08 01 01 2D 08 08 | |
// minimum x0.5 | // 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 | ||
</pre> | </pre> | ||
+ | [[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
- 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 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