Modding:Content Tutorial Simple Block: Difference between revisions

From Vintage Story Wiki
m
Minor formatting.
m (Minor formatting...)
m (Minor formatting.)
Line 110: Line 110:
}
}
}
}
</syntaxhighlight>The ''sounds'' property is rather self-explanatory, but it is important to notice that you prefix the file locations with "''game:''". This is because the sound files are located within the base game, and are not added by your mod. Here, we are just assigning sounds for ''place'' and ''walk.'' The most common types of sound for blocks are ''place'', ''walk'', ''break'', and ''hit.''
</syntaxhighlight>The ''sounds'' property is rather self-explanatory, but it is important to notice that you prefix the file locations with "''game:''". This is because the sound files are located within the base game, and are not added by your mod. Here, you are just assigning sounds for ''place'' and ''walk.'' The most common types of sound for blocks are ''place'', ''walk'', ''break'', and ''hit.''


== Renaming the Block ==
== Renaming the Block ==
Confirmedusers
618

edits