Bay 12 Games Forum

Please login or register.

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

Author Topic: How to fast travel through Dark Pits/Fortresses  (Read 6283 times)

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: How to fast travel through Dark Pits/Fortresses
« Reply #15 on: March 16, 2015, 06:20:32 pm »

Thank you guys, i never used DFHack this way, but after giving a try ... it works !

For those unfamiliar with it, here's a simple how to :

- Generate your world with whatever parameter you want.

- Go to the Legends and once loaded, press the key  "p" to export the map/gen informations into text files.
Once those text files are created, look for the
regionnumber-whatevernumbers-world_sites_and_pops.txt

this file is listing all the sites and their populations.
Now on my world i have an elven retreat with a silly amount of elven populations
Code: [Select]
34: Leloula, "Spokengrowls", forest retreat
Owner: The Tame Berry, elves
Parent Civ: The Morning of Stability, elves
3229 elves
4 humans
145 lorikeets
223 snails
2 donkeys
1650 lions
1650 jaguars
1650 tigers
215 white-browed gibbons
2 one-humped camels
220 bats
Note the number before the site name, in that case 34.

Now in the DFHack window , type what Rumrusher mentionned
Code: [Select]
gui/gm-editor df.global.world.world_data.sites[k]
but instead of [k] , use the number you found in the text file, but minus 1 as Max™ pointed, so for my case, 34-1 = 33 , so in the DFHack window i type
Code: [Select]
gui/gm-editor df.global.world.world_data.sites[33]
In the main DF window, it will change the Game Master editor (the gm editor)


With your keyboard arrows, move to the "inhabitant" section i pointed in that screenshot and press Enter
You'll have a short list appearing, press enter at the first one, see if the "count" is very high, and if yes press Enter and type a more reasonnable number, there by example i had 1655 and typed instead 88

Once you're finished with all the entries, press Escape until you're out of the gm editor.

Now export again the map/gen informations and tada , your overpopulated monstruously laggy site will become much less of a problem
Code: [Select]
34: Leloula, "Spokengrowls", forest retreat
Owner: The Tame Berry, elves
Parent Civ: The Morning of Stability, elves
126 elves
4 humans
145 lorikeets
223 snails
2 donkeys
1650 lions
1650 jaguars
1650 tigers
215 white-browed gibbons
2 one-humped camels
220 bats[code]

You can edit of course more than the inhabitants and get rid of animals and etc if you wish

Thank you  lot Rumrusher and Max™
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: How to fast travel through Dark Pits/Fortresses
« Reply #16 on: March 16, 2015, 06:28:59 pm »

Once again though, be careful with that because you can and will find yourself standing there going "wait, wasn't there a fortress here a second ago?" if you start getting careless with what you poke at.
Logged

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: How to fast travel through Dark Pits/Fortresses
« Reply #17 on: March 16, 2015, 07:37:57 pm »

If that is the price to pay for having all the sites of a world playable and not just a few of them, i believe it's an acceptable one.
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: How to fast travel through Dark Pits/Fortresses
« Reply #18 on: March 16, 2015, 09:17:25 pm »

Worth noting I've had pretty good results from the combo of removing likes_site:dark_fortress, use_evil_animals, no_eat, and no_drink from gobs. Got a world generated which only had three fortresses with over 1k gobs (1337, 1357, 1663), no trolls (which is no loss with them either being passive or just braining goblins) and the two sites which do have prisoners are in the 100~300 pop range, one of them being a pit instead of a fortress even.
Logged
Pages: 1 [2]