Skip to content

zone


_get_map_zone_at_coords

int native.zone._get_map_zone_at_coords(float x, float y, float z, int type)

Returns name hash, see common:/data/levels/rdr3/mapzones.meta

type (-1 matches any type):
class CMapZone
{
public:
    enum class Type
    {
        STATE,
        TOWN,
        LAKE,
        RIVER,
        OIL_SPILL,
        SWAMP,
        OCEAN,
        CREEK,
        POND,
        GLACIER,
        DISTRICT,
        TEXT_PRINTED,
        TEXT_WRITTEN
    };
};

https://github.com/femga/rdr3_discoveries/tree/master/zones & https://alloc8or.re/rdr3/doc/enums/CMapZone__Type.txt

_get_water_map_zone_at_coords

int native.zone._get_water_map_zone_at_coords(float x, float y, float z)

Returns the zone's name hash if its type matches one of the following:
- LAKE
- RIVER
- OIL_SPILL
- SWAMP
- OCEAN
- CREEK
- POND
- GLACIER