This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] how to let the npc use 2 blades? 335  (Read 3858 times)

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
[QUESTION] how to let the npc use 2 blades? 335
« on: August 27, 2014, 07:14:09 am »
like rouges use the ofhand weapon as a sword ,axe etc.. fight with it becuase when I equip the npc with  2 weapons he attack with the main hand only but the ofhand weapon he only use it as a sheild and is their any way else than smartAI or eventAI without spell? and im using 335a trinitycore

and sorry for my english
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Filipsons

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 220
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #1 on: August 28, 2014, 10:28:48 am »
Without spell? I dont know, but you can try learn "Dual Wield"
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #2 on: August 28, 2014, 12:18:36 pm »
Quote from: "Filipsons"
Without spell? I dont know, but you can try learn "Dual Wield"
npc (mobs) not the player
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #3 on: August 29, 2014, 02:05:47 am »
Encountered similiar problem with Titan's Grip, while I wasn't able to force NPC carry 2 two-handed weapons at once/two-handed weapon with shield. Learning a spel, adding an aura and so on didn't help at all and I don't know if it actually can be done without some coding in core.

The easiest idea which comes to my mind is creating custom spell, which causes caster to attack for weapon damage with off-hand weapon while playing emote for off-hand attack and placing this spell to event/smartAI with about 2-3s cooldown.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #4 on: August 29, 2014, 09:47:07 am »
Quote from: "Amaroth"
Encountered similiar problem with Titan's Grip, while I wasn't able to force NPC carry 2 two-handed weapons at once/two-handed weapon with shield. Learning a spel, adding an aura and so on didn't help at all and I don't know if it actually can be done without some coding in core.

The easiest idea which comes to my mind is creating custom spell, which causes caster to attack for weapon damage with off-hand weapon while playing emote for off-hand attack and placing this spell to event/smartAI with about 2-3s cooldown.
I thought the same but their is no faster way than this
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Filipsons

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 220
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #5 on: August 30, 2014, 02:05:20 pm »
Yes I know. NPC, but you can try create new NPC with this spell (dual wield)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #6 on: August 30, 2014, 03:53:10 pm »
Quote from: "Filipsons"
Yes I know. NPC, but you can try create new NPC with this spell (dual wield)
you mean smart ai or as an aura in the creature template addon ?
and by the way nice to see you back to madcraft Filipsons
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #7 on: August 30, 2014, 07:29:36 pm »
There are a number of npc's that dual wield in 3.3.5 I.E.

 http://www.wowhead.com/npc=21315/ruul-the-darkener

http://www.wowhead.com/npc=30596/the-ebon-watcher

I had it done for some custom guards but I can't remember the flags right now used to have the left hand to attack as well instead of just being there.



P.S.

If I remember I'll let you know.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #8 on: August 31, 2014, 04:19:45 am »
Quote from: "phantomx"
There are a number of npc's that dual wield in 3.3.5 I.E.

 http://www.wowhead.com/npc=21315/ruul-the-darkener

http://www.wowhead.com/npc=30596/the-ebon-watcher

I had it done for some custom guards but I can't remember the flags right now used to have the left hand to attack as well instead of just being there.



P.S.

If I remember I'll let you know.
thanks and I spawn them but they didn't use the offhand weapon so I went to check the creature template to see the flag
but there is nothing so if you can check them you will see the flag or check your cutom gaurd in the creature template to see the flagg
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Filipsons

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 220
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #9 on: August 31, 2014, 08:49:52 am »
Do you have Mang or TC2? Or others.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #10 on: August 31, 2014, 05:32:18 pm »
Quote from: "Filipsons"
Do you have Mang or TC2? Or others.
if your asking me TC2
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #11 on: August 31, 2014, 09:45:05 pm »
Quote from: "MR. Farrare"
like rouges use the ofhand weapon as a sword ,axe etc.. fight with it becuase when I equip the npc with  2 weapons he attack with the main hand only but the ofhand weapon he only use it as a sheild and is their any way else than smartAI or eventAI without spell?

No, there isn't another way other than SmartAI or EventAI.  phantomx is not remembering correctly.  There isn't a flag to let creatures use an off-hand attack.  That can only be done via scripting it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phantomx

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 615
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #12 on: August 31, 2014, 10:15:22 pm »
Quote from: "kojak488"
Quote from: "MR. Farrare"
like rouges use the ofhand weapon as a sword ,axe etc.. fight with it becuase when I equip the npc with  2 weapons he attack with the main hand only but the ofhand weapon he only use it as a sheild and is their any way else than smartAI or eventAI without spell?

No, there isn't another way other than SmartAI or EventAI.  phantomx is not remembering correctly.  There isn't a flag to let creatures use an off-hand attack.  That can only be done via scripting it.

I probably did script it in the core I don't remember was like 5 months ago or so... however you can just add a spell to the creature so it does a cast that attacks with both hands a very simple thing to do.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
[wimg]http://i.imgur.com/6fxUQL1.gif[/wimg]

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #13 on: September 01, 2014, 05:25:32 am »
Quote from: "phantomx"
Quote from: "kojak488"
Quote from: "MR. Farrare"
like rouges use the ofhand weapon as a sword ,axe etc.. fight with it becuase when I equip the npc with  2 weapons he attack with the main hand only but the ofhand weapon he only use it as a sheild and is their any way else than smartAI or eventAI without spell?

No, there isn't another way other than SmartAI or EventAI.  phantomx is not remembering correctly.  There isn't a flag to let creatures use an off-hand attack.  That can only be done via scripting it.

I probably did script it in the core I don't remember was like 5 months ago or so... however you can just add a spell to the creature so it does a cast that attacks with both hands a very simple thing to do.
I thought of that too but I thought it will be better to have a flagg or something
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [QUESTION] how to let the npc use 2 blades? 335
« Reply #14 on: September 01, 2014, 09:07:58 pm »
There's no such flag for it and never will be.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »