Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2004, 04:54 PM
KhaN's Avatar
KhaN
Dragon
 
Join Date: Mar 2004
Location: France, Bordeaux.
Posts: 677
Default Guard attacking mobs

I was wondering if one of you know how to make guards attack mobs. I know i have to make mobs KOS to guards by setup a faction, but i dont know how.
Actually, my guards have a faction, my mobs have one, but i dont see how to precise that mobs are KOS to guards (Since faction value i entered are for PC).

Thanks in advance / KhaN
__________________

Reply With Quote
  #2  
Old 06-20-2004, 07:38 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

I guess that they need to have a common faction which is set to positive for the mobs and negative for the guards so the guards KoS the mobs. Or the opposite, tho, lvl 1 snakes won't attack lvl 50 guards.
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #3  
Old 06-20-2004, 08:31 PM
Shadow-Wolf
Dragon
 
Join Date: Oct 2003
Posts: 511
Default

Is there even a way to set faction between two factions? I thought it was only possible to be set between player and faction.
__________________
How about the power to kill a yak from 200 yards away...WITH MIND BULLETS! thats telekinesis kyle.
Reply With Quote
  #4  
Old 06-20-2004, 08:37 PM
KhaN's Avatar
KhaN
Dragon
 
Join Date: Mar 2004
Location: France, Bordeaux.
Posts: 677
Default

If Shadow-Wolf doesnt know, this mean ... There is no way "actually" to set a faction between two faction ? There are servers here having guards attackings mobs purchasing newbies ? :/
__________________

Reply With Quote
  #5  
Old 06-20-2004, 09:24 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

making a guard attacking a mob that is fighting a player is different than making a guard attacking a mob on sight.
I ve read in Sandy's post : http://www.eqemulator.net/forums/viewtopic.php?t=14391 that agro is working that way : if a mob have in range another mob of the same faction that is fighting, it takes the second mob's target as target and attacks it.

So if the guard and the player have a common faction and are 'friend' enough in that faction, the guard should support the player against the mob.
This remains obviously a pure speculation, but i tho remember, (perhaps from Winters Roar), some guards saying : "Die, scrum !" and helping low lvl chars in toxxulia
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #6  
Old 06-20-2004, 09:26 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

I forgot to write it, but by that way, you wouldn't need to assign a faction between the guard and the mob since, the faction links the player and the guard against the mob.
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #7  
Old 06-21-2004, 12:07 AM
Shadow-Wolf
Dragon
 
Join Date: Oct 2003
Posts: 511
Default

Well I mean completely kos like on live when fippy runs the gates but hes kos, or when an orc gets to close to the gates, or a group pulls the guards from the gate and zones and when the guards are returning they attack mobs on the way.
__________________
How about the power to kill a yak from 200 yards away...WITH MIND BULLETS! thats telekinesis kyle.
Reply With Quote
  #8  
Old 06-21-2004, 12:20 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

Aye, i don't see how to do this.
Unless i m ignoring it, we need a supplementary table in the DB saying that this faction is kos to this one, for example : 'mean_animals' which is assigned to all the roaming mobs of West freeport is kos by 'freeport guards'
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #9  
Old 06-21-2004, 12:35 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

there is city_defense table.. no clue if it works or not.. last i heard though city defense hasnt worked since 4.4 days
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #10  
Old 06-21-2004, 12:38 AM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

that's prolly why i remember WR's guards attacking mobs, the server was in 4.4, or even 4.3 when i was playing on it
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #11  
Old 06-21-2004, 02:49 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

It is possible to have the guards attack mobs on sight without the players being friendly to the guards. You have to set up the Guards in a faction that is an enemy of the mobs faction. I don't know how to do this, but Scorp has it on his server with Goblins and Orcs in one zone being enemies of each other. Thers one area that they spawn next to each other and you can wait for one to spawn and then watch them fight each other as soon as he does. I have no idea how this works in the DB, but you can ask scorp.
Reply With Quote
  #12  
Old 06-21-2004, 03:56 AM
RexChaos
Dragon
 
Join Date: Feb 2004
Location: Everywhere you want to be
Posts: 582
Default

All you need to do for example is set up something like this:


Guard: (When killed) GuardFaction -100 BugFaction +100
Bug: (When killed) BugFaction -100 GuardFaction +100

Since those factions both exist on both mobs they will attack each other on site. By eliminating GuardFaction +100 from the Bug's factions only the guards will attack the bugs on site I believe. Experiment with it. That is the easiest way to get two mobs to fight though.
__________________
An obnoxiously large picture should go here with some witty saying about some cartoon character I made in EQ, but then I realized that shit is fucking annoying.
Reply With Quote
  #13  
Old 06-21-2004, 03:30 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

I'm pretty sure that is exactly what Scorp has running since killing one increases faction with the toher.
Reply With Quote
  #14  
Old 06-21-2004, 06:43 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

That's not exactly the way i would like city guards to be implemented if i was running a server since killing a snake in WFP shouldn't raise Freeport Militia. Tho it can certainly be a temp solution
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote
  #15  
Old 06-21-2004, 09:44 PM
Shadow-Wolf
Dragon
 
Join Date: Oct 2003
Posts: 511
Default

A temp solution that could cause problems IE Paladins and Militia.
ex:Hey i just did soulfire! my freeport faction is tarnished and the only way in is the sewers, hey wait all I gotta do is kill a newbies mob!

That would cause several porblems like high end characters camping newbie zones to get back in. It would make getting neg faction back too easy.
__________________
How about the power to kill a yak from 200 yards away...WITH MIND BULLETS! thats telekinesis kyle.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:27 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3