mtr_addon:nte:objschem
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
mtr_addon:nte:objschem [2023/06/28 12:59] – Fixed the mistakes between 'texture' and 'material', optimized more contents. jonathanqwq | mtr_addon:nte:objschem [2024/02/05 02:43] (current) – jonathanqwq | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
- | # OBJ model related adaptation | + | |
+ | |||
+ | |||
+ | |||
+ | # OBJ Importation Guide | ||
NTE makes adding trains based on OBJ models through resource packs come true. | NTE makes adding trains based on OBJ models through resource packs come true. | ||
Line 6: | Line 10: | ||
# # Basic Format | # # Basic Format | ||
- | When importing the OBJ train model via NTE, it is written in the mtr_custom_resources.json | + | When importing the OBJ train model via NTE, the writing in ```mtr_custom_resources.json``` has no different in using BBMODEL |
```json | ```json | ||
Line 23: | Line 27: | ||
- `model`: Fill in the location of the OBJ file. Remember to use `mtrsteamloco: | - `model`: Fill in the location of the OBJ file. Remember to use `mtrsteamloco: | ||
- | - `model_properties`: | + | - `model_properties`: |
- | - `texture_id`: | + | - `texture_id`: |
- | The OBJ file you use should meet the following requirements: | + | The OBJ file you use should meet the following requirements: |
- | </ | ||
- | <WRAP center round tip 60%> | ||
- | Tip: All file names need to be all lowercase. File names can only be a-z, 0-9, `-`, `_`. | + | Tip: All file names need to be all lowercase. File names can only include |
- | </ | ||
- | < | + | # # Sample File |
- | ## Sample File | + | |
- | A sample resource | + | A sample resource |
- | ## Components | + | # # Components |
- | There can be ** group ** information in OBJ files. For example,the train door and body are in different groups, | + | There' |
- | Groups in the OBJ model will be automatically parsed and can then be used in the model properties file. This is the same as the use of components | + | Groups in the OBJ model will be automatically parsed and can then be used in the model properties file. This is the same as the use of groups |
- | </ | + | |
+ | Tip: Only OBJ grouping (`g`) instructions are supported, object (`o`) instructions are not supported. If the model exported by your modeling software has a line beginning with "o " (with a space after o), please replace it with "g " (with a space after g). | ||
- | <WRAP center round tip 60%> | ||
- | Tip: Only OBJ grouping (`g`) instructions are supported, not object (`o`) instructions. If the model exported by your modeling software has a line beginning with "o " (with a space after o), please replace it with "g " (with a space after g). | ||
- | </ | ||
- | < | ||
# # Model Properties | # # Model Properties | ||
- | MTR has a ** model attribute | + | MTR has a ** model properties |
- | You can edit the model properties file using the ** Resource | + | You can edit the model properties file using the ** Resource |
- | You can see the OBJ model you uploaded and the parts it contains. You can select any part to create animated doors, and so on. You may find that your OBJ model is white without any maps. This is normal. NTE does not load maps in the Resource | + | You can see the OBJ model you uploaded and the parts it contains. You can select any part to create animated doors, and so on. You may find that your OBJ model is white without any maps. This is normal. NTE does not load texture |
** Please merge the parts in advance, such as merging all the immovable parts into one. The more parts, the worse the performance. ** | ** Please merge the parts in advance, such as merging all the immovable parts into one. The more parts, the worse the performance. ** | ||
After editing, please select any image as the texture file in the options, and then click " | After editing, please select any image as the texture file in the options, and then click " | ||
+ | |||
+ | Tip: The resource bundle exported here can only be used to obtain the model properties file. It is incomplete and cannot be used in Minecraft. | ||
</ | </ | ||
- | <WRAP center round tip 60%> | ||
- | Tip: The resource bundle exported here can only be used to obtain the model properties file. It is incomplete and cannot | + | <WRAP center round important 60%> |
+ | |||
+ | The following texts are translated by google. Wait to be optimized. | ||
</ | </ | ||
+ | |||
< | < | ||
+ | |||
+ | |||
+ | |||
# # Maps | # # Maps | ||
Line 90: | Line 94: | ||
</ | </ | ||
- | <WRAP center round important 60%> | ||
- | The following texts are translated by google. Wait to be optimized. | ||
- | |||
- | </ | ||
< | < | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
- If there ** is ** an " | - If there ** is ** an " | ||
mtr_addon/nte/objschem.1687957175.txt.gz · Last modified: 2023/06/28 12:59 by jonathanqwq