Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Minimod : Solving the problem with the giant mosquitoes.  (Read 2894 times)

Naryar

  • Bay Watcher
  • [SPHERE:VERMIN][LIKES_FIGHTING]
    • View Profile
Minimod : Solving the problem with the giant mosquitoes.
« on: February 15, 2012, 01:43:41 pm »

So I see plenty of people who have hundreds of giant mosquitoes on their map, and not only they kill everything, they destroy FPS.

Problem is that here is the original giant mosquito TXT (in creature_bug_slug_new)

[CREATURE:GIANT_MOSQUITO]
   [COPY_TAGS_FROM:MOSQUITO]
   [APPLY_CREATURE_VARIATION:GIANT]
   [CV_REMOVE_TAG:CHANGE_BODY_SIZE_PERC]
   [APPLY_CURRENT_CREATURE_VARIATION]
   [GO_TO_END]
   [SELECT_CASTE:ALL]
   [CHANGE_BODY_SIZE_PERC:20000700]
   [GO_TO_START]
   [NAME:giant mosquito:giant mosquitos:giant mosquito]
   [CASTE_NAME:giant mosquito:giant mosquitos:giant mosquito]
   [DESCRIPTION:A huge monster in the shape of a mosquito.]
   [POPULATION_NUMBER:15:30]
   [CLUSTER_NUMBER:1:1]
   [CREATURE_TILE:'M']
   [COLOR:0:0:1]
   [PET_EXOTIC]
   [PETVALUE:500]
   [MOUNT]
   [GO_TO_END]
   [PREFSTRING:high-pitched buzz]
   [PREFSTRING:ability to feast on blood]

Note the CLUSTER_NUMBER. The giant mosquito should appear alone, not by the hundreds.

CLUSTER_NUMBER of the mosquito is however 100:200. And there is no CV_REMOVE_TAG to remove the original cluster number, so the actual cluster number of the giant mosquito is 100:200, hence giant swarms of deadly mosquitoes when they should appear one at a time.

If you add [CV_REMOVE_TAG:CLUSTER_NUMBER] after the other CV_REMOVE_TAG, the new cluster number should work. No more ridiculously large swarms of giant mosquitoes ! (you'll probably need to recreate a world)

Cobbler89

  • Bay Watcher
  • Cobbler cancels celebrate Caesar: mending soles
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #1 on: February 15, 2012, 10:21:42 pm »

I actually kinda liked the swarms of giant mosquitos, but then, I haven't tried a large embark yet and that's probably the only reason they didn't kill my fps. Now if they never flew back off the edge of the map, they'd be a nuisance. Nonetheless, your finding strongly suggests this is a bug -- they have a tag to limit their quantity far below what we're seeing, but it doesn't come into play because of the absence of another tag. If you haven't already, I recommend putting it on the bug tracker with your explanation and fix, so that Toady can look at it and, if he confirms it's a bug, get the fix put into one of the next minor releases.

Personally, I'd like to either have a few dozen giant mosquitos at once (maybe up to fifty instead of up to 200), or else have them consistently tag team with swarms of regular-sized mosquitos.

And I want to know what's the real difference between a giant mosquito and a mosquito man. The former should be more intelligent, I'd expect, but I haven't noticed them behaving differently from other beasts.
Logged
Quote from: Mr S
You've struck embedded links. Praise the data miners!
Quote from: Strong Bad
The magma is seeping under the door.

Quote from: offspring
Quote from: Cobbler89
I have an idea. Let's play a game where you win by being as quiet as possible.
I get it, it's one of those games where losing is fun!
I spend most of your dimension's time outside of your dimension. I can't guarantee followup or followthrough on any comments, ideas, or plans.

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #2 on: February 15, 2012, 10:34:31 pm »

You can't butcher mosquito men.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

darkflagrance

  • Bay Watcher
  • Carry on, carry on
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #3 on: February 15, 2012, 11:11:12 pm »

In addition to the FPS load of 100+ pathing wild monsters, the Giant Mosquitoes' FLIER tag exponentially increases their pathfinding burden; deleting that may potentially help the FPS of those who wish to continue dealing with the Giant Mosquitoes in their current numbers but with more FPS.
Logged
...as if nothing really matters...
   
The Legend of Tholtig Cryptbrain: 8000 dead elves and a cyclops

Tired of going decades without goblin sieges? Try The Fortress Defense Mod

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #4 on: February 15, 2012, 11:14:17 pm »

Out of curiosity are there any other creatures that have this problem?
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Naryar

  • Bay Watcher
  • [SPHERE:VERMIN][LIKES_FIGHTING]
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #5 on: February 16, 2012, 01:31:35 am »

I personally have set the CLUSTER_NUMBER of the giant mosquito to 10:20.

weulitus

  • Bay Watcher
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #6 on: February 16, 2012, 05:46:35 am »

I personally have set the CLUSTER_NUMBER of the giant mosquito to 10:20.

Do I have to add [CV_REMOVE_TAG:CLUSTER_NUMBER] and then set the new CLUSTER_NUMBER or will adding a line with CLUSTER_NUMBER just overwrite the copied setting?
Logged
"You'll be pausing to check what that little ~ means every 5 seconds for a while, but before you know it you'll be reading a screenshot of Dwarf Fortress like the guys in the Matrix decipher that green crap that scrolls down their screens."
quoted from Dr.Jonez on the Gamerswithjobs Forum

Naryar

  • Bay Watcher
  • [SPHERE:VERMIN][LIKES_FIGHTING]
    • View Profile
Re: Minimod : Solving the problem with the giant mosquitoes.
« Reply #7 on: February 16, 2012, 05:49:28 am »

First solution. At least that's what I'm convinced of.