PDA

View Full Version : NPC Pathing


jpyou127
06-03-2015, 09:44 PM
I am trying to do some editing on NPCs already in a zone. They are pathing constantly and I want to stop the pathing. I cannot seem to understand how to do that at all.

Any help would be appreciated!

Peyton

kimura
06-03-2015, 10:21 PM
You can look up the their grids in the database and delete them if you want them to stop forever, just delete their specific rows for the specific mobs you want to stop. But it's final unless you readd them

jpyou127
06-03-2015, 10:44 PM
Are the grids per NPC in the database or by zone?

Peyton

kimura
06-03-2015, 10:52 PM
There is a grids table in the db, look in there and see how they are identified, I can't remember exactly as I don't have a db in front of me atm. If nobody else answers or you don't figure it out, I will respond in the morning when I get home

jpyou127
06-03-2015, 10:55 PM
Thank you! I found the grid_entries and am looking based on the zone ID. I lloked up one of the NPCs by name in the npc_types looking for some kind of identifier linking it to the particular zone so I would know which grid entries to remove. So working on that one.

Peyton

jpyou127
06-03-2015, 10:57 PM
Found them now to try and figure out how the NPC pulls the particular grid ID.

jpyou127
06-03-2015, 11:04 PM
Ok found the commands in game to find out an NPC grid assignment.

jpyou127
06-03-2015, 11:41 PM
Ok I found how it works in the database. But ingame I can target the NPC and enter #gassign 0 to remove the NPC/Spawn Group from the grid assignment. This was pretty fun finding out where the actually database info was located. It was in the spawn2 database table.

Thanks for getting me to the right areas in the database!

Peyton