Hunt Locations and Natural Resources: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* The table [[natural_resourcesTable|natural_resources]] is holding this information | * The table [[natural_resourcesTable|natural_resources]] is holding this information | ||
Hunt Locations | == Hunt Locations == | ||
* [[hunt_locationsTable|hunt_locations]] | Used when we want a visual 3d object to be spawned as a pickupable item. | ||
* The table [[hunt_locationsTable|hunt_locations]] is holding this information |
Revision as of 22:34, 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.
- The table natural_resources is holding this information
Hunt Locations
Used when we want a visual 3d object to be spawned as a pickupable item.
- The table hunt_locations is holding this information