Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2002, 03:49 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

The waypoint system in itself works like this:

The database has a "grid" entry. A grid consists of ID, type, delay type and 50 wps. Each waypoint is a string separated into the values X, Y, Z and delay. Delay is the amount of time the mob stops at the waypoint.

Spawn2 has a new entry called spawngrid. You assign the ID of a grid to a spawn point, and any mob spawned by this point starts wandering the grid. Types are as follows:

0: Circular. Walks each path point in order, then cycles back to wp 1.
1: Random 5. Picks one of the 5 closest waypoints and walks to it.
2: Random. Picks any waypoint in the grid and walks to it.
3: Patrol. Walks to the last waypoint in order, then turns and does it in reverse order.

Delay types:

0: Random half. Pauses for between Delay/2 and Delay seconds.
1: Full. Pauses for full delay.
2: Random all. Pauses for between 0 and Delay seconds.

You add waypoints and grids using #grid and #wp in-game. (For example, #grid add 1 0 1 would add grid number 1, of type Circular, with a full delay.)

I have a prototype of the system working, which is the system without some of the types and delay types, basically.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:01 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