v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing Utility:Stonesense/Adding Content
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
=Basics= | =Basics= | ||
===Creating Distributable Content Files=== | ===Creating Distributable Content Files=== | ||
− | The default way of distributing content for [[Stonesense]] is to create an archive of the XML configs and the image files. Upload this archive together with a description to the [[ | + | The default way of distributing content for [[Stonesense]] is to create an archive of the XML configs and the image files. Upload this archive together with a description to the [[Stonesense Content Repository]] page, in much the same way tilesets and graphic packs are distributed for Dwarf Fortress, see the [[Tileset repository]] for reference. |
Keep in mind that users installing your content pack will need to place the files in the correct content folder (creatures buildings, etc) and add the XML files to their index.txt file. | Keep in mind that users installing your content pack will need to place the files in the correct content folder (creatures buildings, etc) and add the XML files to their index.txt file. | ||
Line 55: | Line 54: | ||
==Creature XML files== | ==Creature XML files== | ||
− | |||
− | |||
===Simple configuration=== | ===Simple configuration=== | ||
Line 109: | Line 106: | ||
===Creature Genders=== | ===Creature Genders=== | ||
Each <variant> node can be extended with a ''sex'' attribute to add an additional condition for creature gender. | Each <variant> node can be extended with a ''sex'' attribute to add an additional condition for creature gender. | ||
− | For most races. | + | For most races. dwarfs included, the attribute can have one of two values, "M" for male or "F" for female. However, if the creature has more than two castes, a number must be used, starting from "1", and continuing in order that the castes are listed in the rawfile. |
Again a simple example would be beneficial: | Again a simple example would be beneficial: | ||
<pre> | <pre> | ||
Line 268: | Line 265: | ||
</pre> | </pre> | ||
... will still select for dead saplings. | ... will still select for dead saplings. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Stonesense]] | [[Category:Stonesense]] |