Modding:SoundConfig Property Type: Difference between revisions

From Vintage Story Wiki
m
no edit summary
(Created page.)
 
mNo edit summary
 
Line 3: Line 3:
__TOC__
__TOC__
=== Usage ===
=== Usage ===
The '''propertyname''' property type is a '''content-type/sub-type/enum-type/simple-type''' used to <usage>.  
The '''SoundConfig''' property type is a '''content-type''' used to create sound sets and modify default block sounds.  


<If Content-Type> PropertyName files must be created as "''path/to/propertytype.json''" in a mod's domain folder for them to be loaded.
Only one SoundConfig file is loaded in the game. To edit these values, a modder should patch the file located at "''survival/sounds/soundconfig.json".''


The script for propertyname can be found on GitHub.
The script for SoundConfig is currently not available on GitHub, but can be found at "''VintageStory.Client.NoObf.SoundConfig"'' in decompiled source code.
 
The script for propertyname is currently not available on GitHub, but can be found at "''namespace.of.property.Type"'' in decompiled source code.


=== Property Reference ===
=== Property Reference ===
Confirmedusers
556

edits