Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: War-trainable everything!  (Read 1262 times)

Magnumcannon

  • Bay Watcher
  • Deep waters don't run still
    • View Profile
War-trainable everything!
« on: July 10, 2015, 01:09:50 pm »

I want to make every single animal in Dwarf Fortress war trainable, but i'm just too lazy for adding the [TRAINABLE] and [TRAINABLE_WAR] tags in every single of them. Does anyone here have a raw where they're all set to be war trainable? I will be grateful.
Logged

Liber celi

  • Bay Watcher
  • council does your hair
    • View Profile
Re: War-trainable everything!
« Reply #1 on: July 10, 2015, 01:37:36 pm »

Try this one; I didn't extensively test it though, so be warned.

Here's how I did it:

-download, unpack fresh df
-copy all the creature RAW files into a folder
-open one of the RAW files in notepad++
-find & replace [TRAINABLE], [TRAINABLE_WAR] and [TRAINABLE_HUNTING] with nothing to avoid possible duplication issues.
-[TRAINABLE] implies [TRAINABLE_WAR], so we only need the former
-Every creature has one name token, so lets replace "[NAME:" with "[TRAINABLE][NAME:" for all files in the folder.
-A short test run worked and displayed domestic animals as trainable both for war and hunt
Logged

Magnumcannon

  • Bay Watcher
  • Deep waters don't run still
    • View Profile
Re: War-trainable everything!
« Reply #2 on: July 10, 2015, 02:15:18 pm »

Try this one; I didn't extensively test it though, so be warned.

Here's how I did it:

-download, unpack fresh df
-copy all the creature RAW files into a folder
-open one of the RAW files in notepad++
-find & replace [TRAINABLE], [TRAINABLE_WAR] and [TRAINABLE_HUNTING] with nothing to avoid possible duplication issues.
-[TRAINABLE] implies [TRAINABLE_WAR], so we only need the former
-Every creature has one name token, so lets replace "[NAME:" with "[TRAINABLE][NAME:" for all files in the folder.
-A short test run worked and displayed domestic animals as trainable both for war and hunt

Thank you so much
Logged