Rathe Council Event (Custom with Timers, Signals and Spawn2)
This is a custom event based loosely on the actual boss event in PoearthB from EQLive. I have the zone customized to be geared towards players of levels 50-65, so everything here can easily be adjusted to tune it towards higher level players if that is wanted. This quest could easily be changed to reflect the actual EQLive quest with only making a few changes if anyone cares to do so.
Before this event can begin, the Untargetable Leader of the Rathe Council must spawn. Upon spawning, he also spawns the 12 Rathe Councilmen to avoid possible exploits if they spawned like normal NPCs. When one of the Rathe Councilmen are attacked, it sets a 5 minute timer for the event and despawns the Untargetable Leader of the Rathe Council. The player(s) must then kill all 12 Rathe Councilmen before the timer wears off or the event will fail and the remaining Rathe Councilmen are depopped. If all 12 are killed within the 5 minute timer, then the boss of the zone is spawned and is now targetable. The players can then complete the encounter by beating the boss. There are 4 NPC IDs involved in this quest. There are 12 Rathe Councilmen with the same NPC ID and 3 other individual spawns. It took me quite a while to figure out how to get this to work exactly as I wanted, but it seems flawless now. I am sure there is probably an easier way to do it, but this is the best way I could think of. The Rathe Quest: Code:
############# A Rathe Councilman Quest: Code:
############# Leader of the Rathe Council Quest: Code:
############# #Leader of the Rathe Council Quest: Code:
############# If there are any questions, or if help is needed, just let me know in a reply here. |
Huge thanks! That's gonna be a large chunk of time saved :) Thanks for sharing!
|
NP lol. I try to share any complex quests I write in case someone might find them or parts of them useful.
This one is actually fairly simple, but took a while for me to figure out how to make it work perfectly. The hardest part was getting the event timer to work without getting reset each time one of the 12 died (since they all use the same quest file). I kept trying to think of another way to do it but finally went with having the first councilman that is attacked send a signal to the untargetable boss and that boss will send a signal to The Rathe (invisible event timer), and then The Rathe starts the timer and depops the untargetable boss. This keeps the other 11 councilman from sending the signal to start the timer over again and again (since the pass through NPC is depopped). And if you are trying to make the event similar to the one from EQLive, the main difference is that their timer starts when the first spawn dies, not when it is attacked. You can easily change the first signal to be sent in EVENT_DEATH to get that working properly. Also, you may want to change the passthrough signal NPC (the untargetable boss) to be invisible, as I don't think the Avatar of Earth spawns until after the event is completed. But, that should be it. The basics of it is all there. And it could be used in any other zone just as easily. |
Quote:
The_Rathe (ID 2700426): Code:
############# Code:
############# |
Looks like that would probably work just fine and shorten up the number of NPCs involved. I considered messing with some variables for it, but didn't know how to get it to do what you set up. Since mine is already working perfectly, I am not going to test that one out. But, I would imagine it should work. May need a little tweaking to define the variable beforehand, but I am definitely no master quest writer so I could be wrong.
Either way, it is very flexible. Thanks AndMetal for the suggestion. |
Thanks for posting this Trevius, I'll have to figure out a sweet way to implement this somewhere on Zebuxoruk. I appreciate you sharing it!
|
I hate to be a newb but is there any way someone could give instructions on how to add these scripts to my server?
|
Quote:
Save the script in the zone folder where the NPC spawns. The name of the script needs to be the NPC's name with a .pl suffix. e.g. The_Rathe.pl Each of the scripts Trevius gave here would be saved in a different file. He has documented the NPC names in the header of each script. These become the file names (suffixed with .pl) If you've installed the PEQ database, the scripts in the pofire quest folder are a good example of how to setup scripts with signals. Take some time to get your head around what they do and you should be able to start making some decent scripts of your own. |
Quote:
|
Quote:
|
Quote:
:grin: |
Quote:
|
All times are GMT -4. The time now is 10:46 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.