Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help getting adamantine gear in Adventure mode.  (Read 10313 times)

Connll

  • Escaped Lunatic
    • View Profile
Help getting adamantine gear in Adventure mode.
« on: April 20, 2014, 10:28:35 pm »

Hey guys, I got DF in the last 3 days, and I am trying to play in the Adventure mode (I tried fortress mode and couldnīt do shit there).

However, I have been trying to survive, with dismal results (usually I die to freak accidents like an arrow piercing my iron greaves/boots and breaking my leg bones, or, in the last death, a farmer vampire hit my head with a cooper knife and destroyed my brain thorught the +Iron helmet+)

After taking 20+ beating, I would like to do some actual slaughtering for a while... and I discovered that as a human you canīt have gear better than Iron, so... Could anyone show me a cheat to outfit my character in Adamantine gear? Tried to find something in the internet and nothing worked.

P.S: I know next to nothing of programming or how to dabble with the gameīs files. If you could give me the "for dummies" version, I would be grateful.

Thanks in advance.
Logged

neblime

  • Bay Watcher
  • More GG more skill
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #1 on: April 20, 2014, 10:55:33 pm »

First I would say fortress mode is plenty of fun, if you're having trouble figuring out what to do, have you looked at any tutorials?
like this one for example

But anyway, I don't know much about it but I believe you can use DFhack to do things like that (found in the lazy newb pack)
but I've never used it myself so I couldn't tell you how
Logged
http://i.imgur.com/Gv6I6JO.png
I am quite looking forward to the next 20 or 30 years or so of developmental madness

Connll

  • Escaped Lunatic
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #2 on: April 20, 2014, 11:22:52 pm »

First I would say fortress mode is plenty of fun, if you're having trouble figuring out what to do, have you looked at any tutorials?
like this one for example

But anyway, I don't know much about it but I believe you can use DFhack to do things like that (found in the lazy newb pack)
but I've never used it myself so I couldn't tell you how

I have the lazy newb ack, and apparently it doensīt allow you to cheat in the adventure mode... at least not to edit your adventurer gear.
Logged

neblime

  • Bay Watcher
  • More GG more skill
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #3 on: April 20, 2014, 11:26:41 pm »

Really? I thought there was a "create item" command or something like that.  Well i'm at a bit of a loss then, but you can easily mod in a reaction to pick up some dirt or something and turn it into adamantine equipment.  If that's what you want to do let me know and I can do the raws for you and post them here
Logged
http://i.imgur.com/Gv6I6JO.png
I am quite looking forward to the next 20 or 30 years or so of developmental madness

Connll

  • Escaped Lunatic
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #4 on: April 20, 2014, 11:51:48 pm »

Really? I thought there was a "create item" command or something like that.  Well i'm at a bit of a loss then, but you can easily mod in a reaction to pick up some dirt or something and turn it into adamantine equipment.  If that's what you want to do let me know and I can do the raws for you and post them here

certainly.

Also, I would ask you to give me instructions as if you were talking to a 5-year old, for I know very little about meddling with the game files/console commands/etc.
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #5 on: April 21, 2014, 12:22:10 am »

I think you misunderstand. DFHack is the cheat. It's a multipurpose tool that does a variety of other things as well.

To use DFHacks's item creation script, you have to type 'createitem' into the DFHack window, followed by the type of item you want to make and the material it will be made out of.

Though you have to be targeting a creature to use the script. To target yourself in Adventure Mode, just press 'z' in the Dwarf Fortress window.

As an example, you could type in 'createitem WEAPON:ITEM_WEAPON_SWORD_LONG ADAMANTINE' and you would find an adamant long sword sitting at your feet.

Every material, item, creature, plant, etc. has their own specific ID that you must be careful of when using scripts such as this or creating new reactions.

Here's a list of what you will want to type in to get all of your gear.

Spoiler (click to show/hide)

If you would prefer reactions, that could be done as well.

Code: [Select]
[REACTION:ARMOR_CHEAT_ADV]
[NAME:create a suit of armor]
[ADVENTURE_MODE_ENABLED]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_BREASTPLATE:INORGANIC:ADAMANTINE]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_MAIL_SHIRT:INORGANIC:ADAMANTINE]
[PRODUCT:100:1:HELM:ITEM_HELM_HELM:INORGANIC:ADAMANTINE]
[PRODUCT:100:1:PANTS:ITEM_PANTS_GREAVES:INORGANIC:ADAMANTINE]
[PRODUCT:100:2:SHOES:ITEM_SHOES_BOOTS:INORGANIC:ADAMANTINE]
[SKILL:FORGE_ARMOR]

This should be copied and pasted at the end of reaction_other.txt. This file can be found in the raw/objects folder within your Dwarf Fortress directory. Then when you next create a new world, your adventurers in that world will be able to create armour out of thin air.

Edit: I forgot to make the reaction give two boots instead of one, and that custom reactions cannot produce gloves properly at the moment. To access the reactions menu as an adventurer, press 'x'. This is the same menu used to butcher corpses for meat and use various magic or innate powers. The only thing adventurers can do by default is knap rocks together to sharpen them.
« Last Edit: April 21, 2014, 12:28:28 am by BlackFlyme »
Logged

neblime

  • Bay Watcher
  • More GG more skill
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #6 on: April 21, 2014, 12:53:00 am »

ah ty.. I guess i'm not needed here anymore
Logged
http://i.imgur.com/Gv6I6JO.png
I am quite looking forward to the next 20 or 30 years or so of developmental madness

Connll

  • Escaped Lunatic
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #7 on: April 21, 2014, 01:28:43 am »

I think you misunderstand. DFHack is the cheat. It's a multipurpose tool that does a variety of other things as well.

To use DFHacks's item creation script, you have to type 'createitem' into the DFHack window, followed by the type of item you want to make and the material it will be made out of.

Though you have to be targeting a creature to use the script. To target yourself in Adventure Mode, just press 'z' in the Dwarf Fortress window.

As an example, you could type in 'createitem WEAPON:ITEM_WEAPON_SWORD_LONG ADAMANTINE' and you would find an adamant long sword sitting at your feet.

Every material, item, creature, plant, etc. has their own specific ID that you must be careful of when using scripts such as this or creating new reactions.

Here's a list of what you will want to type in to get all of your gear.

Spoiler (click to show/hide)

If you would prefer reactions, that could be done as well.

Code: [Select]
[REACTION:ARMOR_CHEAT_ADV]
[NAME:create a suit of armor]
[ADVENTURE_MODE_ENABLED]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_BREASTPLATE:INORGANIC:ADAMANTINE]
[PRODUCT:100:1:ARMOR:ITEM_ARMOR_MAIL_SHIRT:INORGANIC:ADAMANTINE]
[PRODUCT:100:1:HELM:ITEM_HELM_HELM:INORGANIC:ADAMANTINE]
[PRODUCT:100:1:PANTS:ITEM_PANTS_GREAVES:INORGANIC:ADAMANTINE]
[PRODUCT:100:2:SHOES:ITEM_SHOES_BOOTS:INORGANIC:ADAMANTINE]
[SKILL:FORGE_ARMOR]

This should be copied and pasted at the end of reaction_other.txt. This file can be found in the raw/objects folder within your Dwarf Fortress directory. Then when you next create a new world, your adventurers in that world will be able to create armour out of thin air.

Edit: I forgot to make the reaction give two boots instead of one, and that custom reactions cannot produce gloves properly at the moment. To access the reactions menu as an adventurer, press 'x'. This is the same menu used to butcher corpses for meat and use various magic or innate powers. The only thing adventurers can do by default is knap rocks together to sharpen them.

THANK YOU!!! now lets do this!!!!

BWAHAHAHA!
Logged

Sarrak

  • Bay Watcher
  • Venit leger cerebrum amissa
    • View Profile
Re: Help getting adamantine gear in Adventure mode.
« Reply #8 on: April 21, 2014, 05:03:12 am »

I think I must provide some interesting facts...

www.bay12forums.com/smf/index.php?topic=116151

Suppression ability of archers degrades only slightly for a legendary blue metal. Only MAD skills or good tactic & right positioning will save you from the fate of pincushion. Bolt to the head means instadeath unless it happens to land on something unimportant (very low chance of bolt glancing from an eyelid or tongue). You cannot block/dodge bolts that hit you from behind.
Oh, by the way. Knives & forks are impossibly good at bypassing armor, breaking bones and severing nerves.

To cut short: with very good skills and tactic only things you need are: weapon (multiple examples if you want), shield, backpack. Thats all. You may add some clothes (optional decency) or misc items (vampire blood, trophies, crutches...) if you want. Why no armor? Because anything that can hit you at this stage will break bones even through armor if hit passes.
Logged
Science is always important. But it needs more flaming cats. Can't we build bridge-based catapults and fling flaming cats at the dust and goo?

It's time for the ATHATH Death Counter to increase once more in celebration for the end of the world.