Quote from: element on August 17, 2010, 05:22:33 am
I have a little question and tell me if it's impossible.
I'm making a game with 4 factions. The player chooses a faction, joins that...
Well each faction has his own NPC guards, these attack players from other factions.
I don't see how to do that since you can only have 1 player allignment group and I need 4 so that NPC's attack the other 3 faction players.
+1. I'm on my way to do the same thing, with 3 factions; what's more, in RMX-OS, so I bet there's be a lot of trouble ahead. I haven't tested it all so far, but my idea is to call a script that just changes the variable BlizzABS::Alignments::ACTOR_GROUP - so, in my case: at the beginning you make these groups:
1. Neutral Actors (Primary Actor)
2. Neutral Enemies (Primary Enemies)
3. Neutral Critters
4. Objects
5. Neutral Guards
6. Neutral NPCs
7. Kingdom Soldiers (paladins, guards, priests - that's faction 1)
8. Kingdom NPCs
9. Kingdom Players
10. Kloster Soldiers (mercenaries, mages - faction 2)
11. Kloster NPCs
12. Kloster Players
12. Underworld Soldiers (dark knights, necromancers - faction 3)
13. Underworld NPCs
14. Underworld Players
Rest, like aggressive enemies that kill other monsters, "linked" critters (pack of animals) etc.
So, at the beginning the player is neutral to all NPC and guard groups, but when he chooses the faction and changes alignment, he becomes an enemy to other faction NPCs and Guards and an ally to his own.
Dunno if I am right. Just check it and be that nice to report any problems and solutions, it can save my time