HC_Official Posted July 8, 2023 Posted July 8, 2023 we have https://wiki.hoggitworld.com/view/DCS_func_getSurfaceType which is great for working out what type of land or sea is at a location with return values of land.SurfaceType LAND 1 SHALLOW_WATER 2 WATER 3 ROAD 4 RUNWAY 5 Could we please have SurfaceTypeForrest added, which will let us know if a location is covered in trees? 3 No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
Kanelbolle Posted July 8, 2023 Posted July 8, 2023 (edited) 1 minute ago, HC_Official said: we have https://wiki.hoggitworld.com/view/DCS_func_getSurfaceType which is great for working out what type of land or sea is at a location with return values of land.SurfaceType LAND 1 SHALLOW_WATER 2 WATER 3 ROAD 4 RUNWAY 5 Could we please have SurfaceTypeForrest added, which will let us know if a location is covered in trees? And even SurfaceTypeScenery to avoid spawning inside buildings. Edited July 8, 2023 by Kanelbolle 1 WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
HC_Official Posted July 8, 2023 Author Posted July 8, 2023 4 minutes ago, Kanelbolle said: And even SurfaceTypeScenery to avoid spawning inside buildings. I actually had to create some code to work arround that issue I spawn an infantry guy in to the location and query his altitude and compare it to ground height if he is a couple m higher than ground that that location is a building (I then de--spawn him) and try a different random coord No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
Kanelbolle Posted July 8, 2023 Posted July 8, 2023 22 minutes ago, HC_Official said: I actually had to create some code to work arround that issue I spawn an infantry guy in to the location and query his altitude and compare it to ground height if he is a couple m higher than ground that that location is a building (I then de--spawn him) and try a different random coord Yea, smart way of doing it... but should not be necessary... is amassing how little ED care about this issue.... WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
HC_Official Posted July 8, 2023 Author Posted July 8, 2023 22 minutes ago, Kanelbolle said: Yea, smart way of doing it... but should not be necessary... is amassing how little ED care about this issue.... I totally agree No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
Modifikator Posted August 5, 2024 Posted August 5, 2024 I would greatly appreciate if 'Forrest' was added to land.SurfaceTypes ^^ There is no way to detect trees in an area at the moment
Recommended Posts