Difference between revisions of "Tutorials/Beginners/Simple cube/3. How to configure cube as map asset model"
< Tutorials | Beginners | Simple cube
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
| '''3''' | | '''3''' | ||
| IMG | | IMG | ||
− | | | + | | Open the '''model.tutorials.sii''' file and add this basic definition. |
+ | |||
+ | <pre> | ||
+ | SiiNunit | ||
+ | { | ||
+ | # For modders: Please do not modify this file if you want to add a new entry. Create in | ||
+ | # this directory a new file "<base_name>.<idofyourmod>.sii" where <base_name> is name of | ||
+ | # base file without the extension (e.g. "city" for "/def/city.sii") and <idofyourmod> is | ||
+ | # some string which is unlikely to conflict with other mod. | ||
+ | # | ||
+ | # Warning: Even if the units are specified in more than one source file, they share the | ||
+ | # same namespace so suffixes or prefixes should be used to avoid conflicts. | ||
+ | |||
+ | model_def : model.name { | ||
+ | model_desc: "model_path" | ||
+ | } | ||
+ | } | ||
+ | </pre> | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
| '''4''' | | '''4''' |