Bay 12 Games Forum

Dwarf Fortress => DF Adventure Mode Discussion => Topic started by: BrosephStalin on November 14, 2012, 06:18:44 am

Title: "Cheating" in adventure mode?
Post by: BrosephStalin on November 14, 2012, 06:18:44 am
Is there any program or anything that allows you to edit your adventurer's inventory and skills/attributes? I would really like to go on an adventure of total death that inspires future fortresses to make engravings about. I've tried searching the forums and google but couldn't seem to find anything, so any help would be appreciated.
Title: Re: "Cheating" in adventure mode?
Post by: Rumrusher on November 14, 2012, 06:55:03 am
Have you look at the modding section and dive through a thread called dfhack?
Title: Re: "Cheating" in adventure mode?
Post by: BrosephStalin on November 14, 2012, 08:12:10 am
Have you look at the modding section and dive through a thread called dfhack?

Yes, that was one of the first things I looked through. I didn't see much for adventure mode though.
Title: Re: "Cheating" in adventure mode?
Post by: Rumrusher on November 14, 2012, 09:17:48 am
Have you look at the modding section and dive through a thread called dfhack?

Yes, that was one of the first things I looked through. I didn't see much for adventure mode though.
that's because any fort mode content could be used in adventure mode if it's pertains to units.
though dfusion is a boon for Adventure mode commands.
Title: Re: "Cheating" in adventure mode?
Post by: BrosephStalin on November 14, 2012, 09:19:02 am
Well could you tell me what DFhack command I might use to change attribute points in adventure mode? I would be extremely grateful
Title: Re: "Cheating" in adventure mode?
Post by: Rumrusher on November 14, 2012, 11:52:57 am
well there isn't one that does that... there a script you can get that buffs your character...
or you could just use the GM (http://www.bay12forums.com/smf/index.php?topic=91166.msg3790375#msg3790375)-editor script warmist has in his Github folder
Title: Re: "Cheating" in adventure mode?
Post by: Pirate Bob on November 14, 2012, 05:33:23 pm
You could also create a custom version of your race of choice which has [NATURAL_SKILL:XXX:16], where XXX is the skill, or mess with [PHYS_ATT_RANGE:XXX...].  See the wiki page on cheating (http://dwarffortresswiki.org/index.php/DF2012:Cheating) for more details.  Modding the race of course would require you to start a new character (and possibly also gen a new world?) so this may not be what you had in mind. 

If you want to have just your adventurer be modded, but not other members of the race, you could make a caste (http://dwarffortresswiki.org/index.php/Caste) which is ultra-rare (by adjusting the POP_RATIO tag), and then select this caste when you play adventure mode (by giving it a different name and cycling through the gender until you select the rare caste).

Also, if you just want to be invincible and kill everything, you could try playing as an adamantine colossus (http://www.bay12forums.com/smf/index.php?topic=117327.15), or Chuck Norris (http://www.bay12forums.com/smf/index.php?topic=118511.45)...
Title: Re: "Cheating" in adventure mode?
Post by: random_odd_guy on November 14, 2012, 06:19:52 pm
Hahahahhaha, I'm going to be forever known as the guy who made the DF equivilant of cheat codes, aren't I? (somehow, I am okay with this)
Title: Re: "Cheating" in adventure mode?
Post by: dermal_plating on November 26, 2012, 04:06:29 am
I've also been looking into this lately due to adventure modes default "nightmare" difficulty level. You can boost attributes and skills using Cheat Engine to memory hack the amount of points you can spend during character creation. Download Cheat Engine, do the first couple of tutorials, then you'll be right to make your Hercules dorf. You can use it to edit fort mode character creation too which is very handy. Pretty sure you need to use the 4-byte option in adventure and 2-byte for fort mode, but it could be vice versa. But it's not as complicated as it sounds, don't be scared.

I'm currently marauding with my all legendary skills and superdwarvenly strong dorf built using this method. Whats funny is even when maxed out like this with all steel armour I still die every now and then, I got murdered by a troll in a 1v1 recently. Would love to find a way to edit starting inventory to fill it with adamantine goodness, perhaps we can continue to look into this and build on cheating techniques.
Title: Re: "Cheating" in adventure mode?
Post by: Babylon on November 26, 2012, 06:28:35 am
well, it'd take a minute, but you could embark, cheat in adamantine for the soil layer, cheat your weapon and armorsmith's to insane skill levels, make the gear, then start your adventurer nearby. 
Title: Re: "Cheating" in adventure mode?
Post by: itisnotlogical on November 26, 2012, 07:00:54 am
You can make animal men that shoot fireballs/breath fire like the fire imp, by copy-pasting the relevent sections from the fire imp's RAWs. Then make them playable by adding the [ADVENTURE_TIER] tag as well. Humans, dwarves, elves and wildlife will not be able to stand up to your might, but hope to Armok that you don't encounter any more of your kind.
Title: Re: "Cheating" in adventure mode?
Post by: dermal_plating on November 26, 2012, 08:26:00 am
Copied from the wiki:

Easy Adamantine

To get free adamantine wafers, add this to your reaction_smelter.

[REACTION:FREE_ADAMANTINE_WAFERS]
[NAME:create adamantine wafers]
[BUILDING:SMELTER:NONE]
[PRODUCT:100:10:BAR:NO_SUBTYPE:INORGANIC:ADAMANTINE][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

For adamantine thread it would be:

[REACTION:FREE_ADAMANTINE_THREAD]
[NAME:create adamantine thread]
[BUILDING:SMELTER:NONE]
[PRODUCT:100:1:THREAD:NO_SUBTYPE:INORGANIC:ADAMANTINE][PRODUCT_DIMENSION:15000]
[SKILL:SMELT]

One thing I want to know is how I can make my starting dwarves legendary so I can churn out masterwork arms/armor for my adventurer to scavenge. Obviously the starting ability level is capped at proficient(?), not sure if theres a way to change this with memory hacking.

Additionally does anyone know how you can modify starting items for adventurers? This would be easier than forging the weapons manually, but seems like something that might be hardcoded into the game.
(
Title: Re: "Cheating" in adventure mode?
Post by: TKGP on November 26, 2012, 09:12:54 am
Additionally does anyone know how you can modify starting items for adventurers? This would be easier than forging the weapons manually, but seems like something that might be hardcoded into the game.
dfhack has the "changeitem" command, which lets you change the material and quality of any item. Then you just need to get your hands on one of each armor type and a nice weapon, really. Though I've only used it in fortress mode, you'd have to check to make sure it works in adventure mode as well.
Title: Re: "Cheating" in adventure mode?
Post by: dermal_plating on November 26, 2012, 11:42:17 am
Additionally does anyone know how you can modify starting items for adventurers? This would be easier than forging the weapons manually, but seems like something that might be hardcoded into the game.
dfhack has the "changeitem" command, which lets you change the material and quality of any item. Then you just need to get your hands on one of each armor type and a nice weapon, really. Though I've only used it in fortress mode, you'd have to check to make sure it works in adventure mode as well.

Thanks TKPG. This works like a charm. You just need to make sure you drop the item, highlight it with the "k" function and use the "here" option in the dfhack command line.
Title: Re: "Cheating" in adventure mode?
Post by: TheZoomZoll on November 26, 2012, 12:42:44 pm
You can "Cheat" in many way's.
For skills you could use "Cheat Engine".Google it.
For items as suggested you can use DFHack scripts.
For attributes you'd have to use cheat engine at the start of creating an adventurer and changing the points you get to use to whatever(this also works on skills when you start the character's designation)
There are many,many other options,but there are some easy ones.
Title: Re: "Cheating" in adventure mode?
Post by: Rumrusher on November 26, 2012, 01:12:00 pm
You can do literally everything in Dfhack. Gm-editor even allows for skills and attribute manipulation if you use dfhack.gui.getcurviewscreen() while making your character and find the two vectors that control the points for both. shoot I even remember someone making a morul script (http://dwarffortresswiki.org/index.php/Utility:DFusion#How_to) that will give all legendary skills.
you can even revive yourself using dfhack if you fiddle around with the wound mechanics and flip off the dead flag.
Title: Re: "Cheating" in adventure mode?
Post by: dermal_plating on November 26, 2012, 11:58:01 pm
Been playing with dfhack. Used it to impregnate a follower who immediately gave birth to a baby. Then used it to force recruit the infant into my party. The baby actually outlived that group of followers and even managed to bite a stork to death. He was only just recently killed in a kobold ambush. Me and the one remaining press ganged human gave him a soldiers farewell before leaving his corpse to freeze in the snow.
Title: Re: "Cheating" in adventure mode?
Post by: Tirion on November 27, 2012, 04:22:18 am
Been playing with dfhack. Used it to impregnate a follower who immediately gave birth to a baby. Then used it to force recruit the infant into my party. The baby actually outlived that group of followers and even managed to bite a stork to death. He was only just recently killed in a kobold ambush. Me and the one remaining press ganged human gave him a soldiers farewell before leaving his corpse to freeze in the snow.

For some reason, I find the idea of a baby biting a stork to death bloody hilarious.
Title: Re: "Cheating" in adventure mode?
Post by: itisnotlogical on November 27, 2012, 06:37:58 am
Been playing with dfhack. Used it to impregnate a follower who immediately gave birth to a baby. Then used it to force recruit the infant into my party. The baby actually outlived that group of followers and even managed to bite a stork to death. He was only just recently killed in a kobold ambush. Me and the one remaining press ganged human gave him a soldiers farewell before leaving his corpse to freeze in the snow.

For some reason, I find the idea of a baby biting a stork to death bloody hilarious.

Dwarven babies aren't brought by the stork. They bring a dead stork to prove themselves Dwarven enough.
Title: Re: "Cheating" in adventure mode?
Post by: GoombaGeek on November 29, 2012, 09:29:46 am
Slade colossi perform much better than adamantine colossi in my experience.