New NPC Wander Type
I have found the need in my work with the Scorpious2k Server for a different NPC wander type.
The type I have come up with I call single run. In this type, the NPC starts at waypoint 1 and travels in sequence to the last waypoint. When he reaches it, he depops and respawns (after the specified respawn time) to start again at waypoint 1. In order to implement this wandertype, you MUST have installed the fixes I describe in http://www.eqemulator.net/forums/viewtopic.php?t=10204 Here are the changes. In mobAI.cpp Mob::CalculateNewWaypoint() after Code:
switch (wandertype) Code:
case 4: // single run Code:
if (gridno < 50 && cur_wp == max_wp) Code:
if (wandertype == 4 && cur_wp == max_wp) If I can find somewhere to host it, I will make the final version of this available for download. |
neat.
I can fuzzily remember a few of them in EQlive. |
The most obvious use for this type would be boats, which travel across the ocean, deliver their passengers and then depop only to appear on the other side to do it all again.
As I thought about it, another use came to mind. Rare mobs could use this. They spawn, move around a bit, depop and then don't respawn for a while (could be hours even). Quests could also use this, making the finding of a quest char more of a challenge. |
This would be awesome for use with quests !
'The Kracken comes to attack the city! Prepare the defenses!' |
Like the Ghoul Messenger in WK
|
Or the orc runner in Butcherblock :D
|
Now that I think about it.. did boats poof? Last I knew that had a path. From zone line to zone line, then zone line to zone line. Do they start when it triggers the last one poofed, or does it really go through the zones, like Wizard Familiars.
As for the ones that are obvious, yeah. the goblin and orc messangers. I remember those dudes. :P |
there are tons of them in live.
shawl quests, ring quests, epics.... cool cool |
Quote:
Nah zoneline to zoneline if Im correct. Thats why it would take forever waiting for the damn boat pre-luclin, pre-pop. If they did depop and repop at the begining then the waiting time would be quick. Correct me if I am wrong |
Quote:
Nah zoneline to zoneline if Im correct. Thats why it would take forever waiting for the damn boat pre-luclin, pre-pop. If they did depop and repop at the begining then the waiting time would be quick. Correct me if I am wrong |
Just because they depopped and repopped doesn't mean it was instant respawn after depopping.
|
All times are GMT -4. The time now is 06:45 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.