mtr:4.0.x:content_developer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mtr:4.0.x:content_developer [2025/06/07 07:21] – Add concept for a train in MTR 4 AmberFrost | mtr:4.0.x:content_developer [2026/04/09 15:01] (current) – JS scripting (JCM impl) is no longer per-carriage. AmberFrost | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| * For MTR 4 loading legacy trains made for MTR 3, the MTR mod will try to detect and split your " | * For MTR 4 loading legacy trains made for MTR 3, the MTR mod will try to detect and split your " | ||
| * For the new MTR 4 format, you are suppose to define everything per-carriage instead of a single train. | * For the new MTR 4 format, you are suppose to define everything per-carriage instead of a single train. | ||
| - | * While JS scripting is not implemented yet, if and when it is implemented, | ||
| To reflect the different transport types supported in the MTR mod, **train** are now referred as **vehicle.** | To reflect the different transport types supported in the MTR mod, **train** are now referred as **vehicle.** | ||
| Line 26: | Line 25: | ||
| * Train which does not specify a valid '' | * Train which does not specify a valid '' | ||
| * When specifying built-in MTR barrier/ | * When specifying built-in MTR barrier/ | ||
| + | |||
| + | ==== Dual-versioned resources (MTR 3 Custom Resource + MTR 4 Custom Resource) ==== | ||
| + | |||
| + | MTR 4 supports reading **mtr_custom_resources.json** in both MTR 3 and MTR 4 format. | ||
| + | |||
| + | However during migration period, you may run into a situation where some content are migrated to MTR 4, while others are not, but you want to fit them in to the same resource pack. | ||
| + | |||
| + | To that, MTR 4 supports an alias called **mtr_custom_resources_pending_migration.json**, | ||
| + | |||
| + | This allows you to put MTR 3's custom resources into **mtr_custom_resources_pending_migration.json**, | ||
| ==== Custom Model Changes ==== | ==== Custom Model Changes ==== | ||
mtr/4.0.x/content_developer.1749280884.txt.gz · Last modified: 2025/06/07 07:21 by AmberFrost