Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Weapon question  (Read 782 times)

Zambaku

  • Bay Watcher
    • View Profile
Weapon question
« on: January 18, 2010, 03:55:03 pm »

I  have a few questions about making custom weapons. Let's say that I want to make a new sword named Long sword for example.

I would copy the short sword, rename it into long sword, change weight and damage.

Then I would add the weapon to the dwarfs in the entity_default raw

Do I have to do anything else for them to be able to use it? Editing something in the military or anything or will it be usable without any further modding?
Logged

cartmann

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #1 on: January 18, 2010, 03:57:25 pm »

i think that what you have wrote in your OP is fine. as long as the weapon is usable by dwarves, it should be fine. Just test it in the meantime

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Weapon question
« Reply #2 on: January 18, 2010, 04:03:56 pm »

And try not to make duplicates. Because there's already a long sword in the game.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Zambaku

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #3 on: January 18, 2010, 04:09:27 pm »

Oh, okay. Thanks^^

Oh, one more question, not about weapons, about creatures: How do I decide the creatures strength? I thought I'd make an orc, I basically copied the goblins, made 'em bigger and whatnot.
Logged

cartmann

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #4 on: January 18, 2010, 04:14:17 pm »

do you mean strength as in attack damage or as in thier natural defence?

Zambaku

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #5 on: January 18, 2010, 04:25:54 pm »

Both =)
Logged

Caesar

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #6 on: January 18, 2010, 04:28:00 pm »

It increases along with their size, but you should also check out the [DAMBLOCK:..] tag.

Perhaps you should also raise they basically do with attacking.
Logged
Spider Overhaul
Adding realistic spiders to Dwarf Fortress. (Discontinued.)

Godhood VIII
The latest installment in the Godhood roleplaying game series.

cartmann

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #7 on: January 18, 2010, 04:40:51 pm »

Yeah, [DAMBLOCK:-1] is the natural armor of an elf, which makes it take more damage than usual.
[DAMBLOCK:10] would make just about every light attack glance off. the majority of bites would still hurt, but not much. peircing from spears and arrows is still very deadly unless you have no orgasns or are undead.

as for natural unarmed attacks, [ATTACK:MAIN:BYTYPE:GRASP:punch:punches:1:4:BLUDGEON][ATTACKFLAG_WITH] is a fairly common punch, with a min DMG of 1 and a max DMG of 4.
[ATTACK:SECOND:BYTYPE:MOUTH:bite:bites:3:6:GORE][ATTACKFLAG_CANLATCH] is a reasonably damaging bite that has the chance to latch on when you bite, thus allowing you to throw your opponent around, taking a chunk or the whole limb off. this is usually only doable by a fairly large creature or bigger.
[SIZE:16] is the size of a giant
[SIZE:7] is around the height of a human

Hope this is helpful

shadowsofwhite

  • Bay Watcher
  • [PREFSTRING:moustache] Steam ID: TheHengeProphet
    • View Profile
Re: Weapon question
« Reply #8 on: January 18, 2010, 06:15:46 pm »

If you want to make orcs just MILDLY stronger and tougher than humans, you could simply bump them to [SIZE:8], and give them [DAMBLOCK:1]. Always a good bit of fun, especially if you give them high breeding rates and large site maximum populations!

Just a suggestion.

Play around with it, have some fun!
Logged
Dev-status:
Drakelings: Dev halted indefinitely.
Illithids: Dev halted indefinitely.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Weapon question
« Reply #9 on: January 18, 2010, 10:13:13 pm »

Speaking of weapons is it possible to have a ranged weapon use a wide array of ammo? Bolts and Arrows?
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #10 on: January 18, 2010, 10:25:01 pm »

Speaking of weapons is it possible to have a ranged weapon use a wide array of ammo? Bolts and Arrows?

I want to say yes and no.

A crossbow can fire anything labeled as a BOLT, be it flaming, blunt, whatever. I don't think it is possible for a crossbow to fire both bolts and arrows (but I'm not sure as I haven't tried).

I'm not sure what would happen if you gave a weapon both
[RANGED:CROSSBOW:BOLT]
[RANGED:CROSSBOW:ARROW]
but my gut tells me that would generate an error.
Logged

Morrigi

  • Bay Watcher
    • View Profile
Re: Weapon question
« Reply #11 on: January 19, 2010, 03:32:04 am »

Or you end up with clowns civving, fighting against butterflies.
Logged
Cthulhu 2016! No lives matter! No more years! Awaken that which slumbers in the deep!

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Weapon question
« Reply #12 on: January 20, 2010, 12:43:43 am »

I don't know about you guys, but my gut says give it a whirl. I'm currently working on my own stuff (clown-lord variety), so I can't.
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Weapon question
« Reply #13 on: January 20, 2010, 12:55:58 am »

I say that somebody should try this out. Looking back through the forum pages, I found reports of both it working and it not working, so it would be really nice if someone could clear that up.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.