ja:mtr:adding_custom_resources
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ja:mtr:adding_custom_resources [2024/10/13 05:41] – 作成 asama_tk85 | ja:mtr:adding_custom_resources [2024/10/14 07:28] (current) – 「Model Properties file」以降の翻訳を実施。 asama_tk85 | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| ==== 既存の列車のテクスチャバリエーションを追加する ==== | ==== 既存の列車のテクスチャバリエーションを追加する ==== | ||
| - | テクスチャのバリエーション(リテクスチャ)を追加するには、'' | + | テクスチャのバリエーション(リテクスチャ)を追加するには、'' |
| < | < | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 46: | Line 64: | ||
| | `bve_sound_base_id` | 文字列 | BVEサウンドのIDを指定する。デフォルトの列車IDか、sounds.jsonで定義されたものを指定する。BVEサウンドの定義方法については [こちら](https:// | | `bve_sound_base_id` | 文字列 | BVEサウンドのIDを指定する。デフォルトの列車IDか、sounds.jsonで定義されたものを指定する。BVEサウンドの定義方法については [こちら](https:// | ||
| - | An example is shown below. | + | 以下に例を示す。 |
| ``` | ``` | ||
| Line 61: | Line 79: | ||
| ``` | ``` | ||
| - | ## Adding New Railway Sign Textures or Text | + | ## 鉄道標識の新しいテクスチャやテキストの追加 |
| - | To add new [railway signs](https:// | + | [鉄道標識](https:// |
| - | | Key | Data Type | Description | + | | キー |
| | --- | --- | --- | --- | | | --- | --- | --- | --- | | ||
| - | | `texture_id` | String | + | | `texture_id` | 文字列 |
| - | | `flip_texture` | Boolean | + | | `flip_texture` | ブーリアン型 |
| - | | `custom_text` | String | + | | `custom_text` | 文字列 |
| - | | `flip_custom_text` | Boolean | + | | `flip_custom_text` | ブーリアン型 |
| - | | `small` | Boolean | + | | `small` | ブーリアン型 |
| - | | `background_color` | String | + | | `background_color` | 文字列 |
| - | An example is shown below. | + | 以下に例を示す。 |
| - | ``` | + | ``` |
| { | { | ||
| " | " | ||
| Line 88: | Line 106: | ||
| } | } | ||
| } | } | ||
| - | } | + | } |
| - | ``` | + | ``` |
| ## Model Properties file | ## Model Properties file | ||
| Line 108: | Line 126: | ||
| - | The Model Properties file can be edited by the Resource Pack Creator or directly in a text editor, for example. | ||
| - | ### basis | + | |
| - | | Key | Data Type | Description | + | |
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | モデルプロパティファイルは、リソースパックエディタを使用して自動生成させる方法と、テキストエディタ等で直接編集する方法があります。 | ||
| + | |||
| + | ### 基本情報 | ||
| + | | キー | ||
| | --- | --- | --- | --- | | | --- | --- | --- | --- | | ||
| - | | `transport_mode` | String | + | | `transport_mode` | 文字列 |
| - | | `length` | Number | + | | `length` | 数列 |
| - | | `width` | Number | + | | `width` | 数列 |
| - | | `door_max` | String | + | | `door_max` | 文字列 |
| - | ### `part` | + | ### `パーツ(部品)` |
| - | | Key | Data Type | Description | + | | キー |
| | --- | --- | --- | --- | | | --- | --- | --- | --- | | ||
| - | | `name` | String | + | | `name` | 文字列 |
| - | | `stage` | String | + | | `stage` | 文字列 |
| - | | `mirror` | Boolean | + | | `mirror` | ブーリアン型 |
| - | | `skip_rendering_if_too_far` | Boolean | + | | `skip_rendering_if_too_far` | ブーリアン型 |
| - | ## Verifying the Resource Pack | + | ## リソースパックの確認 |
| - | Use a [JSON validator](https:// | + | JSONファイルの構文エラー等のチェックは、[JSON validator](https:// |
| - | The resource pack (zip file) can be installed either clientside or as a server resource pack. If installed as a server resource pack, all players joining the server will be able to see the new additions after accepting the server resource pack. | + | リソースパック(zipファイル)は、クライアントまたはサーバーリソースパックとしてインストールする。サーバーリソースパックとしてインストールした場合、サーバーに参加する全プレイヤーがリソースパックを導入することで、リソースパック内の要素が表示されるようになる。 |
| - | [Download the example resource pack](https:// | + | [リソースパックの例](https:// |
| </ | </ | ||
ja/mtr/adding_custom_resources.1728798115.txt.gz · Last modified: 2024/10/13 05:41 by asama_tk85