Jump to content

Recommended Posts

Posted

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?

 

  • Like 3

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted (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 by Kanelbolle
  • Like 1
Posted
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.

.

Posted
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....

Posted
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.

.

  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...