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.

View Poll Results: How much do lasers rock?
Not all that much 1 25.00%
A lil i guess 0 0%
they rock... mildly 0 0%
there is a considerable ammount of rocking in the constitution of lasers 3 75.00%
Voters: 4. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2004, 03:13 PM
smuggler's Avatar
smuggler
Sarnak
 
Join Date: Apr 2004
Location: Okaloosa, FL
Posts: 36
Default linking spawns...

I'm trying to link all the mobs in an entire zone, Guards, Merchants, Guild Masters, and just straight NPCS...

Intentions:

Trying to get it so that if all the NPCs in a city are killed, it will have been 'taken' and the next time the spawn comes up (with a good time buffer for obvious reasons) the NPCs will ALL be different.

So, if you kill all the woodelves in kelethin, a ton of darkelves will spawn in their wake.

i realize this means creating two sets of NPCs for all of the towns, but I'm just having concern about the linking...

If one or two of the NPCs are killed, but not all, I want them to respawn as part of the rest of the set of NPCs (I want for the spawns NOT to switch when some of the first set of NPCs are still popped, thus preventing NPCs of opposing factions from being spawned in the same zone at the same time.)

If anyone has advice on the area, it's all more than welcome on my end. By the same token, you guys are welcome to use the idea as well, if you'd like.

Thanks
Reply With Quote
  #2  
Old 04-24-2004, 09:13 PM
smuggler's Avatar
smuggler
Sarnak
 
Join Date: Apr 2004
Location: Okaloosa, FL
Posts: 36
Default eh, going to bed.. just thought i should mention...

not voting for lasers is the same as voting against them. what have we become?
Reply With Quote
  #3  
Old 04-25-2004, 03:55 AM
Gossamer
Sarnak
 
Join Date: Apr 2004
Posts: 92
Default

Curious. What does a laser poll have to do with EQEMU?
Reply With Quote
  #4  
Old 04-25-2004, 04:25 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Coded something like this for Evertorn but can't remember where I added the code off the top of my head. Will check it later today and let you know.

Basically what I did was add a new column to spawn2 which linked all the spawns to that specific flag, then added a column to zones which was the flag spawn2 looked at to see what NPCs should spawn.

I originally coded this for the adventure system I set up, which set the flag based on the persons level so it spawned level appropriate NPCs, but I'll probably expand it to use it for some of the other ideas I have as well.

Really simple to implement though.
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
  #5  
Old 04-25-2004, 01:04 PM
smuggler's Avatar
smuggler
Sarnak
 
Join Date: Apr 2004
Location: Okaloosa, FL
Posts: 36
Default hmm thats cool

i'll give it a try and get back to you with the results, i'm sure i'll have to tinker with a it a bit...

thanks, killspree
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 04:28 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3