VTML
This page was last verified for Vintage Story version 1.19.
Vintagetext Markup Language (VTML), is a (obviously) completely novel and highly advanced markup language designed to display richly formatted text inside Vintage Story. These are often used to create more versatile handbook pages.
Tags
- <br>
Causes a line break - <i>text</i>
Causes the text to be in italic font - <strong>text</strong>
Causes the text to be in bold font - <a href="url">text</a>
Turns text into a clickable link. You can link to websites (http://), handbook pages (handbook://pagecode), search results in the handbook (handbooksearch://text_in_your_language) or trigger hotkeys (hotkey://code) - <font size="num" color="hexcolor" weight="bold" lineheight="1.2" align="right" opacity="0.5">text</font>
Formats the text by given properties, all properties are optional - <hk>command</hk> or <hotkey>command</hotkey>
Display the actual current mapping of the "command" key, e.g <hk>sprint</hk> displays the current key used to activate the sprint in your game.
Icons
<icon name="[icon name]"></icon>
Draws a symbol, selected from a list of predefined, hardcoded symbols, which can be used when modifying the Handbook or any other rich text in the game. These icons can be scaled and coloured by adding the appropriate commands.
Normal Icons
These icons are used in World Edit, for the equipment slots and for the tutorial.
- <icon name=dice></icon>
Adds a dice icon - <icon name=paintbrush></icon>
Adds a paintbrush icon - <icon name=raiselower></icon>
Adds a terraforming icon - <icon name=airbrush></icon>
Adds an airbrush icon - <icon name=erode></icon>
Adds an erosion icon - <br><icon name=move></icon>
Adds an arrow icon - <icon name=import></icon>
Adds an import icon - <icon name=eraser></icon>
Adds an eraser icon - <icon name=growshrink></icon>
Adds a size changing icon - <icon name=line></icon>
Adds a line icon - <br><icon name=lake></icon>
Adds a water icon - <icon name=floodfill></icon>
Adds an overflowing bucket icon - <icon name=tree></icon>
Adds a tree icon - <icon name=undo></icon>
Adds an undo icon - <icon name=redo></icon>
Adds a redo icon - <br><icon name=copy></icon>
Adds a copy icon - <icon name=select></icon>
Adds a select icon - <icon name=repeat></icon>
Adds a repeat icon - <icon name=trousers></icon>
Adds a trouser icon - <icon name=gloves></icon>
Adds a glove icon - <br><icon name=hat></icon>
Adds a hat icon - <icon name=shirt></icon>
Adds a shirt icon - <icon name=boots></icon>
Adds a boot icon - <icon name=basket></icon>
Adds a basket icon - <icon name=cape></icon>
Adds a cape icon - <br><icon name=ring></icon>
Adds a ring icon - <icon name=medal></icon>
Adds a medal icon - <icon name=belt></icon>
Adds a belt icon - <icon name=necklace></icon>
Adds a necklace icon - <icon name=pullover></icon>
Adds a pullover icon - <br><icon name=mask></icon>
Adds a mask icon - <icon name=bracers></icon>
Adds a bracer icon - <icon name=handheld></icon>
Adds an icon of a hand holding a tool - <icon name=left></icon>
Adds an icon of an arrow pointing left - <icon name=right></icon>
Adds an icon of an arrow pointing right - <icon name=offhand></icon>
Adds an icon of a left empty hand - <icon name=leftmousebutton></icon>
Adds an icon of a mouse with highlighted left button - <icon name=rightmousebutton></icon>
Adds an icon of a mouse with highlighted right button
Waypoint Icons
These are the icons that are already used for the waypoints and map images ingame.
- <icon name=wpCircle></icon>
Adds an icon of a circle - <icon name=wpTurnip></icon>
Adds an icon of a turnip - <icon name=wpGrain></icon>
Adds an icon of grain - <icon name=wpApple></icon>
Adds an icon of an apple - <icon name=wpBerries></icon>
Adds an icon of berries - <icon name=wpMushroom></icon>
Adds an icon of a mushroom - <icon name=wpBee></icon>
Adds an icon of a bee - <icon name=wpCave></icon>
Adds an icon of a mountain - <icon name=wpGear></icon>
Adds an icon of a gear - <icon name=wpGravestone></icon>
Adds an icon of a gravestone - <icon name=wpHome></icon>
Adds an icon of a house - <icon name=wpLadder></icon>
Adds an icon of a ladder out of a hole - <icon name=wpPick></icon>
Adds an icon of a pickaxe - <icon name=wpRocks></icon>
Adds an icon of rocks - <icon name=wpRuins></icon>
Adds an icon of a ruin - <icon name=wpSkull_and_crossbones></icon>
Adds a skull and crossbones icon - <icon name=wpSpiral></icon>
Adds an icon of a spiral - <icon name=wpStar1></icon>
Adds an icon of a four point star - <icon name=wpStar2></icon>
Adds an icon of a five point star - <icon name=wpTrader></icon>
Adds an icon of a trader's caravan - <icon name=wpTree></icon>
Adds an icon of an evergreen tree - <icon name=wpTree2></icon>
Adds an icon of a deciduous tree - <icon name=wpVessel></icon>
Adds an icon of a vessel - <icon name=wpX></icon>
Adds an icon of an X - <icon name=wpCross></icon>
Adds an icon of a cross
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 • Entity Behaviors • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • Collectible 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 |
Wiki Navigation | |
---|---|
Vintage Story | Guides • Frequently Asked Questions • Soundtrack • Versions • Controls |
Game systems | Crafting • Knapping • Clay forming • Smithing • Cooking • Temperature • Hunger • Mining • Temporal stability • Mechanical power • Trading • Farming • Animal husbandry |
World | World generation • Biomes • Weather • Temporal storms |
Items | Tools • Weapons • Armor • Clothing • Bags • Materials • Food |
Blocks | Terrain • Plants • Decorative • Lighting • Functional • Ore |
Entities | Hostile entities • Animals • NPCs • Players |
Miscellaneous | List of client commands • List of server commands • Creative Starter Guide • Bot System • WorldEdit • Cinematic Camera • Adjustable FPS Video Recording • ServerBlockTicking |