Bay 12 Games Forum

Please login or register.

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

Author Topic: [FPS Booster]State of Decay v.01  (Read 21525 times)

omniclasm

  • Bay Watcher
    • View Profile
[FPS Booster]State of Decay v.01
« on: May 16, 2015, 02:33:51 pm »

Collection of dfhack scripts that are somewhere between a "mod" and a "fps booster". Some of the scripts alter gameplay, potentially significantly, but none of them hinder gameplay as much as single digit FPS does. Fully modular, you can pick and choose which scripts you want or don't want.

Download: Here

Starving Dead
This was the original script, and probably has the least impact on vanilla gameplay. It mostly helps prevent undead cascades in the caverns. What is an undead cascade? An undead cascade is when a forgotten beast kills a (living) troglodyte, then the now reanimated troglodyte kills the forgotten beast, then they both proceed to kill every living thing in the cavern. Then every previously living thing reanimates. Then they kill every other living thing. Then those reanimate as well, and next thing you know, you have 300+ undead roaming the caverns and destroying your FPS.

So, how does this script prevent that? With this script running, all undead that have been on the map for a time (default: 1 month) start to gradually decay, losing strength, speed, and toughness. After they have been on the map for even longer (default: 3 months), they collapse upon themselves, never to be reanimated.

Usage:
starvingdead start

Deterioration Modules

These modules have a general concept of "use it or lose it". If something isn't being used, it quickly wears away until it no longer exists, freeing up some valuable FPS.

Corpses - In long running forts, especially evil biomes, you end up with a lot of toes, teeth, fingers, and limbs scattered all over the place. Various corpses from various sieges, stray kitten corpses, probably some heads. Basically, your map will look like a giant pile of assorted body parts, all of which individually eat up a small part of your FPS, which collectively eat up quite a bit.

In addition, this script also targets various butchery byproducts. Enjoying your thriving animal industry? Your FPS does not. Those thousands of skulls, bones, hooves, and wool eat up precious FPS that could be used to kill goblins and elves. Whose corpses will also get destroyed by the script to kill more goblins and elves.

This script causes all of those to rot away into nothing after several months.

Usage:
deterioratecorpses start
deterioratecorpses stop

Clothes - This script is fairly straight forward. All of those slightly worn wool shoes that dwarves scatter all over the place will deteriorate at a greatly increased rate, and eventually just crumble into nothing. As warm and fuzzy as a dining room full of used socks makes your dwarves feel, your FPS does not like it.

Usage:
deteriorateclothes start
deteriorateclothes stop

Food - This script is...pretty far reaching. However, almost all long running forts I've had end up sitting on thousands and thousands of food items. Several thousand cooked meals, three thousand plump helmets, and just as much fish and meat. It gets pretty absurd. And your FPS doesn't like it. With this script running, all food and plants wear out and disappear after several months. Barrels and stockpiles will keep them from rotting, but it won't keep them from decaying. No more sitting on a hundred years worth of food. No more keeping barrels of pig tails sitting around until you decide to use them. Either use it, eat it, or lose it. Seeds, are excluded from this, if you aren't planning on using your pig tails, hold onto the seeds for a rainy day.

Usage:
deterioratefood start
deterioratefood stop
« Last Edit: May 16, 2015, 10:49:20 pm by omniclasm »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: State of Decay v.01
« Reply #1 on: May 16, 2015, 10:06:02 pm »

I like it. :)

Maybe add something about FPS to the title, because I had to think of the zombie-related PC game first and thought this was a total-conversion mod.
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 :::

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: State of Decay v.01
« Reply #2 on: May 16, 2015, 10:41:22 pm »

I thought it's a zombie total conversion too. The mod is amazing, just make a better thread title for what this mod does if you don't mind, please :).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #3 on: May 26, 2015, 11:06:12 pm »

Sweet baby Armok.

On the food thing - I know quite a few modders, myself included, have expressed interest in something very similar to encourage the use of preservatives, be it smoking, salting, canning, whatever. Off the top of your head, do you think it would be straightforward to modify the deteriorate food script to ignore certain classes of food, or to reduce the rate of decay for certain classes of food?
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

DragonDePlatino

  • Bay Watcher
  • [HABIT:COLLECT_WEALTH]
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #4 on: May 27, 2015, 12:36:34 am »

Very interesting! It's a shame DF doesn't have these changes as an option in the d_init.txt. There are already other settings to improve FPS, and this would be incredibly useful if Toady implemented it. :U
« Last Edit: May 27, 2015, 12:40:38 am by DragonDePlatino »
Logged

Rogue Yun

  • Bay Watcher
  • Beware of the Carp
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #5 on: May 27, 2015, 03:03:33 am »

I'd do almost anything to increase framerate! This makes you one of my heroes!

But shouldn't this be linked with dfhack or at least the mod utilities forum instead? It might get missed here.
Logged

.:Simple Mood 16x16 ASCII:.
Keep it Simple. Keep it Safe.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [FPS Booster]State of Decay v.01
« Reply #6 on: May 27, 2015, 06:05:20 am »

I'm sure Expwnent can include these in the next dfhack release, and that Peridexis might be interested for the starterpack too.
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 :::

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #7 on: May 27, 2015, 03:45:29 pm »

Yeah, that is a very neat little thing you set up there which should be seen by more people.
Logged

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #8 on: May 28, 2015, 10:00:51 am »

.
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

scamtank

  • Bay Watcher
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #9 on: May 28, 2015, 11:49:31 am »

What happens to the targeted stuff, exactly? Refuse stockpiles, dumping orders or straight disappearance?
Logged

Featheredragon

  • Bay Watcher
  • If someone says they are sane, then they're crazy.
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #10 on: June 02, 2015, 01:08:52 pm »

Very clever. As well as tackling FPS (My 2002 XP loves you for this). This mod also exponentially increases realism. Well done sir, well done.
Logged

omniclasm

  • Bay Watcher
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #11 on: June 10, 2015, 03:12:13 am »

Thanks for the comments guys.

I kind of threw the scripts together in one night, trying to fix FPS problems I had with a fort I was running. I tried to make them either not affect gameplay, or affect gameplay in a way that was at least interesting.
Logged

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #12 on: June 12, 2015, 02:25:25 pm »

awesome. ptw

gopp

  • Bay Watcher
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #13 on: June 27, 2015, 02:37:23 am »

Would this work with dfhack 34.11 r5?
Logged

omniclasm

  • Bay Watcher
    • View Profile
Re: [FPS Booster]State of Decay v.01
« Reply #14 on: June 27, 2015, 07:28:10 am »

Would this work with dfhack 34.11 r5?

Without trying it, I'd say most likely. It overloads the wear system, and that's been in place for quite some time.
Logged
Pages: [1] 2 3