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

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2012, 01:38 PM
rhyotte
Hill Giant
 
Join Date: Jul 2012
Location: Oklahoma
Posts: 222
Default Adding "new zone line" ?

Hi folks,

I have been researching on how to add in "new zone lines". I realize that zone lines are "hard coded" ( thanks Trevius! ), so I will need to add in an invisable NPC to proximity sense and teleport the Player.

Can some one post up a Newbie Friendly How to? I am more than willing to learn!

Thank you!
Gary
P.S. The zone line I was trying to add was SoD+ client: the north west Highpasshold unused zone "cave" directly across from the newish Blightfire zone. I want to zone into Bloodfields to the south east cave marked on the map as "Tarvash Scriller" and of course the other way around as well.
Reply With Quote
  #2  
Old 07-16-2012, 11:25 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

A quick and sloppy proximity, abuse it however you wish. Set the x or y values to define your proximity. A zone line running north to south would probably look something like x-5, x+5, y-3000, y+3000 (or however long the zone line should be).

The move char function below is set for just outside the wizard spire in North Ro. The first number is the zone number (34), the next values are X, Y, Z, and Heading (H). Heading is not required, I believe the default heading is 270 degrees.

Also remember the /loc command shows Y, X, Z where as #loc shows X, Y, Z. No idea why...

Code:
sub EVENT_SPAWN
	{
	my $x = $npc->GetX();
	my $y = $npc->GetY();
	quest::set_proximity($x - 50, $x + 50, $y - 50, $y + 50);
	}
	
sub EVENT_ENTER
	{
	quest::movepc(34, 828, 1418.1,5.2,134.4); 
	}
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 02:22 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