|
ID Type | Purpose |
Vehicle ID | A generic vehicle/station/building slot whose properties can be defined using an Action 0. A Cargo ID can be associated with this using Action 3. |
set ID (called cargo ID for vehicles) | A ID asociated with one or more Spritesets using an Action 2. Can be asociated with a Vehicle ID using Action 3. |
Spriteset | A value unique to each Action 1. Defines a set of 8/4 views i.e. a set of sprites. Is in an action 2 |
GRFID | A word value used to differentiate between different grf files. This should be globally unique! |
ID 类型 | 目的 |
运输工具 ID | 通过使用脚本0来定义运输工具/站台/建筑的统一接口。货物ID通过使用脚本3来产生联系 |
固定ID (运输货物类型的ID) | 一个ID通过使用脚本2来与一个或多个sprites产生联系。通过使用脚本3来与运输工具的ID产生联系。 |
Spriteset | 对应脚本1中的一个唯一值 A value unique to each Action 1. Defines a set of 8/4 views i.e. a set of sprites. Is in an action 2 |
GRFID | 一个唯一值用来区别不同的grf文件。 |
"TW" 03 05
54 57 03 05
你也可以将缩写字母以十六进制的方式表达。如果你不熟悉十六进制,你可以使用转换器来帮助你。只需要输入你的字母,点击转换就可以了。这个结构很复杂,所以很少人用,但结果是一样的。Code | Meaning |
01 | Action 1 |
00 | Feature 0, meaning trains |
01 | One set of graphics |
08 | Each set has eight views |
代码 | 意义 |
01 | 脚本1 |
00 | 特征 0, 代表火车 |
01 | 一个系列的图片 |
08 | 每个系列有8个视角 |
Codes | Meaning |
02 | Action 2 |
00 | Feature 00, meaning trains |
00 | We define Cargo ID 0 (the first number available) |
01 | There is only one set of graphics we have while in motion |
01 | And also only one set while loading |
00 00 | Use the first set while in motion |
00 00 | And also while loading/unloading |
代码 | 含义 |
02 | 脚本2 |
00 | 特征00 ,代表火车 |
00 | 我们定义货物 ID 0 (第一个可用的数字) |
01 | 在运行中,我们只有一个系列的图形 |
01 | 在装载时也只有一个系列的图形 |
00 00 | 在运行中,使用第一个系列 |
00 00 | 在装/卸载中也使用第一个系列 |
代码 | 含义 |
03 | 脚本 3 |
00 | 特征 00, 代表火车 |
01 | 对一个运输工具附加以下图片 |
16 | 运输工具的 ID是 16 (十六进制) |
00 | 没有定义特殊的货物图形 |
00 00 | 在任何情况下都使用货物ID为0 |
Code | Meaning |
00 | Action 0 |
00 | Feature 0, meaning trains |
01 | We set one property |
01 | For one vehicle |
16 | Starting at vehicle 16 |
12 | We set property 12 (sprite type) |
FD | And we set it to FD |
代码 | 含义 |
00 | 脚本0 |
00 | 特征0, 代表火车 |
01 | 定义一个属性 |
01 | 对一个运输工具 |
16 | 从运输工具ID 16开始 |
12 | 设置属性12 (sprite 类型) |
FD | 属性参数设置为 FD |
Element | Size | Description |
<Sprite-number> | dec | A sequential sprite number |
<Length> | dec | The total number of bytes in the action |
00 | B | Action type. In this case, 00 |
<Feature> | B | Which type of feature you would like to change |
<Num-props> | B | How many properties you would like to change per vehicle or station |
<Num-info> | B | How many vehicles/stations you would like to change |
<Id> | B* | The ID of the first vehicle/station to change |
<Property> | B | What property to change for each vehicle/station |
<New-info> | V | The new value of the property |
代码 | 数据类型 | 描述 |
<Sprite-number> | dec | sprite编号 |
<Length> | dec | 在这个脚本的数据总量 |
00 | B | 在本例中,定义为脚本0 |
<Feature> | B | 你想要修改哪类特征 |
<Num-props> | B | 你想要修改一个站台/运输工具的多少个属性 |
<Num-info> | B | 你想要修改多少个站台/运输工具 |
<Id> | B* | 第一个要修改的站台/运输工具的ID |
<Property> | B | 每个站台/运输工具的哪一个属性需要修改 |
<New-info> | V | 修改后的属性值 |
Number | Version | Size | Description |
00 | W | date of introduction | |
02 | B | reliability decay speed | |
03 | B | vehicle life in years | |
04 | B | model life in years | |
06 | B | climate availability | |
07 | 2 | B | load amount |
序号 | 版本 | 大小 | 描述 |
00 | W | 引入日期(感觉像是提前通知的试用时间) | |
02 | B | 可靠性的衰减速度 | |
03 | B | 寿命 | |
04 | B | (好像是制造日期) | |
06 | B | 适用的气候类型 | |
07 | 2 | B | 装载量 |
Phase | Duration | Reliability | |
1 | 7 to 38 months | increases from 48-73% to 75-100% | |
2 | prop. 04 less 8 years | stays constant at peak, 75-100% | |
3 | 10 to 20.5 years | decreases from peak to 25-50% |
阶段 | 持续时间 | 可靠性 | |
1 | 7 -38月 | 由 48-73% 增加到 75-100% | |
2 | 4- 8年 | 保持在 75-100% | |
3 | 10 -20.5年 | 衰减到 25-50% |
Bit | Value | Climate | |
0 | 1 | Temperate | |
1 | 2 | Arctic | |
2 | 4 | Tropical | |
3 | 8 | Toyland |
位 | 值 | 气候 | |
0 | 1 | 温带 | |
1 | 2 | 寒带 | |
2 | 4 | 沙漠 | |
3 | 8 | 玩具 |
欢迎光临 OpenTTD中文论坛 -Openttd运输大亨中文论坛 (http://openttd.imotor.com/) | Powered by Discuz! 7.2 |