Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Just wondering something off hand.  (Read 834 times)

Ampersand

  • Bay Watcher
    • View Profile
Just wondering something off hand.
« on: April 13, 2009, 09:37:20 pm »

So I was thinking about modding in some super weapons. Reaaally super weapons. I'm just wondering if anyone knows off hand if the following is possible.

The Crossbow Pick!

Is it just a matter of giving it the Digger tag and the mining melee skill?
Logged
!!&!!

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Just wondering something off hand.
« Reply #1 on: April 13, 2009, 09:39:50 pm »

 I...Bu...

 Actually, this might just work. I don't expect it to mine at a range...

 ...

 Ammo with the digger tag?
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

ChocoHearts

  • Bay Watcher
    • View Profile
Re: Just wondering something off hand.
« Reply #2 on: April 13, 2009, 10:15:44 pm »

 :o DO EEEET
Logged
Feeling dumb is just nature's way of telling you you're still learning.
Elfy McElf: We are here to hug trees and kill dwarves. And it's your fault we are all out of trees.

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Just wondering something off hand.
« Reply #3 on: April 13, 2009, 10:25:27 pm »

DF Modders, finding ways to break the system, one tag at a time.

I highly doubt that giving the ammo the digger tag would work.  At most I think having the ammo in inventory would be enough for a dwarf to perform mining actions.  But it won't be long range mining.  That seems to me like the kinda thing that would require special code to handle without something bad happening..

Adding a pick with ammo I'm also unsure would work.  I think a dwarf has to be military (or a hunter which apparently has alot of special case code.)for them to properly "pickup equipment" when they detect they have a ranged weapon and need ammo.

Of course I'm not saying you shouldn't try, I could be wrong, just don't get yer hopes up.
« Last Edit: April 13, 2009, 10:29:21 pm by Greiger »
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Zangi

  • Bay Watcher
    • View Profile
Re: Just wondering something off hand.
« Reply #4 on: April 13, 2009, 11:45:55 pm »

Original Code for Crossbow and Pick:
Spoiler (click to show/hide)

And by their powers combined!!!
Spoiler (click to show/hide)

DISCLAIMER: Use at own risk, has not been dwarf tested.
Logged
All life begins with Nu and ends with Nu...  This is the truth! This is my belief! ... At least for now...
FMA/FMA:B Recommendation

Eagle

  • Bay Watcher
  • [LARGE_ROAMING]
    • View Profile
Re: Just wondering something off hand.
« Reply #5 on: April 14, 2009, 05:15:05 pm »

Oh shit. This is awesome.

Darekun

  • Bay Watcher
    • View Profile
Re: Just wondering something off hand.
« Reply #6 on: April 14, 2009, 06:03:04 pm »

You'd also need to set the entity [DIGGER:ITEM_WEAPON_PICKBOW], but given that, it should work.

I suspect you can set any item as an entity's digger, but none of it would result in ranged digging. Bolts, for example, would result in a miner grabbing one bolt(no other weapon need apply) and digging their whole career with it. I suspect that in combat, they'd just use Wrestling.

Dwarves that dig with quarry bushes might be fun :3

Hm, vermin are items, elves that dig with squirrels, anyone?
Logged
Darekun likes iron, cobalt, alicorn, cut gems, elves for their comparative advantage, and goblins for being an iron-bearing ore. When possible, she prefers to consume tea, cow meat, and Bacon Salt. She absolutely detests pasture creatures.

Zangi

  • Bay Watcher
    • View Profile
Re: Just wondering something off hand.
« Reply #7 on: April 14, 2009, 07:40:30 pm »

Hmm, guess I overlooked that.  Otherwise, the item wouldn't even be in the game.

Miners would be so much more dangerous... and every dwarf would be able to defend themselves...  wonder what a pickbow would look like...
Logged
All life begins with Nu and ends with Nu...  This is the truth! This is my belief! ... At least for now...
FMA/FMA:B Recommendation

Ampersand

  • Bay Watcher
    • View Profile
Re: Just wondering something off hand.
« Reply #8 on: April 15, 2009, 03:19:38 am »

Heck yeah. I was originally suggesting a pick that could also fire bolts, not that could dig at range. That would be a bit... Crazy. Anyway, thanks.
Logged
!!&!!