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 [2024/11/24 16:39] – ↷ Page moved from playground:mtr4_info:content_developer to mtr:4.0.x:content_developer lx862 | mtr:4.0.x:content_developer [2025/04/04 07:40] (current) – Add custom destination CJK ratio remarks lx862 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== MTR 4 for Custom Content/ | ||
+ | |||
+ | This page documents some of the migration steps needed when loading MTR 3 custom content in MTR 4. | ||
+ | |||
+ | ==== Javascript Scripting ==== | ||
+ | |||
+ | JS Scripting from the [[mtr_addon: | ||
+ | |||
+ | ==== mtr_custom_resources.json Changes ==== | ||
+ | |||
+ | * Train which uses a '' | ||
+ | * Train which does not specify a valid '' | ||
+ | * When specifying built-in MTR barrier/ | ||
+ | |||
+ | ==== Custom Model Changes ==== | ||
+ | |||
+ | * **Custom Destination' | ||
+ | * Previously, **-2.0** means English is bigger than Chinese, **0.0** for equal weight, **2.0** means Chinese is bigger than english | ||
+ | * In MTR 4, this is changed to represent the scale CJK characters are rendered at: | ||
+ | * Non-CJK characters always takes up a weight of **1.0** | ||
+ | * For example, assume we have the text '' | ||
+ | * If CJK Ratio is **2.5**, this would mean '' | ||
+ | * If CJK Ratio is **0.1**, this would mean '' | ||
+ | |||
mtr/4.0.x/content_developer.1732466378.txt.gz · Last modified: 2024/11/24 16:39 by lx862