Faction levels
Anyone know how many faction points = KOS to a mob? How many for indifferent, etc... I was hoping to make a chart that lists this.
|
Straight from the code:
Quote:
|
sweet! thanks for looking that up for me.
|
I understand how to assign faction and how a killing a mob on a faction assigns a faction hit to the player, but what I don't get (and this is what confused me about the relationship of the various faction tables to each other) is how faction is determined when a mob has no faction in the first place. In other words, when a player kills a mob that does not return a "your faction has gotten worse" message.
Take mob id #2563, "a_hill_giant" for example... this mob has primaryfaction = 0 and in game, players will con "dubious" to this mob and the faction will never change. Now in Sony EQ, a hill giant doesnt have any faction hits but will con "KOS" to all players. This is what I want on my server as well, but while I can see how to make mobs KOS when they have faction, I dont see how to adjust a hill giants base faction to a player because it has no ties to the "faction_list" table in the DB where base faction would be stored. Any ideas? |
RangerDown answered this question for me in irc chat. For anyone else who is wondering, like me, this is how you give "invisible" faction to mobs that don't return faction hits, like lions, spiders, hill giants etc...
1. Create a record in faction_list and note the "id" field. 2. Note the npc_faction_id field from the npc_types table. 3. Create a record in the npc_faction table. Set the "id" field in this table = npc_types.npc_faction_id and "primaryfaction" = faction_list.id. Set "name" to whatever you'd like to name this faction. Name only matters for admin purposes, but best to enter in something that will still make sense to you months later. 4. Set the base faction for your mob in the faction_list table under the "base" field. Later on, I might document the relationships between the 4 tables in the DB that affect faction and post it so we all have something for easy future reference. |
All times are GMT -4. The time now is 06:37 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.