Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Is it possible to mod starting dwarf numbers  (Read 673 times)

tilly

  • Bay Watcher
    • View Profile
Is it possible to mod starting dwarf numbers
« on: April 01, 2012, 10:10:48 pm »

As the topic states, is it possible to only start with one dwarf?
Turn off seiges?
Stop immagrants from appearing at all?
Logged

NecroRebel

  • Bay Watcher
    • View Profile
Re: Is it possible to mod starting dwarf numbers
« Reply #1 on: April 01, 2012, 10:36:11 pm »

No.
Yes.
No.

More specifically...

It isn't possible, without heavy memory editing, to alter the number of dwarves you start with. IIRC, the DFusion module in the DFHack memory editing tool library allows this, though I'm not entirely certain how.

If you were to edit your dwarf fortress folder/data/init/d_init.txt on the line where it says [INVADERS:YES] so that it said NO instead, you'd never get any sieges, ambushes, or most other form of hostile attack.

Two migrant waves will arrive regardless of all else. If your population when the dwarf caravan leaves the map is less than the POPULATION_CAP setting in d_init.txt, no additional migrants will come until the cap is increased or your reported population drops.
Logged
A Better Magma Pump Stack: For all your high-FPS surface-level magma installation needs!

beefsupreme

  • Bay Watcher
    • View Profile
Re: Is it possible to mod starting dwarf numbers
« Reply #2 on: April 01, 2012, 10:38:44 pm »

Try killing 6 of the 7 starters. Get one guy stacked with skills and 6 peasants, and kill them with a cave-in, magma, starvation, etc. Use your imagination.
Logged

zombie urist

  • Bay Watcher
  • [NOT_LIVING]
    • View Profile
Re: Is it possible to mod starting dwarf numbers
« Reply #3 on: April 01, 2012, 11:48:39 pm »

I remember there was a utility that did this...
Logged
The worst part of all of this is that Shakerag won.

Tarran

  • Bay Watcher
  • Kind of back, but for how long?!
    • View Profile
Re: Is it possible to mod starting dwarf numbers
« Reply #4 on: April 01, 2012, 11:52:02 pm »

I remember there was a utility that did this...
DFusion. Now part of DFhack. Not sure on it's current state now, but last time I checked it was not updated.



Aside from that, I remember a hex edit that you can do to the executable of Dwarf Fortress to change the number of dwarves. And it definitely worked based on my experience. Though I'm not in the mood to look it up.
Logged
Quote from: Phantom
Unknown to most but the insane and the mystics, Tarran is actually Earth itself, as Earth is sentient like that planet in Avatar. Originally Earth used names such as Terra on the internet, but to protect it's identity it changed letters, now becoming the Tarran you know today.
Quote from: Ze Spy
Tarran has the "Tarran Bug", a bug which causes the affected character to repeatedly hit teammates while dual-wielding instead of whatever the hell he is shooting at.

Vanaheimer

  • Bay Watcher
    • View Profile
Re: Is it possible to mod starting dwarf numbers
« Reply #5 on: April 02, 2012, 12:06:26 am »

I remember there was a utility that did this...
DFusion. Now part of DFhack. Not sure on it's current state now, but last time I checked it was not updated.



Aside from that, I remember a hex edit that you can do to the executable of Dwarf Fortress to change the number of dwarves. And it definitely worked based on my experience. Though I'm not in the mood to look it up.
DFusion works with DFhack now. I've been using it with the newest version of LFR.
Logged