Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]

Author Topic: no animal men  (Read 4252 times)

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: no animal men
« Reply #30 on: June 27, 2012, 11:53:54 pm »

   [CV_NEW_TAG:FANCIFUL]
   [CV_NEW_TAG:DOES_NOT_EXIST]
   [CV_REMOVE_TAG:BIOME]

these are the magic tags
Logged

Tierre

  • Bay Watcher
    • View Profile
Re: no animal men
« Reply #31 on: June 28, 2012, 03:36:09 am »

[CV_REMOVE_TAG:BIOME] This will remove all the biome tags at once? Well that's cool to know:) And i just thought how to do it right:) Thanks Hugo.
Logged

Noodz

  • Bay Watcher
    • View Profile
Re: no animal men
« Reply #32 on: June 28, 2012, 07:14:52 am »

   [CV_NEW_TAG:FANCIFUL]
   [CV_NEW_TAG:DOES_NOT_EXIST]
   [CV_REMOVE_TAG:BIOME]

these are the magic tags

Question: will placing these 3 new tags remove all traces of animal person altogether? I hate it when they don't appear, but some random dwarf can still like "sperm whale man teeth". So i manually edited all raw entries contaning the tag APPLY_CREATURE_VARIATION:ANIMAL_PERSON
Logged

Tierre

  • Bay Watcher
    • View Profile
Re: no animal men
« Reply #33 on: June 28, 2012, 07:27:31 am »

It will delete all traces of them except in engravings. But no dwarf will ever want anything made from their teeth or leather.
Logged

GenericOverusedName

  • Bay Watcher
    • View Profile
Re: no animal men
« Reply #34 on: July 04, 2012, 04:50:03 pm »

If you want to outright delete all of the *MAN entries from the files, I've been using the following regex to help me find them quickly:

Code: [Select]
\[CREATURE:.*?[\x20|_]MAN\]\r\n(?:\t+\x20*?(?:\[.*?\])+\r\n)+
Any text editor with regular expressions should be able to use that to parse through the files. Watch out, it'll pick out the subterranean animalmen, blizzardmen, bloodmen, and plump helmet men. If you want to keep those, then don't edit the creature_subterranean , creature_standard or creature_next_underground files.

It will also only work so long as the raws still have the same format as the vanilla ones, with tabs and spacing used the same way.
Logged
Pages: 1 2 [3]