Difference between revisions of "Database Editor:Spawns"

From The Al`Kabor Project Wiki
Jump to navigation Jump to search
(Page creation)
 
m (conditions)
Line 11: Line 11:
*'''variance''' - The size of the time window that the NPC will randomly spawn in, with half of this value reducing the respawn time and half increasing the respawn time.  E.g. if set to 86400 and the respawn is 604800, then the NPC's respawn will be 7 days +/- 12 hours, or 6.5 to 7.5 days.
*'''variance''' - The size of the time window that the NPC will randomly spawn in, with half of this value reducing the respawn time and half increasing the respawn time.  E.g. if set to 86400 and the respawn is 604800, then the NPC's respawn will be 7 days +/- 12 hours, or 6.5 to 7.5 days.
*'''pathgrid''' - The pathgrid that NPCs spawned by this spawn point will walk after spawning.
*'''pathgrid''' - The pathgrid that NPCs spawned by this spawn point will walk after spawning.
*'''condition''' -
*'''condition''' - Conditions prevent spawning unless the zone's value for the condition allow for it.  This is how day/night NPCs work, for example.  See [http://www.eqemulator.org/forums/showthread.php?t=18171 this link] for more information.  A spawn with condition 0 will always spawn.
*'''cond_value''' -
*'''cond_value''' - The zone's value for this spawn's condition must be equal to or greater than cond_value to allow spawning.  The zone value is set via script or spawn events.
*'''version''' -
*'''version''' -
*'''enabled''' - If this is not a '1' then this spawn point will be disabled.
*'''enabled''' - If this is not a '1' then this spawn point will be disabled.

Revision as of 13:20, 13 April 2018

Spawn Groups

Spawn groups are a collection of spawn points and a list of NPCs that are randomly selected to spawn in those spawn points. Spawn groups also have optional parameters that create a so-called 'roam box', which is a square area of the zone that these NPCs may randomly wander around in. If a roam box is not defined, then pathgrids will need to be created and assigned to spawn points for the NPCs to move.

Spawn Points

Spawn points are the world coordinates where the NPCs will spawn, with some additional parameters:

  • heading - The direction that the NPC will face.
  • respawn - The respawn time in seconds.
  • variance - The size of the time window that the NPC will randomly spawn in, with half of this value reducing the respawn time and half increasing the respawn time. E.g. if set to 86400 and the respawn is 604800, then the NPC's respawn will be 7 days +/- 12 hours, or 6.5 to 7.5 days.
  • pathgrid - The pathgrid that NPCs spawned by this spawn point will walk after spawning.
  • condition - Conditions prevent spawning unless the zone's value for the condition allow for it. This is how day/night NPCs work, for example. See this link for more information. A spawn with condition 0 will always spawn.
  • cond_value - The zone's value for this spawn's condition must be equal to or greater than cond_value to allow spawning. The zone value is set via script or spawn events.
  • version -
  • enabled - If this is not a '1' then this spawn point will be disabled.
  • animation - The position that the NPC will end up in after spawning. I.e. standing, sitting, couching, etc.
  • boot respawn - The amount of time after server reboot before the NPC spawns. If this is non-zero then this will override any previous spawn timer.
  • boot variance - This functions like the 'variance' parameter for boot respawns.
  • clear on boot - If this is '1' then reboots will clear the respawn timer for this spawn point. Boot respawns still apply.