From e43c54649db4b220f9bb14c275a954c1385c8f03 Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Mon, 13 Aug 2018 09:44:22 -0400 Subject: [PATCH] Updated NPCAggro (markdown) --- NPCAggro.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/NPCAggro.md b/NPCAggro.md index b779ecd..9d3c4aa 100644 --- a/NPCAggro.md +++ b/NPCAggro.md @@ -1 +1,9 @@ -ph \ No newline at end of file +# Controlling NPC aggro via faction tables. + +Lets create a new faction. For this example, the NPCs on this faction will be KOS to all PCs except Erudites, whom they will con amiable. These NPCs will also attack other NPCs whom primary faction is Heretic. + +1. Create the new base faction. +2. Create the new npc_faction. +3. Create how the new npc_faction reacts to other NPCS and PCs via npc_faction_entries. +4. Assign NPCs to the new npc_faction. +5. Since we want these NPCs to attack other NPCs (Heretics), change the npc_types entry for any NPC assigned to this faction so npc_aggro is set to 1. \ No newline at end of file