Confirmedusers, Bureaucrats, editor, Administrators
1,779
edits
m (typo fix) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
A large amount of game content is freely modifiable through editing text files. If you feel like tinkering around, just open your assets folder. To locate it under windows, hit Winkey+R in Windows then paste in this line %appdata%/Vintagestory/assets and hit enter. | A large amount of game content is freely modifiable through editing text files. If you feel like tinkering around, just open your assets folder. To locate it under windows, hit Winkey+R in Windows then paste in this line %appdata%/Vintagestory/assets and hit enter. | ||
Line 6: | Line 8: | ||
In earlier versions of the game you need to manually check out the log files in %appdata%/VintageStoryData/Logs/server-main.txt and client-main.txt | In earlier versions of the game you need to manually check out the log files in %appdata%/VintageStoryData/Logs/server-main.txt and client-main.txt | ||
</pre> | </pre> | ||
== Keep your contents upon death == | |||
Open the file <code>assets/game/entities/humanoid/player.json</code>, find the line that begins with <code>server: {</code>, below that insert <code>attributes: { keepContents: true },</code> | |||
This should prevent the player from dropping its inventory upon death. | |||
== Enable microblock chiseling in survival mode == | |||
Open the file <code>assets/survival/itemtypes/tool/chisel.json</code>, find the line that writes <code>microBlockChiseling: false,</code>, and set the value to <code>true</code> | |||
This will make it so that you can right click on most solid blocks with a chisel in hands to convert the block into a chisel-able one. Left click with a chisel to remove voxels and right click to add a voxel. | |||
== Changing sleep duration in beds == | == Changing sleep duration in beds == | ||
Line 100: | Line 114: | ||
== Playing around with blocks == | == Playing around with blocks == | ||
You can tweak, add or remove almost any block you want, | You can tweak, add, or remove almost any block you want, including their shape. Inside the assets folder: | ||
* The blocks themselves are all in the subfolder blocktypes | |||
* The block textures in textures/blocks | |||
* The shapes of the blocks are in blockshapes/ -- these you can open up with our custom model creator | |||
For example, let's make the fire pit emit a red light and huge particles: | |||
<ul> | <ul> | ||
<li>Open up blocktypes/wood/generic/firepit.json. There you can see the following line:<br> | <li>Open up blocktypes/wood/generic/firepit.json. There you can see the following line:<br> |