Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A Whole Nude World....  (Read 1072 times)

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
A Whole Nude World....
« on: April 16, 2010, 12:10:21 am »

Greetings.  I'm here because I suffer severe game slowdown around the point of 60 dwarves or more.  Now that we know that at least part of it is because of items, I'd like to see if any modders could help me out.

As much as the idea of naked dwarves running around makes me reach for the brain bleach, I'd like to remove all non-armor clothing from the game so that no immigrants wear any and no merchants or invaders bring any.  I don't know how to do that on my own; if someone could explain how, or could provide appropriate files, I'd appreciate it.

I also know that this'll probably make my dwarves more vulnerable to assault from enemies.  I've seen reports...one titan didn't manage to hit a single civilian with its breath attack because their clothes blocked every shot.  No, this'll be very bad for the dwarves, but possibly good for my frame rate.
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Lagotrope

  • Bay Watcher
    • View Profile
Re: A Whole Nude World....
« Reply #1 on: April 16, 2010, 12:21:44 am »

Most entities have entries for the kinds of clothes, they follow something like

Spoiler (click to show/hide)

You can take off what you like from those non-armor things like shirts and pants for each entity entry in entity_default.

I'm not sure if this next one will work, but if you want to go extreme you can go to the creature_default raws and take off the [EQUIPS] tag for the species you like, but that would include equiping armor.
« Last Edit: April 16, 2010, 12:23:17 am by Lagotrope »
Logged

The13thRonin

  • Bay Watcher
  • Profession: Handsome Rogue
    • View Profile
Re: A Whole Nude World....
« Reply #2 on: April 16, 2010, 01:18:05 am »

I don't know if that will speed up the game that much, perhaps wait for the merge with the graphics code?
Logged
I'm Digging Deeper... AGAIN... You Should Too!

Dig Deeper DIAMOND - 750+ items of new content including; new plants, new creatures, new metals, new woods, new gems, new stones, new crafts and much, much more.

Goran

  • Bay Watcher
    • View Profile
Re: A Whole Nude World....
« Reply #3 on: April 16, 2010, 01:32:32 am »

It worked in 40d

I did this in 40d and got massive speed-up.

Just delete the entries from entity definition for items you do not want to use from the list lagotrope posted.
Logged

Odd!x

  • Bay Watcher
  • Escaped Lunatic
    • View Profile
Re: A Whole Nude World....
« Reply #4 on: April 16, 2010, 02:33:16 am »

there will probably still be the problem of the clothes made of thread/leather after you make it so you no longer get clothes coming into the map.  You'll have to magically boil all of it away by fiddling with the [BOILING_POINT:xxx] tag and prepare for a sudden (but temporary) cloud of gaseous clothing.
Logged
We are who we are, depending on who we were.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: A Whole Nude World....
« Reply #5 on: April 16, 2010, 03:31:10 am »

How will you make it if it's not in the entity file?

There will be no way to make them.

The only problem is that your dwarves will be extremely prone to cold and piercing attacks (and bites of animals), other than that it's ok.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: A Whole Nude World....
« Reply #6 on: April 16, 2010, 04:00:31 am »

How will you make it if it's not in the entity file?

There will be no way to make them.

The only problem is that your dwarves will be extremely prone to cold and piercing attacks (and bites of animals), other than that it's ok.

This makes them stronger:

          [SELECT_TISSUE:SKIN]
                  [INSULATION:1000]
          [SELECT_TISSUE:FAT]
                  [INSULATION:1000]
          [SELECT_TISSUE:MUSCLE]
                  [INSULATION:1000]
Logged
Finis sanctificat media.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: A Whole Nude World....
« Reply #7 on: April 16, 2010, 04:18:54 am »

Yeah, good find. Better than modding original materials.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository