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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-13-2004, 02:38 PM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

hello

zonelines like doors have an ID hardcoded in the game I think, I don't know if you can find it via your client files, if yes I don't know the way to do it =)

here is the table zone_points :
CREATE TABLE `zone_points` (
`id` int(11) NOT NULL auto_increment,
`zone` char(16) NOT NULL default '',
`number` tinyint(3) unsigned NOT NULL default '1',
`x` float NOT NULL default '0',
`y` float NOT NULL default '0',
`z` float NOT NULL default '0',
`target_x` float NOT NULL default '0',
`target_y` float NOT NULL default '0',
`target_z` float NOT NULL default '0',
`target_heading` float NOT NULL default '0',
`target_zone` char(16) NOT NULL default '',
`heading` float NOT NULL default '0',
`keep_x` tinyint(1) NOT NULL default '0',
`keep_y` tinyint(1) NOT NULL default '0',
`zoneinst` smallint(5) unsigned default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `NewIndex` (`number`,`zone`)
)

zone lines are teleports, like some doors when they teleport you if you click on it, and like some platforms that teleport you when you walk on it
with this table you specify where it teleports you, it can be in the same zone, or another

'id' is an auto_increment, it's not important
'zone' is the name of the zone where is the teleport
'number' is the ID I was speaking of, it's very important then ) it specifies which teleport these infos are corresponding to

x,y,z and heading, are not important, I don't know if they are used ?

target_zone is the zone where the teleport leads, can be same zone or another
target_x,target_y,target_z and target_heading is the loc where it teleports you in the target zone

keep_x,keep_y are booleans where you specify if the player keep the same direction when it appears in the target_zone at the target loc

'zone_inst' I don't know what it is =)

so you have to know the 'number' of each zone_line
you will be able to collect it exactly with the target locs and zones with packet collectors when GOD will be live
but anyway, those numbers are usually 1 for the 1rst zone line, 2 for the 2nde zone line, etc ... =)
so you maybe can try some numbers and some test locs to discover which number correspond to which zone line =)

I hope it helps

In the topic "Platform Zoning" I gave an example for Bastion of Thunder, a zone with a lot of teleports/doors/zone lines you can download sql files
__________________
Sandy
Reply With Quote
 


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