Quote:
Originally Posted by endra
I did your search and read through the one five page result I got and nothing. Why didn't you just answer? Or don't you know yourself? I dont understand most of the fields in the faction tables, thats why i cant get npcs to hate each other. I need to know what fields I need to edit and to which values to get the npcs to hate each other.
|
You need to work with 3 tables:
faction_list
npc_faction
npc_faction_entries
faction_list you should be able to figure out. You just create a faction and set a starting players initial faction with them.
npc_faction you just create a faction id, name it and point it at the faction you made in
faction_list.
npc_faction_entries can get tricky. Here you enter the faction you made in
npc_faction. In the next column you enter the id from
faction_list you want it to attack (tricky part, this means any factions from
npc_faction that is assigned to this faction from
faction_list will be attacked by the first column). Then you leave value at "0". And for npc_value you put -1, which tells it that the entry is aggresive, 1 would mean they will assist that faction.