Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding out annoyances  (Read 842 times)

Nomadic

  • Bay Watcher
    • View Profile
Modding out annoyances
« on: August 10, 2008, 03:19:40 am »

There are a couple things I would like to know how to get rid of. For one I would like to get rid of clothes and armor for invaders and clothes for dwarves (keeping armor). It just is getting ridiculous with me having to keep dwarves stay indoors on all the time (so instead they entrance dance and I lose 1-3 dwarves per ambush). This won't solve it of course because I have a creature die on the map I am on every couple seconds (and I can't turn off the corpses and bones for refuse piles obviously).

Anyhow the whole point is that modding out clothing and armor will decrease the number of items causing them to do this (making it a little easier to manage).
Logged

Golgath

  • Bay Watcher
    • View Profile
    • Avatar Source
Re: Modding out annoyances
« Reply #1 on: August 10, 2008, 04:03:19 am »

What you'll want to do is go into the entity_default file and delete all the clothing entries under all the civs you wish to send into the nude.  In this case, the goblins and dwarves.  Don't just go deleting everything though, make sure you're just taking out clothing.  Problem is, with entity modifications like this, you'll have to start a new game.  Or you could modify all the clothing materials to evaporate at room temperature or something, but I don't know all that much about that.
Logged
I fully endorse the idea of mountain goats that hunt man.

Nomadic

  • Bay Watcher
    • View Profile
Re: Modding out annoyances
« Reply #2 on: August 10, 2008, 05:14:59 pm »

Thanks I will give it a try. :)
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Modding out annoyances
« Reply #3 on: August 10, 2008, 05:18:33 pm »

What you'll want to do is go into the entity_default file and delete all the clothing entries under all the civs you wish to send into the nude.  In this case, the goblins and dwarves.  Don't just go deleting everything though, make sure you're just taking out clothing.  Problem is, with entity modifications like this, you'll have to start a new game.  Or you could modify all the clothing materials to evaporate at room temperature or something, but I don't know all that much about that.

Also delete the [CLOTHING] and [SUBTERRANEAN_CLOTHING] tags in the entity file.

P.S. you do not need to create a new world, just delete the object files in the data/objects file. However, this will only work some of the times as they do not tend to have their clothes just vanish. You only need to create a new world when you have added or removed something entirely, not just edited it. The exception to this is the init files.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modding out annoyances
« Reply #4 on: August 10, 2008, 06:21:50 pm »

I'm pretty sure that items avaliable for civs are generated during the world gen only (uniforms). So this change needs a new world then.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository