Difference between revisions of "Xml editing"

From 7 Days to Die Wiki
Jump to: navigation, search
(Much needed spelling/grammar cleanup and rewording for clarity)
Tag: Visual edit
(Linked to the Notepad++ site)
Tag: Visual edit
 
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
All of the items and entities of the game are defined in XML files. How much damage they do, what you can do with them, how they are named, their behavior etc. Editing these is pretty simple and can be done in any text editor, although Notepad++ is recommended as it is freeware and very simple to use.<br />
+
All of the items and entities of the game are defined in XML files. How much damage they do, what you can do with them, how they are named, their behavior etc. Editing these is pretty simple and can be done in any text editor, although [https://notepad-plus-plus.org/ Notepad++] is recommended as it is freeware and very simple to use.<br />
 
However, doing this incorrectly can result in errors, game crashes, or simple unexpected item behavior in the game. To prevent this and give a little help to everyone trying to alter their gameplay to their wishes, this section provides some explanations to the attributes in the XML files.<br />
 
However, doing this incorrectly can result in errors, game crashes, or simple unexpected item behavior in the game. To prevent this and give a little help to everyone trying to alter their gameplay to their wishes, this section provides some explanations to the attributes in the XML files.<br />
 
It is recommended to backup the XMLs and edit copies, not the originals, in case something goes wrong. Alternatively one can usually download the latest XMLs [http://7d2d.rocks/xml-defaults.php here].<br /><br />
 
It is recommended to backup the XMLs and edit copies, not the originals, in case something goes wrong. Alternatively one can usually download the latest XMLs [http://7d2d.rocks/xml-defaults.php here].<br /><br />

Latest revision as of 21:57, 19 April 2020

Some items' or groups' chance to drop changes according to the player's gamestage. Here you can see those values for any gamestage you want using the little box below. Just type the gamestage you want in the box and press the Apply!-button. The values should change immediately, if the chance is different.

Current game stage: 1

Introduction[edit | edit source]

All of the items and entities of the game are defined in XML files. How much damage they do, what you can do with them, how they are named, their behavior etc. Editing these is pretty simple and can be done in any text editor, although Notepad++ is recommended as it is freeware and very simple to use.
However, doing this incorrectly can result in errors, game crashes, or simple unexpected item behavior in the game. To prevent this and give a little help to everyone trying to alter their gameplay to their wishes, this section provides some explanations to the attributes in the XML files.
It is recommended to backup the XMLs and edit copies, not the originals, in case something goes wrong. Alternatively one can usually download the latest XMLs here.

XMLs related to items
XMLs related to the game world
XMLs related to spawning, looting and behavior of NPCs
XMLs related to the gameplay