Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom Weapon Question  (Read 731 times)

PinkyThePinkBlob

  • Bay Watcher
    • View Profile
Custom Weapon Question
« on: August 01, 2017, 02:49:43 am »

Lets use Bows as something to look at

[ITEM_WEAPON:ITEM_WEAPON_BOW]
[NAME:bow:bows]
[SIZE:300]
[SKILL:SWORD]
[RANGED:BOW:ARROW]
[SHOOT_FORCE:1000]
[SHOOT_MAXVEL:200]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:10000:4000:bash:bashes:NO_SUB:1250]
   [ATTACK_PREPARE_AND_RECOVER:3:3]

1) Is it possible to use a melee skill as the ranged skill for a ranged weapon? Ergo RANGED:SWORD:ARROW would work?

2) Would removing the melee skill used do anything?

3) Would it be advisable to not add a secondary attack in the form of a melee on the ranged weapon to lock ranged units into using range alone and not using their ranged weapons as melee weapons?
Logged

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: Custom Weapon Question
« Reply #1 on: August 02, 2017, 01:30:50 am »

2 & 3 - It'll default to using MACE according to the wiki.

AceSV

  • Bay Watcher
  • [SUPER_VILLAIN]
    • View Profile
Re: Custom Weapon Question
« Reply #2 on: August 02, 2017, 11:17:03 am »

Quote
3) Would it be advisable to not add a secondary attack in the form of a melee on the ranged weapon to lock ranged units into using range alone and not using their ranged weapons as melee weapons?

I'd be interested to find out if that changes anything about the AI.  Try testing it in arena mode.  Make copy of the bow, one with the melee attack, and one without, equip two squads with each weapon and see if they behave differently.  However, I suspect that dwarves will just try to fight with bare hands if their weapon becomes useless. 
Logged
Quote
could God in fact send a kea to steal Excalibur and thereby usurp the throne of the Britons? 
Furry Fortress 3 The third saga unfurls.  Now with Ninja Frogs and Dogfish Pirates.

overseer05-15

  • Bay Watcher
  • Personal Text
    • View Profile
Re: Custom Weapon Question
« Reply #3 on: August 02, 2017, 01:20:53 pm »

1 - no
Logged
adult food like, I presume, steak and potatoes and tax forms,

My game giveaway

pikachu17

  • Bay Watcher
  • PADORU PADORU
    • View Profile
Re: Custom Weapon Question
« Reply #4 on: August 02, 2017, 05:14:27 pm »

1 - no
Wait, you can't? I thought it was just like melee skill, where they can any skill.
Logged
Sigtext!
dwarf 4tress from scratch
The Pikachu revolution!
Thank you NatureGirl19999 for the avatar switcher at http://signavatar.com

A warforged bard named Gender appears and says"Hello. I am a social construct."

overseer05-15

  • Bay Watcher
  • Personal Text
    • View Profile
Re: Custom Weapon Question
« Reply #5 on: August 02, 2017, 10:05:38 pm »

1 - no
Wait, you can't? I thought it was just like melee skill, where they can any skill.
I don't think so? I tried it at one point and the weapons didn't work in arena so ???
Logged
adult food like, I presume, steak and potatoes and tax forms,

My game giveaway

Nahere

  • Bay Watcher
    • View Profile
Re: Custom Weapon Question
« Reply #6 on: August 02, 2017, 10:20:10 pm »

There's no reason why not, I've seen ranged weapons that use the alchemy skill before, and they worked fine.
Logged