Modding:Asset Type - Textures: Difference between revisions

From Vintage Story Wiki
(Page creation.)
 
(Marked this version for translation)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
== Usage ==
== Usage == <!--T:1-->
'''Sound''' assets are audio files that can be played within the game. Sounds assets must be in .ogg format.   
'''Texture''' assets are bitmap image files that can be used in game. Texture assets must be in .png format.   


=== Asset Location ===
<!--T:2-->
Sound assets can be used in game by adding .ogg files to a folder called 'sounds' in your mod's domain.
'''Icon''' assets are vector image files that can be used in the UI. Icon assets must be in .svg format. 


=== Asset Location === <!--T:3-->
Texture and icon assets can be used by adding .png or .svg files respectively to a folder called '''textures''<nowiki/>' in your mod's domain.
=== Notes === <!--T:4-->
Icon assets are usually coded within the game. Icons can currently only be added to '''textures/icons/worldmap''<nowiki/>' without the use of a code mod.
== See Also == <!--T:5-->
<!--T:6-->
* [https://github.com/anegostudios/vsapi/blob/cad83424ee89915ef206d0b23845af0a4ef72348/Client/Texture/CompositeTexture.cs CompositeTexture on GitHub] - Used to load a texture through a JSON asset.
</translate>
</translate>
{{Navbox/contentmodding}}
{{Navbox/contentmodding}}

Latest revision as of 12:43, 19 July 2024

Other languages:
  • English

Usage

Texture assets are bitmap image files that can be used in game. Texture assets must be in .png format.

Icon assets are vector image files that can be used in the UI. Icon assets must be in .svg format.

Asset Location

Texture and icon assets can be used by adding .png or .svg files respectively to a folder called 'textures' in your mod's domain.

Notes

Icon assets are usually coded within the game. Icons can currently only be added to 'textures/icons/worldmap' without the use of a code mod.

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
Icon Sign.png

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 ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository