creategogl.blogg.se

Civ 6 wiki modding code
Civ 6 wiki modding code













  • You do not need to delete old saves simply create a new world using your modded files and things should run fine.
  • This way, if your game crashes (due to say, a typo that you can't find) you can simply copy-paste it back in for a 'vanilla' DF.
  • Always back up the default text files you plan on editing.
  • Most of the actual effects are hardcoded: for example, giving a creature such as a moose the creature token will make it only appear in evil maps, or giving it will make it chow down on bones.Ī few key things to remember when modding the text files: They are essentially attributes that you can add or remove or edit for any particular object in the game, that change the way the object works or acts. With a bit of know-how you can tinker with just about everything.Įvery text file uses what are called "tokens", also called "flags".

    civ 6 wiki modding code

    Simply open the text file, edit what you want, save and close, and generate a new world after you're done editing what you want.Įssentially, everything that can be modded uses text files to determine how they interact with the world or with other objects. For example, is a token in the entity text file, which determines what creatures are used for dwarven civilizations. When you are changing a token you can simply change the values - these are the numbers/strings after the : in a token entry. I personally find it easier just to edit the existing ones in a new \DF\ game folder. When you are modding your game, you can either change existing files or add your own. When you go into the \raw\objects folder you will see a wide variety of text files. Quite a lot is not hardcoded, so you can edit a wide variety of things in the game.Įditing the raw text files is easy and simple.

    civ 6 wiki modding code

    The raw folder contains two subfolders: graphics (where you insert graphic packs to make custom tiles), and objects, which contains all the data for generally everything in the game that is not hardcoded. Modding Guide Basics of DF modding Īll of the data you can edit are stored in the \raw\ folder wherever you saved your DF executable.

    civ 6 wiki modding code

    1.8 Example two: "Arachnid" playable creature.















    Civ 6 wiki modding code