Is it possible to figure out what is the biome at a given x,y coordinates ?
Edit : I realize im kinda spamming the forum with my questions. Rest assured that I only rely on it after spending quite some time trying to find a solution to my problems myself. Anyways Im making great progress. I have to say Oxide provides the best modding conditions I could have asked for, thank to the devs for their awesome work !
Getting biome at coordinates?
Discussion in 'Rust Development' started by Yatta, Jul 4, 2016.
-
You yould start here your luck:
Code:// TerrainBiomeMap public float GetBiome(Vector3 worldPos, int mask) { float normX = TerrainMeta.NormalizeX(worldPos.x); float normZ = TerrainMeta.NormalizeZ(worldPos.z); return this.GetBiome(normX, normZ, mask); }
-
I do have a TerrainBiomeMap class, but nothing from it is accessible. Am I missing something ?