Modding:Basic Modding Examples: Difference between revisions
From Vintage Story Wiki
m (typo fix) |
(→Playing around with blocks: Improved formatting) |
||
Line 101: | Line 101: | ||
You can tweak, add, or remove almost any block you want, including their shape. Inside the assets folder: | 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> |