mountainWild Zones

To easily create or edit existing Wild Zones, I recommend sd-zonecreator, download here:

It is extremely helpful for easily designing simple or complex poly zones.


Creating Wild Zones

Wild Zones control where wild pets can spawn, what species can spawn there, and how fast they respawn


1) Locate the Wild Zones Table

Open: hoff-battlebuddies/config.lua

Find: Config.Wild.Zones

This table contains all wild spawn zones.


2) Add a New Zone Entry

Each zone is keyed by a label (e.g. ["Mirror Park"]). That key can be anything, but keeping it readable helps.

You can create zones using one of these shapes:

Shape
Best For
Required Fields

sphere

quick circular areas

coords, radius

box

rectangles (lots, farms)

coords, length, width

poly

irregular areas (parks, neighborhoods)

coords, points, thickness


3) Configure Spawn Settings

At minimum, a zone should define:

  • speciesPool — which pets can spawn + weights

  • levelRange — min/max spawn level

  • quality — min/max quality tier

  • maxPets — max concurrent wild pets in this zone

  • respawnTime — seconds (random between min/max)

  • enabled — toggle zone on/off

Common optional fields:

  • debug — draws debug helpers

  • thicknesspoly only


Examples

Example A: Sphere Zone (Simple)


Example B: Box Zone (Rectangular)

Use boxes for clean, rectangular spaces like parking lots, yards, or fields.


Example C: Poly Zone (Best for Irregular Areas)

Poly zones are ideal for real map regions (parks/neighborhoods).


Reference

Core Shape Fields

shape

One of:

  • sphere

  • box

  • poly

coords

  • Sphere/Box: center of the zone

  • Poly: a reference Z (used with thickness checks)

Sphere-only

  • radius

Box-only

  • length

  • width

Poly-only

  • points — ordered list of vertices

  • thickness — vertical buffer for the polygon region


Spawn Control Fields

enabled

Toggles the zone on/off without deleting it.

speciesPool

Weighted spawn list:

Higher weight = spawns more often.

levelRange

Spawn level roll:

respawnTime

Spawn timing in seconds (random within range):

quality

Quality tier roll:

maxPets

Maximum number of wild pets that can exist concurrently in the zone.

Last updated