Log in

View Full Version : Quick Way to Make a Zone KoS?


Irreverent
10-06-2008, 01:26 PM
Some zones, like PoAir & PoWater are not aggro due to not being fully implemented.

However, in the process I'd rather make them aggressive than sitting there ready to share a peace pipe.

I originally grabbed from the spawn tables all npcs that spawned from npc lists, then turned their faction to 360?(or whateer KoS was) but that didn't make them aggro? Haven't really spent much time on this, hoping there was a quick way before I had to figure it out.

paaco
10-06-2008, 02:10 PM
Grab George's loot editor tool. Figure out what faction ID you want to give every mob in the zone. Change the first mob in the lists faction ID to the new ID. Go to the top to Field Utilities -->Propagate/Copy Fields. It will ask if you are sure you want to do this, say yes. It changes every NPC in the zone to the new faction ID.

Angelox
10-06-2008, 05:55 PM
Here's a quick way (for PEQ database);
KOS no assist
UPDATE npc_types SET npc_faction_id=19471 WHERE (ID>=215000 AND ID<=215999);

or KOS with assist;
UPDATE npc_types SET npc_faction_id=19472 WHERE (ID>=215000 AND ID<=215999);

This will set KOS to every NPC in Plane of Air.
Here's how I did that;

the faction IDs are both KOS factions, one the mobs will assist on a long pull the other no. Since 215 is the zone number for PoAir , 215000-215999 are reserved for PoAir NPCs only. Look up the zone numbers for the other zones you want to set, and use the above as a template (replace the '215').

This is the quickest way, but it has draw backs- there are in invisible NPCs in PoAir that do not require KOS. Also , there could be other NPCs that may need to be indiff.
I look for bodytype or race AFTER I run the above querys;

UPDATE npc_types SET npc_faction_id=0 WHERE (ID>=215000 AND ID<=215999) AND race=127;
127 is invisible NPCs in the zone, not intended to be beating on you out of nowhere

Lets say you had merchants in the zone, so merchant class id number is 41;
UPDATE npc_types SET npc_faction_id=0 WHERE (ID>=215000 AND ID<=215999) AND class=41;

Eventually, after you've run these querys (make sure you restart the server for changes to take effect), You will have to go into the zone and make sure you didn't leave any stray unwanted KOS-converted mobs.

With this same example, you can quickly set up regular factions to whole zones. after you've made one for one NPC, you get the number and apply it with the querys above.

GeorgeS
10-06-2008, 09:55 PM
Actually, the

KOS no assist=19471 and KOS with assist=19472 is something I will add to the tool. I did not know of both, just one of them.

Thanks for the info AX!

GeorgeS

cavedude
10-06-2008, 10:09 PM
Don't feel bad, 19472 I only added recently (past few months)

Irreverent
10-08-2008, 01:26 PM
Awesome, thanks a lot. You've all helped again so much. Just trying hard to get some broadbrush polishes done so I can get back into more precision database building.

Congdar
10-08-2008, 02:55 PM
hopefully the quest npc's and the keymaster don't get set to kos... others?

cavedude
10-08-2008, 04:52 PM
Imatrigger hits you for 10,000 points of damage!

Loading please wait...


Yeah, I've been there.

Irreverent
10-11-2008, 04:28 PM
Only question is I don't see those factions in the faction_list table?

Or is it a hardcoded value? Didn't see it in the most PEQ either