Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Vermin reduction for improved FPS?  (Read 980 times)

Thundercraft

  • Bay Watcher
    • View Profile
Vermin reduction for improved FPS?
« on: May 26, 2016, 06:49:40 am »

I've been thinking of putting together a mod and I had a thought: Would drastically reducing the numbers and variety of vermin have a measurable impact on FPS?

With few exceptions, vermin are too small to butcher and most don't produce anything useful. Dwarves can't engage in combat with them, either. So, what's the point? Merely for the sake of added realism?

Actually, I can appreciate the purpose of certain vermin for extracts or dwarven milk. I can even appreciate simulating rats and a few others with [VERMIN_EATER] and/or [VERMIN_ROTTER] to give cats and falcons a reason for existing and to give animal traps purpose. But beyond those...? Why simulate bluejays, cardinals, blackbirds, fireflies, damselflies, dragonflies and such if all they do is potentially have a negative impact on FPS?

This topic talks about how FPS has gotten worse in recent versions:

I decided to open up some old 34.11 fortresses and compare...
[snip]
...I had 150 dwarves + 60 or so livestock and the game was still chugging along at 100 FPS.
Now my current 42.06 forts are barely reaching 60 FPS by the time we get to 110 dwarves and 60 livestock. And that's when I'm not looking at surface trees...

And it's well known that the number of animals has an impact on FPS, so... (I guess this calls for experimentation. But I'm lazy and I thought I'd ask first.)

For that matter, I've also considered removing some of the larger creatures which also serve as fluff. For example, what is the point of having Merpersons? They are completely benign and intelligent. Further, they can not be made a pet, can not be butchered, and their parts are not worth much (anymore). Ergo, they seem quite pointless - merely another potential FPS sink.

Even if removing such "fluff" creatures does not measurably help FPS, I have to wonder if it would at least result in more of the far more interesting and useful creatures in a given area or embark zone.
« Last Edit: May 26, 2016, 07:22:53 am by Thundercraft »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Vermin reduction for improved FPS?
« Reply #1 on: May 26, 2016, 09:56:54 am »

No. vermin teleport randomly, they dont pathfind like normal creatures.
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 :::

Witty

  • Bay Watcher
    • View Profile
Re: Vermin reduction for improved FPS?
« Reply #2 on: May 26, 2016, 02:59:43 pm »

I'm wondering if making trees smaller so there's less greenage that needs to be updated for seasons and such would alleviate some of the new forest lag.
Logged
Quote from: Toady One
I understand that it is disappointing when a dwarf makes a spiked loincloth instead of an axe.

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Vermin reduction for improved FPS?
« Reply #3 on: May 26, 2016, 08:51:39 pm »

No. vermin teleport randomly, they dont pathfind like normal creatures.
However those little buggers can have just as many bodypart and coloration traits as a citizen.  Just trimming them down to simple coloration (like the insects) might help.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map