Dwarf Fortress > DF Modding

[Done]Question of Close Quarter Combat [knives, daggers etc]

(1/3) > >>

exodius1:
First time posting on the modding side of the forum, I usually stay clear as I do not really understand all the tags and numbers involved. However I have a question I am really itching to know answer to.

Namely: If I mod the dwarves to be able to forge knives, daggers etc, is there a way to make civilians wear and use them? You know, like peasants and villagers in the adventure mode. If yes, could someone walk me through the process?

ThatZommy:
Well, civilians in adventure mode already carry around kitchen knives which they'll use as daggers, but if I remember correctly there is a tag.
I was incorrect, huh. I'd recommend simply making it a tool, and see if that works. While testing you might want to move the cooking/butchering knives into a seperate notepad, so you're more likely to find someone with the weapon.

exodius1:

--- Quote from: ThatZommy on October 02, 2015, 11:03:16 am ---Well, civilians in adventure mode already carry around kitchen knives which they'll use as daggers, but if I remember correctly there is a tag.
I was incorrect, huh. I'd recommend simply making it a tool, and see if that works. While testing you might want to move the cooking/butchering knives into a seperate notepad, so you're more likely to find someone with the weapon.

--- End quote ---

Thx, I will see what I can do about it tomorrow, but no promises, as I said I get confused by anything more complex than [TRAINABLE]...

ThatZommy:
I've nothing to do today, so I made a couple examples. Hope it helps. Haven't tested it myself, though I suppose that would have been smart.

Spoiler (click to show/hide)
--- Code: ---[ITEM_TOOL:ITEM_TOOL_DAGGER]
[NAME:Faux-dagger:Faux-daggers]
[VALUE:10]
[METAL_WEAPON_MAT]
[TOOL_USE:MEAT_CARVING]
[TILE:'/']
[SIZE:200]
[SKILL:DAGGER]
[TWO_HANDED:27500]
[MINIMUM_SIZE:5000]
[MATERIAL_SIZE:1]
[ATTACK:EDGE:1000:800:slash:slashes:NO_SUB:1250]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:EDGE:5:1000:stab:stabs:NO_SUB:1000]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:BLUNT:20:600:strike:strikes:pommel:1000]
[ATTACK_PREPARE_AND_RECOVER:3:3]

[ITEM_TOOL:ITEM_TOOL_AXE]
[NAME:Faux-axe:Faux-axes]
[VALUE:10]
[METAL_WEAPON_MAT]
[TOOL_USE:MEAT_CARVING]
[TILE:'/']
[SIZE:1300]
[SKILL:AXE]
[TWO_HANDED:77500]
[MINIMUM_SIZE:62500]
[MATERIAL_SIZE:5]
[ATTACK:EDGE:60000:8000:hack:hacks:NO_SUB:1250]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:BLUNT:60000:8000:slap:slaps:flat:1250]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]
[ATTACK_PREPARE_AND_RECOVER:3:3]
--- End code ---

exodius1:

--- Quote from: ThatZommy on October 02, 2015, 11:39:52 am ---I've nothing to do today, so I made a couple examples. Hope it helps. Haven't tested it myself, though I suppose that would have been smart.

Spoiler (click to show/hide)
--- Code: ---[ITEM_TOOL:ITEM_TOOL_DAGGER]
[NAME:Faux-dagger:Faux-daggers]
[VALUE:10]
[METAL_WEAPON_MAT]
[TOOL_USE:MEAT_CARVING]
[TILE:'/']
[SIZE:200]
[SKILL:DAGGER]
[TWO_HANDED:27500]
[MINIMUM_SIZE:5000]
[MATERIAL_SIZE:1]
[ATTACK:EDGE:1000:800:slash:slashes:NO_SUB:1250]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:EDGE:5:1000:stab:stabs:NO_SUB:1000]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:BLUNT:20:600:strike:strikes:pommel:1000]
[ATTACK_PREPARE_AND_RECOVER:3:3]

[ITEM_TOOL:ITEM_TOOL_AXE]
[NAME:Faux-axe:Faux-axes]
[VALUE:10]
[METAL_WEAPON_MAT]
[TOOL_USE:MEAT_CARVING]
[TILE:'/']
[SIZE:1300]
[SKILL:AXE]
[TWO_HANDED:77500]
[MINIMUM_SIZE:62500]
[MATERIAL_SIZE:5]
[ATTACK:EDGE:60000:8000:hack:hacks:NO_SUB:1250]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:BLUNT:60000:8000:slap:slaps:flat:1250]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]
[ATTACK_PREPARE_AND_RECOVER:3:3]
--- End code ---

--- End quote ---

Thank you, will definitely use this as a template, but once again tomorrow, I am off to work in about an hour, and still dinner to eat etc...

Navigation

[0] Message Index

[#] Next page

Go to full version