1/31/2024 0 Comments Mindustry mods githubcontent/zones/ for zones, configuration of campaign ntent/units/ for flying or ground units, like reaper and ntent/liquids/ for liquids, like water and ntent/mechs/ for mechs, like tau and ntent/blocks/ for blocks, like turrets and ntent/items/ for items, like copper and surge-alloy.Inside of content/ you have subdirectories for the various kinds of content, these are the current common ones: Note that your filenames should be lowercased and hyphen separated:Īt the root of your project directory you can have a content/ directory, and this is where all the Json/Hjson data goes. content/items/metals/iron.hjson, which would respectively create an item named iron.The filenames of these files is important, because the stem name of your path (filename without the extension) is used to reference it.įurthermore the files within theseb content//* directories may be arbitrarly nested into other sub-directories of any name, to help you organize them further, for example: Note that each one of these subdirectories needs a specific content type. ![]() The content of these files will tend to look something like this:Īll you need to make sprites, is an image editor that supports transparency (aka: not paint). Sprites can simply be dropped in the sprites/ subdirectory.īlock sprites should be 32 * size, so a 2x2 block would require a 64圆4 image. The content parser will look through it recursively, so you can organize them how ever you feel.Ĭontent is going to look for sprites relative to it's own name. ![]() ![]() content/blocks/my-hail.json has the name my-hail and similarly sprites/my-hail.png has the name my-hail, so it'll be used by this content.Ĭontent may look for multiple sprites. My-hail could be a turret, and it could look for the suffix -heat and what this means is it'll look for my-hail-heat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |