Bay 12 Games Forum

Dwarf Fortress => DF Dwarf Mode Discussion => Topic started by: luisedgm on April 05, 2012, 09:38:56 pm

Title: How to craft foreign weapons?
Post by: luisedgm on April 05, 2012, 09:38:56 pm
The wiki says dwarves can create foreign weapons when in strange mood, but all i get are normal weapons (and bows), is there any file i can edit to force it?
Title: Re: How to craft foreign weapons?
Post by: Corai on April 05, 2012, 09:39:59 pm
[WEAPON:FLAIL:COMMON]

There you go, add it to your raw for dwarven civs.
Title: Re: How to craft foreign weapons?
Post by: luisedgm on April 05, 2012, 09:44:07 pm
Will this work on an already running save game? aren't the raws only read once during world generation?
Title: Re: How to craft foreign weapons?
Post by: NecroRebel on April 05, 2012, 09:45:11 pm
[WEAPON:FLAIL:COMMON]

There you go, add it to your raw for dwarven civs.
That's not an answer to the question he asked. Also, not the right item ID or syntax, but that's irrelevant. If he simply wanted to make a particular weapon not be foreign, he'd add [WEAPON:ITEM_WEAPON_blah] to the entity. Also, it wouldn't work after world gen, as allowed items are only assigned to a civilization when the civilization begins.

Foreign weapons can show up in strange moods, but they do seem less likely. It's possible that moody dwarves only create items that they themselves could wield, so that would prevent all but the biggest dwarves from making most foreign weapons. You can't mod anything to force foreign weapons to be made, but you could save right when the mysterious construction begins, then, after the artifact is made, note the date it was finished, savescum back to the mysterious construction save, wait until just before that date, and save again, thus allowing you to reasonably quickly savescum the created artifact repeatedly until you got a desirable result from it.
Title: Re: How to craft foreign weapons?
Post by: Corai on April 05, 2012, 09:46:05 pm
Will this work on an already running save game? aren't the raws only read once during world generation?

It affetcs the civ, they "learn" how to make them during world-gen.
Title: Re: How to craft foreign weapons?
Post by: KodKod on April 05, 2012, 09:48:03 pm
Incidentally, if you did want to add all of the foreign weapons to be craftable by dwarves ready for a new world, even if that's not really a solution to your question, here's what you'd need to add to the dwarf civilization in the entity raw.

Spoiler (click to show/hide)
Title: Re: How to craft foreign weapons?
Post by: Corai on April 05, 2012, 09:49:18 pm
Incidentally, if you did want to add all of the foreign weapons to be craftable by dwarves ready for a new world, even if that's not really a solution to your question, here's what you'd need to add to the dwarf civilization in the entity raw.

Spoiler (click to show/hide)

Thanks for clarifying my answer.
Title: Re: How to craft foreign weapons?
Post by: luisedgm on April 05, 2012, 09:51:11 pm
[WEAPON:FLAIL:COMMON]

There you go, add it to your raw for dwarven civs.
That's not an answer to the question he asked. Also, not the right item ID or syntax, but that's irrelevant. If he simply wanted to make a particular weapon not be foreign, he'd add [WEAPON:ITEM_WEAPON_blah] to the entity. Also, it wouldn't work after world gen, as allowed items are only assigned to a civilization when the civilization begins.

Foreign weapons can show up in strange moods, but they do seem less likely. It's possible that moody dwarves only create items that they themselves could wield, so that would prevent all but the biggest dwarves from making most foreign weapons. You can't mod anything to force foreign weapons to be made, but you could save right when the mysterious construction begins, then, after the artifact is made, note the date it was finished, savescum back to the mysterious construction save, wait until just before that date, and save again, thus allowing you to reasonably quickly savescum the created artifact repeatedly until you got a desirable result from it.
I savescummed to test out 50 "loads" after still no foreign weapons, i gave up and let my dwarf make an artifact silver warhammer (yeah its pretty good, but i wanted a flail or maul), it seems the only foreign weapons dwarves ever make are Bows and Blowguns
Title: Re: How to craft foreign weapons?
Post by: luisedgm on April 05, 2012, 09:53:38 pm
Incidentally, if you did want to add all of the foreign weapons to be craftable by dwarves ready for a new world, even if that's not really a solution to your question, here's what you'd need to add to the dwarf civilization in the entity raw.

Spoiler (click to show/hide)

Thanks for clarifying my answer.
That would be a solution... if this save game wasn't a 15 year old multiple fortress for adventurer mode exploring world, i can't leave all the work i had to make those dungeon fortresses behind... But thanks anyways guys.
Title: Re: How to craft foreign weapons?
Post by: simonthedwarf on April 05, 2012, 10:09:46 pm
Its pretty fun to have masterwork steel whips.
Title: Re: How to craft foreign weapons?
Post by: Nil Eyeglazed on April 06, 2012, 12:47:38 am
Where exactly in the wiki does it say that dwarves can create foreign weapon artifacts?

I gotta say, this is one of the few cases where I disagree with NecroRebel.  I have never seen an artifact exotic melee weapon; I have never seen a screenshot of an artifact exotic melee weapon.  If they exist, they're special enough that somebody, somewhere, should have a screenshot.  Does anybody have a screenshot?  Unmodded game, of course.

And yes, bowyer moods use a different method to pick the item, one that permits exotic ranged weapons.  Check out Quietust's notes on the talk page on strange mood.
Title: Re: How to craft foreign weapons?
Post by: NecroRebel on April 06, 2012, 01:10:55 am
And yes, bowyer moods use a different method to pick the item, one that permits exotic ranged weapons.  Check out Quietust's notes on the talk page on strange mood.
Hm. I'm fairly certain that I've seen mooded foreign non-ranged weapons, but that may have been way back in 40d, and I may be misremembering. I typically defer to Quietust, and his code-diving has likely led him to be better-informed than I. His comments on the talk page there are somewhat inconclusive about whether foreign weapons are possible or not, but as he says he thinks that they're constrained to native weapons, I'm now inclined to believe that.
Title: Re: How to craft foreign weapons?
Post by: martinuzz on April 06, 2012, 01:59:20 am
Where exactly in the wiki does it say that dwarves can create foreign weapon artifacts?

I gotta say, this is one of the few cases where I disagree with NecroRebel.  I have never seen an artifact exotic melee weapon; I have never seen a screenshot of an artifact exotic melee weapon.  If they exist, they're special enough that somebody, somewhere, should have a screenshot.  Does anybody have a screenshot?  Unmodded game, of course.

And yes, bowyer moods use a different method to pick the item, one that permits exotic ranged weapons.  Check out Quietust's notes on the talk page on strange mood.

My current unmodded game has a copper great axe artefact

How to reproduce: find a dwarf that has an exotic weapon in it's personal preferences. Wait till he gets a fey weaponsmith mood. Get an exotic weapon artefact.
Spoiler (click to show/hide)
Spoiler (click to show/hide)
Title: Re: How to craft foreign weapons?
Post by: Nil Eyeglazed on April 06, 2012, 10:36:22 am
Well I suppose that's that then :)  Thanks for the screenies martinuzz.
Title: Re: How to craft foreign weapons?
Post by: luisedgm on April 06, 2012, 10:57:45 am
Where exactly in the wiki does it say that dwarves can create foreign weapon artifacts?

I gotta say, this is one of the few cases where I disagree with NecroRebel.  I have never seen an artifact exotic melee weapon; I have never seen a screenshot of an artifact exotic melee weapon.  If they exist, they're special enough that somebody, somewhere, should have a screenshot.  Does anybody have a screenshot?  Unmodded game, of course.

And yes, bowyer moods use a different method to pick the item, one that permits exotic ranged weapons.  Check out Quietust's notes on the talk page on strange mood.

My current unmodded game has a copper great axe artefact

How to reproduce: find a dwarf that has an exotic weapon in it's personal preferences. Wait till he gets a fey weaponsmith mood. Get an exotic weapon artefact.
Spoiler (click to show/hide)
Spoiler (click to show/hide)

oooh, so thats how you do it, too bad none of my dwarves have a favorite exotic weapon, thanks for the answer.
Title: Re: How to craft foreign weapons?
Post by: AWdeV on April 06, 2012, 11:06:39 am
How to reproduce: find a dwarf that has an exotic weapon in it's personal preferences.

I didn't/don't think that's possible in the unmodded game. I've never had a dwarf saying they liked scimitars or twohanded swords other than the one time I made those weapons available for dwarfdom.



Incidentally, if you did want to add all of the foreign weapons to be craftable by dwarves ready for a new world, even if that's not really a solution to your question, here's what you'd need to add to the dwarf civilization in the entity raw.

Spoiler (click to show/hide)

Thanks for clarifying my answer.
That would be a solution... if this save game wasn't a 15 year old multiple fortress for adventurer mode exploring world, i can't leave all the work i had to make those dungeon fortresses behind... But thanks anyways guys.

If you do want this for a later game and you want to make the items not only makeable but also usable for your stunties then you'll probably need to edit their sizes.
Title: Re: How to craft foreign weapons?
Post by: martinuzz on April 06, 2012, 11:14:06 am
How to reproduce: find a dwarf that has an exotic weapon in it's personal preferences.

I didn't/don't think that's possible in the unmodded game. I've never had a dwarf saying they liked scimitars or twohanded swords other than the one time I made those weapons available for dwarfdom.

It's rare, but possible. The only modding I did in this game is make dwarf children grow up at age 4, and let GCS live up to 80 years.
It is very rare though. I've seen it only 2 or three times before. Perhaps a dwarf needs to have been born to a civ that can make those weapons (in this case, perhaps it's parents were  kidnapped by goblins as a child, that goblin civilization was conquered by humans, where the child is born, the humans then are conquered by dwarves). My current dwarven civ had a necromancer King for over a century. I guess that ups the chances for the dwarves winning a war, and taking over a human civilization.

EDIT: Nope, that theory does not hold. I checked legends. Archi has never been part of any non-dwarven civilization
Title: Re: How to craft foreign weapons?
Post by: Excedion on April 06, 2012, 11:44:47 am
I dont know i'm in the same boat as you OP. Most foreign mood weapons I get are blowguns or bows. Coincidentally though most of my moods for clothing tend to be foreign. Only once have I had any other foreign weapon and that was a steel scimitar i think back in 31.25