Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Question about custom raw files  (Read 768 times)

Erde

  • Bay Watcher
    • View Profile
Question about custom raw files
« on: September 11, 2014, 03:35:12 am »

I have seen mods with custom raw files for items for example. This seems like a good way to include new content that is easier to update for newer DF versions instaed of just inserting the content to vanilla game files.

However, what I do not know is that if DF loads all the files in the raw/objects folder or do I need to define these filenames in some file for them to be loaded?
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Question about custom raw files
« Reply #1 on: September 11, 2014, 03:40:35 am »

You can make new ones if you like, using the same naming scheme. creature_X.txt, inorganic_X.txt, and so on. First line should be the file name, followed by [OBJECT: tag of object you want to use, for example CREATURE or INORGANIC]

Then you can start adding objects to that file. Just look at the original files and you will figure it out. As long as you follow the same pattern, there will be no problems.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Erde

  • Bay Watcher
    • View Profile
Re: Question about custom raw files
« Reply #2 on: September 11, 2014, 04:00:53 am »

You can make new ones if you like, using the same naming scheme.
Thanks a bundle! This will save me a few headaches in future.
Logged