Help with Faction
I have been having a faction problem with my tutorial guards.
Here's the database values... peq.faction_list Code:
Name: Guards / Base: 250 Code:
Name: Guards / Primaryfaction: 483 / Ignore: 0 Code:
Npc_faction_id: 20000 / Faction_id: 483 / Value: -1000 / Npc_Value: 1 |
this:
Npc_faction_id: 20000 / Faction_id: 483 / Value: -1000 / Npc_Value: 1 Npc_faction_id: 20000 / Faction_id: 483 / Value: 100 / Npc_Value: -1 and this Npc_faction_id: 20001 / Faction_id: 484 / Value: 10 / Npc_Value: -1 Npc_faction_id: 20001 / Faction_id: 484 / Value: -10 / Npc_Value: 1 dose not make any sence. first you telling the server to: faction 20000(primary 483) to assist each other and you loose 1k points to killing them then you telling the server that faction 20000 kos to itself and you get 100 points for killing them. same for 200001 what you should have is this: Npc_faction_id: 20000 / Faction_id: 483 / Value: -1000 / Npc_Value: 1 Npc_faction_id: 20000 / Faction_id: 484 / Value: 100 / Npc_Value: -1 Npc_faction_id: 20001 / Faction_id: 484 / Value: -10 / Npc_Value: 1 Npc_faction_id: 20001 / Faction_id: 483 / Value: 10 / Npc_Value: -1 |
No dice...
Guards still not attacking the mobs when they get close... Using information from your last post... Anything else it could possibly be? |
do guards npc have npc_aggro value set to 1 in npc_types table?
|
and I assume that here
Name: Guards / Primaryfaction: 483 / Ignore: 0 Name: Mobs / Primaryfaction: 484 / Ignore: 0 20000 corespands to Guards and 20001 to Mobs |
lemme check chaos...
will get back to ya... |
Guards are set to 1
Mobs to 0 for some reason, both aggro radii are 20 |
hmm 20 could be a bit low, but puting guard and mob face to face should work.
do any of the old opposing factions guard to mob attack work? given you downloaded default PEQ db |
Found reason...faction is loaded with buy server reset (/bonks self)
Thanks Chaos And btw if you know how to make weapons show on npcs (Guard's weapons, shields, etc...) I could use that info too Thanks again! |
weapon show- assuming you running build 1090+, then
a) specific guard needs to have that weapon as part of his loot b) in a collumn when it asked if item should be equiped, you must put 1/yes |
All times are GMT -4. The time now is 05:09 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.