Author Topic: How is Dual Wielding implemented in IWD-HOW?  (Read 2189 times)

Offline aa004

  • Planewalker
  • *****
  • Posts: 2
How is Dual Wielding implemented in IWD-HOW?
« on: October 01, 2005, 02:11:31 PM »
Hi,

Rangers can Dual Wield but I'd like to alter the Bard class to be able to dual wield also.  Is this doable or is this a hard coded implementation in the engine?  If doable can someone give me a pointer in the right direction to start?

A second point, I'd like to alter the Druid class to be able to wield axes and hammers.  I think I've figured out how to do it but I haven't actually tried this yet:

1) alter CLASWEAP.2DA and set HAMMER/AXE to 1 for the Druid classes.
2) and alter each axe/hammer .itm file (that my druid will use) and uncheck the druid class disallowed flag.

My questions are will this work and do i have to do both steps above or will step 1 suffice?

Thanks  :)


Offline Andyr

  • Dance Commander
  • PPG
  • Planewalker
  • *****
  • Posts: 3178
  • Gender: Male
    • The Gibberlings Three IE mod community
Re: How is Dual Wielding implemented in IWD-HOW?
« Reply #1 on: October 03, 2005, 12:25:01 PM »
I think it is just hardcoded that if they have no shield and a single-handed weapon they get an extra attack; IIRC you cannot equip two weapons like in BG2. So you couldn't really add it for Bards.

As for the second question, you need to do both (which takes ages unless you learn WeiDU to do bitwise patching; look at Ashes of Embers or G3 Tweaks for code examples).
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods

<jcompton> Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

I am unfortunately not often about these days so the best way to get hold of me is via email.

Offline aa004

  • Planewalker
  • *****
  • Posts: 2
Re: How is Dual Wielding implemented in IWD-HOW?
« Reply #2 on: October 03, 2005, 01:04:45 PM »
Hi,

Thanks.  Ya, I discovered that about how the IWD engine simulates DW by giving the ranger an extra attack.  I had thought he could equip two weapons  :-[.  So I don't think I'll alter the bard class after all, but is there an easy global way to add an extra attack per round to a class?

I've done the axe/hammer mod and it's just like you say you need to do both.  I'll just mod the axes and hammers as I go through the game as I decide to equip them to that character using nearinfinity - that's pretty easy and quick.  The learning curve for weidu looks  :o .

Offline Andyr

  • Dance Commander
  • PPG
  • Planewalker
  • *****
  • Posts: 3178
  • Gender: Male
    • The Gibberlings Three IE mod community
Re: How is Dual Wielding implemented in IWD-HOW?
« Reply #3 on: October 03, 2005, 02:10:51 PM »
You could give the extra attack with an .EFF, and then either patch files or else use some script appending to apply the effect via a spell or something. But I don't think you could detect whether a shield/2-handed weapon is equipped.

I guess you could do it in a roundabout way by having everyone get the bonus attack spell applied, but then have all shields or large weapons patched to give a penalty of an attack per round.
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods

<jcompton> Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

I am unfortunately not often about these days so the best way to get hold of me is via email.

Offline Borsook

  • off topic
  • Planewalker
  • *****
  • Posts: 1679
  • Gender: Male
  • not a badger
Re: How is Dual Wielding implemented in IWD-HOW?
« Reply #4 on: October 03, 2005, 02:19:07 PM »
Notice that contrary to what manual says Rangers in IWD-HOW DO get the extra attack when using two handed weapons, not just one-handed. BG1 Minsc is green with envy ;)
"Borsook seems like a pretty cool guy who offers his insight where appropriate... just very, very frequently." - Imrahil

Borsook's Chambers - Home of Borsook's Mods

Offline Andyr

  • Dance Commander
  • PPG
  • Planewalker
  • *****
  • Posts: 3178
  • Gender: Male
    • The Gibberlings Three IE mod community
Re: How is Dual Wielding implemented in IWD-HOW?
« Reply #5 on: October 03, 2005, 05:59:07 PM »
Heh, I didn't realise that.
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods

<jcompton> Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

I am unfortunately not often about these days so the best way to get hold of me is via email.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: