Hunt Locations and Natural Resources: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Line 8: Line 8:


== Hunt Locations ==
== Hunt Locations ==
Used when we want a visual 3d object to be spawned as a pickupable item.  
Used when we want a visual 3d object to be spawned as a pickupable item. When the player picks up the item, a new item is scheduled to be spawn later on based on configured interval.


* The table [[hunt_locationsTable|hunt_locations]] is holding this information
* The table [[hunt_locationsTable|hunt_locations]] is holding this information

Revision as of 22:35, 30 November 2021

We have two different ways to configure locations where players can gather materials.

Natural Resources

Used when we need invisible items to be harvested, example a mine will be modeled in 3d, but the individual ore are not 3d objects in the world.

So we configure a location on the map, defined by a center (in x/y/z coordinates) and a radius, where the player will be able to harvest. We also define the tool to be used (example a rock pick), the difficulty, and the resulting item.

Hunt Locations

Used when we want a visual 3d object to be spawned as a pickupable item. When the player picks up the item, a new item is scheduled to be spawn later on based on configured interval.