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: Being able to attack/get attacked by both factions  (Read 875 times)

TheMetalCarrots

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 113
    • View Profile
Being able to attack/get attacked by both factions
« on: May 31, 2015, 04:22:14 pm »
So, I wanted to make all the factions (Horde and Alliance) neutral in the same style that the Steamwheedle Cartel is in; where you can choose to either be 'At War' or not with them, whilst being able to interact fully with both sides when the 'At War' is not ticked.

I looked up a few tutorials, and ended up with a sort of neutral Horde (they wouldn't attack me, but I couldn't interact with them) and neutral Alliance, which I could attack, but they wouldn't bother to fight back (and I couldn't attack guards). Anyone have any god-sending dbc knowledge which could help me figure this out?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TheMetalCarrots

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 113
    • View Profile
Re: Being able to attack/get attacked by both factions
« Reply #1 on: May 31, 2015, 05:25:16 pm »
Okay, so I managed to get it working for Horde (on Alliance); I can interact with them when the faction is not 'At War' and attack them when it is, and they'll respond by attacking back. However, I cannot attack any Alliance NPCs when their faction status is 'At War' (invalid target) so I'll need to figure out how to prevent Alliance from being Peace Forced.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Being able to attack/get attacked by both factions
« Reply #2 on: May 31, 2015, 10:10:58 pm »
http://wowdev.wiki/index.php?title=Faction.dbc
Is something not clear about this? Peace forced and such things are set by mask in field #15 (1 based).
« 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