Modding:Asset Type - Shapes: Difference between revisions
From Vintage Story Wiki
mNo edit summary |
(Marked this version for translation) |
||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
== Usage == | == Usage == <!--T:1--> | ||
'''Shape''' assets are used to define 3D models for other assets. Shape assets are written in JSON. | '''Shape''' assets are used to define 3D models for other assets. Shape assets are written in JSON. | ||
=== Asset Location === | === Asset Location === <!--T:2--> | ||
New shape assets can be made by creating JSON files in a folder called '<nowiki/>''shapes''<nowiki/>' in your mod's domain. Although not necessary, it is good-practice to split shapes into '<nowiki/>''block''<nowiki/>', ''<nowiki/>'item''<nowiki/>', and ''<nowiki/>'entity''' subfolders. | New shape assets can be made by creating JSON files in a folder called '<nowiki/>''shapes''<nowiki/>' in your mod's domain. Although not necessary, it is good-practice to split shapes into '<nowiki/>''block''<nowiki/>', ''<nowiki/>'item''<nowiki/>', and ''<nowiki/>'entity''' subfolders. | ||
=== Notes === | === Notes === <!--T:3--> | ||
Although shapes are written in JSON, it is highly recommended to use the official [https://github.com/anegostudios/vsmodelcreator/releases Vintage Story Model Creator] to create shape files. | Although shapes are written in JSON, it is highly recommended to use the official [https://github.com/anegostudios/vsmodelcreator/releases Vintage Story Model Creator] to create shape files. | ||
== See Also == | == See Also == <!--T:4--> | ||
<!--T:5--> | |||
* [https://github.com/anegostudios/vsapi/blob/cad83424ee89915ef206d0b23845af0a4ef72348/Common/Model/Shape/CompositeShape.cs CompositeShape on GitHub] | * [https://github.com/anegostudios/vsapi/blob/cad83424ee89915ef206d0b23845af0a4ef72348/Common/Model/Shape/CompositeShape.cs CompositeShape on GitHub] | ||
* [https://github.com/anegostudios/vsmodelcreator VSModelCreator] | * [https://github.com/anegostudios/vsmodelcreator VSModelCreator] |
Latest revision as of 12:42, 19 July 2024
Usage
Shape assets are used to define 3D models for other assets. Shape assets are written in JSON.
Asset Location
New shape assets can be made by creating JSON files in a folder called 'shapes' in your mod's domain. Although not necessary, it is good-practice to split shapes into 'block', 'item', and 'entity' subfolders.
Notes
Although shapes are written in JSON, it is highly recommended to use the official Vintage Story Model Creator to create shape files.
See Also
Content Modding | |||||||||
---|---|---|---|---|---|---|---|---|---|
Basics | Content Mods • Developing a Content Mod • Packaging & Release | ||||||||
Tutorials |
|
||||||||
Concepts | Modding Concepts • Modinfo • Variants • Domains • Patching • Remapping • World Properties | ||||||||
Moddable Assets |
|
||||||||
Uncategorized |
|
Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.
Modding | |
---|---|
Modding Introduction | Getting Started • Theme Pack |
Content Modding | Content Mods • Developing a Content Mod • Basic Tutorials • Intermediate Tutorials • Advanced Tutorials • Content Mod Concepts |
Code Modding | Code Mods • Setting up your Development Environment |
Property Overview | Item • Entity • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |