Making Bilge Farfathom rare again
This is a bit of a whopper, but it works. I have posted all the PL files here also, for download;
http://www.nahunta.org/~angelox/ Note: you can use these pls as - is, but will have to make the NPC's and replace the NPC id numbers. Dagnor's Cauldron (PEQ version) still needs a lot of work done - for starters, all the rats, snakes, skeltons are roamers - so are a lot of the goblins. A lot of the mobs roam from the island in the center, to the borders of the lake. The four NPC's at the npc camp you pass as you head for for the zone of unrest, call themselves the "Fabulous Four" one of them will heal you on request (Nyrien Lyrdarniel), and another Sigan Ilbirkun will "escort" you out whan properly asked. All four of them hate rats, snakes, gobbies, etc., and will gang up on them and kill if they cross their camp. A lot of mobs path through the Fab Four camp and get killed, this serves as a "safe zone" for players and helps "throw" the tracker-class pc types. At one time, Bilge Farfathom and his "Pearl Kedge Totem" were very sought out - in the days when 1k pp meant something, the Totem had a big price tag on it for around 20K. I had a few friends who went on a "get rich fast" quest and thought they were going to drop Bilge quick. Most never even saw him. You could sit there for days, and never see him - usually, when he did show up, it was because people were playing in the zone, and not someone camping him. I camped him like crazy too for days, never saw him - but once passing through, I got him and another time got him just during normal play, when the zone had a lot of players. I think to this day, no one has never really figured out the Bilge Farfathom spawn pattern - they have a good idea where he spawns, but don't know what mob triggers the Bilge spawn. Anyways, I figure the trigger must be in the water somewhere, as no one ever plays in the water because there's nothing to do there. heres what I did: made a loop of four spawns in the water; MobA is outside the loop in the gobbie camp by unrest zone he's the loop starter. (all are Event_Death) MobA spawns normal off the eqemu / database. mobA dies and spawns MobB , then flags himself not to spawn anymore npc's in the loop when he respawns; Code:
#Bilge Farfathom spawn MobB is killed and spawns MobC 90%, and 10% Bilge Farfathom. MobC is killed and spawns MobD 90%, and 10% Bilge Farfathom. MobD is killed and spawns MobE 90%, and 10% Bilge Farfathom. MobE is killed and spawns MobB 90%, and 10% Bilge Farfathom; MobE will start at the top again. Code:
#Bilge Farfathom spawn Code:
#Bilge Farfathom spawn Code:
#Bilge Farfathom spawn Code:
#Bilge Farfathom spawn when he dies, he restarts the loop with a 25% chance to any one of the four above to spawn; Code:
#Bilge Farfathom spawn You'll notice that all these spawns eventually end up at the NPC camp, and should get killed. |
Here's a problem I have; I would like to use variables across npc's. Another words - if npcid 1 raises a flag,a different npcid 2 can change or lower it.
I spent two days on just this problem, and none of the quest::* helped either. I don't think it can be done, if anyone does happen to know a way, please post. |
I've never used it but can you use
Code:
========== http://www.projecteq.net/phpBB2/viewtopic.php?t=149 |
Quote:
quest::setglobal is npc specific - If I try make two variables of the same name with different npc's, the database will add the two enties separatly and for the individual npc ids who made them. quest::targlobal might have been intended to change another NPC's variable value, but all it does is crash the zone. If I use it on the same NPC that made the variable, it will work ok. quest::delglobal seems to work ok, but useless to me, since the latter two can not apply I have more success with "global quests" switched off and the regular Perl variables. It appears these commands are more intented for the many quests in EQ, that require dealing with one npc at a time. It would be helpful to be able to set a "global" variable that could be use by any npc in the game. |
that's exactly what quest::setglobal() does with the different option sets.
Code:
+--------+---------+---------+----------+ |
I see now, haven't tried it in that way - I'll try again, thanks
|
I'm working on the .pl's for the "Fabulous Four" in this zone, I already have them chatting and doing a few things - I still have to figure out how to get Mr Sigan to kill roamers that pass through the camp. In fact, when EQ was young, all four of them would kill roamers. If anyone knows how to do this, please post.
If anyone wonders how I get info for these PLs, I still have an account with EQ, which I use for stuff like this. I also go to allakhazam and see what I can find there. I think this method is almost 100% accurate. You can get the quests at my web page. |
You can have him kill the mobs by using factions, just make them KOS to him.
|
Quote:
|
Not only his faction, but did you set how he reacts to opposing factions? Attack, Assist, Neutral?
|
Quote:
|
Quote:
|
Quote:
If you mean npc_aggro, yes |
The data you are changing is in a tabled called npc_faction_entries.
Columns: npc_faction_id | faction_id | value | npc_value Data: 4 | 106 | -30 | -1 That last bit, npc_value, is the NPCs aggro flad Aramid mentioned. It does look like it might effect all NPCs in that faction, but you can make a custom version of that faction for your NPC/Group that's tied to the base (faction_id). I think. It's early. And I have a 40 mi drive ahead of me. I'll check back later. |
Quote:
And there's also the issue with Bilge Farfathom spawn: his placeholder eventually ends up in the Fab4 camp and gets killed (so does Bilge, if he spawns and no one takes him). This effect increases the Bilge mystery, as he will appear out of nowhere and no one need really be camping him. |
Quote:
|
Have you checked how city guards do it? Or those Freeport guards out in WC? If they do... I do not recall.
|
This is how i set a faction to kos to a group of npcs.
Kind of a rough work around on some parts. Note: I use dark rogue's database editor also. I am certain there is an easier way of doing this, but as I am still in the baby steps phase of dbase moding: this is how i do it. If you dont have any NPC ID numbers, start here to find them: 1. Go to your database, in faction_list, find the name of the factions you want from Name field. (Note: you need at least 2 values here: One of the creature to react to, and one of the creature that is reacting) 2. In Dark Rogue's Database editor: Goto Tools, Faction Table editor, edit faction table 3. Type faction name (from step 1) into the search, and select the appropriate one (if more than one is similar) 4. This will show you their Primary_Faction_ID. 5. Right click in the center area to add the faction name (from faction_list: step 1 again) of the npcs you want to react to. This won't accept a 0 value for now, but we will correct that so you dont actually get a faction hit later. 6. Save this after changes are added. 7. Any npc with this faction will be listed in Table_ID number (under NPC_factions in dBase) 8. Goto Tools, NPC editor, edit npcs (in dark rogue dbase editor) 9. Type in the name of the npc you want to add to this faction. 10. Goto Tables fields at the bottom, add the faction ID(from step 4) to this npc. If you have the ID numbers for both the creature you are changing and the creature you are reacting to: Start here 11. Goto dbase, NPC_faction_entries (right click on this and chose to open with a larger number than default or you might not see what you need: select something like 50000 to see them all *no idea what the limit is.. so i pick a BIG number to make sure*) -- this may take awhile to finish loading. 12. npc_faction_id actually the Table_ID number (from step 7 above). -- this will change for all the npcs associated with this number, not just a single npc. (example: this is the faction ID of the guards outside Qeynos that just wait for the gnoll pups to get too close) 13. faction_id in the second column is the npcs this first value will react to. (example: this is the gnoll pup that the guard swings at when it hits the gate) 14. Find the npc_faction_id of the creature you want to change, then find the faction_id that is associated with the npc_faction_id of the creature you want it to react to. (example: make sure you are looking at the gnoll pups in the section associated with the Qeynos Guards) 15. If you dont want a faction hit to show. Set value = 0. (This is the 3rd field in this table) 16. set npc_value to -1 if you want the creature to attack, set to 1 if you want them to assist that faction_id. (This is the 4th field of the table) I hope that was what you were asking for. If not, please ignore me. If it is, then Im certain someone can trim that down alot to a more useable list. |
Quote:
|
Good explanation, I think I may have to add this capability to my editor...
GeorgeS |
oh btw. One major setback to this might be the fact that most mobs are not setup on a faction in DC (at least on my server atm). Most of your time will be spent makeing sure all roamers are actually set to a faction before you can set them to be kos to the Fab Four. That's the real reason I kept the first part of my text in there, if your dBase is anything like mine you will be busy.
I LOVE ordered chaos! :roll: Oh george, if you do add this in, could I beg a favor? Make it so a value of 0 can be set to faction levels. It's a real timekiller to have to go back into the dBase atm and reset all my 'fake faction hits' to 0 there. I use 123 as mine, so i can see them quickly now but it sure does slow down my faction work. /salute |
What I have in mind is to set up a new, server-wide "mob-killer" faction. This could be used as a temporary solution, until, or if I decide to go back and fine tune factions. I say "server wide" , so I can apply it in any zone when needed. Factions aside, the zone just doesn't look or feel right with out these features, and here I am 2 days later, looking for a solution to this
Do you think this can be done? . |
Quote:
You HAVE this as I am using your database and the PEQ Editor and it's all already in there. So, I think if you just use that as a Template, you'll have what you need, but it may take more than just ONE Faction to get it to work as you need it too, unless you can identitfy which mobs will actually wander thru the Fab Four's camp based on the existing pathing setup and give them your Server Wide faction providing they aren't needed for anything else, like the noobie mobs. |
I finally figured it out, it was too easy , I just always do things the "hard way". Thanks for all your help, I wouldn't have been able with out it.
|
I've been reading around and also remembering, and in the original Fab 4 camp, all NPC's attack roamers. I was thinking to set this, but I noticed that when two of the Fab4 npcs fight the same mob and after it's killed, they then proceed to fight each other.
Would this be a bug or is there something else I need to change? |
make sure you have their 'assist' set for +1 and not -1, and also that they are not useing AE spells.
btw: i first noticed the assist agro problem when I was testing some coding outside CT. The lizards that spawn out there would hit others with the AE and if i backed up.. they would start in-fighting. I had to go and remove some AEs from the caster spell lists. (as well as that damned Flash of light line.. I never liked how it blanked out the whole screen) ahh, but not this is just me rambling.. |
Quote:
|
I'd honestly prefer to see some coding changes that allow a caster's AE spells/ song to ignore any npc above indifferent con. That would prevent alot of 'side agro' issues across the board.
But as it isnt live-like. I don't expect it to be done without doing it myself. And I code like a one eyed man playing darts. |
will one of you please put a reasonable guide to NPC guard-style aggro up on the wiki as this thread will get lost.
|
Quote:
Guard Brookrock says 'For the defense of Kelethin!!' Guard Brookrock says 'For the protection of all Fier'Dal, there shall be no mercy for your kind. that was the Gfay guards quote when they kill off mobs for you. And this, "It's bashing time!!" is a quote from Sigan Ilbirku at Cauldron, as he kills off a mob for you. Well, Sigan's attach quote works fine, but the guards in GFay remain silent - I tried everything (EVENT_ATTACK, EVENT_AGRRO, EVENT_SLAY) with the same results. I realized the the NPC will not say anything, unless you hit him first. In Dagnors, Sigan always has to fight it out a while, so they hit back and we get the "It's bashing time!!" text. But with the guards, they kill so fast, the mob never hits back, so they never say anything. I guess EVENT_SLAY is for when a PC dies and not an NPC, because it didn't work either. If I'm right and there is no method for an NPC to quote when he attacks, then it would be nice to have one of these events fixed (in the code) to that. for example EVENT_SLAY could apply to PC's and NPC's, or EVENT_AGGRO could add on when the Guard goes to help a PC. I've been thinking of a way to get the guards to talk in a situation like that but so far, haven't been able to. If someone would wiki - post anything that's worth while from me, I would appreciate it - My problem with doing this is my health; I'm cursed with arthritis, and try to avoid sitting/typing over long periods of time - which I do anyways, but Wiki would just add to sitting time. |
we added EVENT_NPC_SLAY a while back for when an NPC kills another NPC, so that would prolly cut it.
as im looking at EVENT_ATTACK, the code is only doing it when the NPC is attacked, as you stated. Im almost wondering if that functionality mihgt be useful to somebody sometime... so im thinking about adding an EVENT_COMBAT which would trigger when an NPC starts "combat" mode, which would be defined as somebody attacking the NPC, or being attacked by the NPC in any manner, or the NPC having somebody on their hate list (in case they are running away or something), and would wear off like 12 seconds after neither of those actions were true... what do you think? |
Quote:
Quote:
Also, while working on big events I noticed I couldn't get the mob to make a zone wide "ooc" or emote. example; Code:
# Raid event for #Garudon (109107) |
Quote:
|
More than one way to skin a cat...
Sooo... anyways, heres' what I have come to realize about the Perl quests;
They are all PC, NPC inclined - anotherwords, you are doing interaction as a PC to an NPC or vice-versa, all will work fine. but if you want NPC's to inter-act with each other, then the "little problems" start. Some of the stuff does not work as intended; for example "sub EVENT_NPC_SLAY" does not work as I thought it would(at least for me). I've been reading fathernitwit's WIKI on this (yess, I found it!) I think a working command for npc to npc inter-action (maybe with some options) is needed, as even little things like guards killing noobie mobs and saying text, help the EqEmu to look more "EQ-live like" . But, if not, I finally landed a solution; Code:
#npc - Orc Death Code:
#npc - Gfaydark Guard Protectors I'll have them all made up in a day or two. $mobid would have been better, but for some reason, it would return a strange three digit number, that would not relate to the attacker-guard. $name returns the spawn2 npc name, and I can get some relationship to the guard there. The only problem I have with these scripts is, the text comes out in this order; Quote:
Quote:
|
Thank You fathernitwit !!!
Snip from the latest binary release;
Quote:
|
All times are GMT -4. The time now is 05:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.