dimitriov Posted March 14, 2022 Posted March 14, 2022 Hi guys, I'm currently working on a vast ground AI upgrade. I would like to know if you have a way to get the position of a tree or a forest ? Or are these objects impossible to call ? Thank you Nicolas
toutenglisse Posted March 14, 2022 Posted March 14, 2022 I hope that a solution can be made available (either with tree object detection - but means handling big numbers ! - or with surface detection - forest ground texture for example) !
dimitriov Posted March 14, 2022 Author Posted March 14, 2022 (edited) Yes I was thinking on both these solutions. I simply don't know what kind of ID I have to use along SceneryObject Edited March 14, 2022 by dimitriov
HC_Official Posted March 14, 2022 Posted March 14, 2022 trees are not scenary objects sadly No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
Grimes Posted March 14, 2022 Posted March 14, 2022 I would like to think I asked nicely when making feature requests to detect trees. But alas, it is not really* a thing. *They are objects but world.searchObjects can't return them. I'd have to find a screenshot of it. The gist is I had saved world object Ids for checking some bug on the Syria map, I checked the mission after one of the updates to the map, and in that one version of the map some of the object ids corresponded to trees. At least getPoint, getTypeName worked on them. Anyway map updated again and those ids correspond to different objects now. The same goes for other knickknacks on the maps that are very small and have short rendering distance. At least with some of those the ids appear within hit events. 1 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts