Thread: Faction Help!
View Single Post
  #1  
Old 02-03-2008, 07:48 PM
iggi
Sarnak
 
Join Date: Feb 2006
Posts: 62
Default Faction Help!

I seem to be having a bit of an issue creating 2 opposing factions (a guard faction and a mob faction).

Here are my rows from faction_list:
Code:
|id     | name   | base | Rest |
|1001 | Guards | 250  | 0     |
|1000 | Mobs   | -750 | 0     |
Here are my rows from npc_faction:
Code:
|id       | name  | PimaryFaction | ignore_primary_assist |
|40000 | Guards | 1001            | 0                            |
|40001 | Mobs   | 1000            | 0                            |
Here are my rows from npc_faction_entries:
Code:
|id       | faction_id  | value  | npc_value |
|40000 | 1001         | -1000 | 1             |
|40000 | 1000         | 100    | 1             |
|40001 | 1001         | 10      | 1             |
|40001 | 1000         | -10     | 1             |

What I am trying to do is create guards and mobs, I added 40000 to guards under npc_faction_id and they work, they con correctly to me everytime. now I added 40001 to the mobs and they do not con correctly. also I made my faction with guards -2000 (ready to attack) and made their aggro radius 100 and they con correctly but don't aggro me even though they are the same level. Help is greatly appreciated.
Reply With Quote