Community Forum

terrain info (ground type)

Forum Overview >> Scripting

CategoryScripting
Created07.07.2014 09:56


Sebastian Lampe (Unknown) 07.07.2014 10:12
Hi Community,

I was wondering if there is any way to use the script to get informations about the ground type (e.g. asphalt, dirt, etc.) a vehicle is currently driving on. I know there is a way to do that for a field and I implemented it like it is shown in the scripts of e.g. courseplay, AutoTractor, AutoCombine, etc.

I know that the terrain geometry uses texture layers which would define the ground type for me but I couldn't find a way to access them in the game. Are there any functions that I could use to do that? If not, can you think of any other workaround?

Thanks
Sebastian

Emil Drefers (Unknown) 07.07.2014 17:14
Hi Sebastian,

nope, i'm sorry but there is currently no possibility to get the 'ground type/color'.
You can only check fruits and fields.

Best,
Emil


Note: Log in to post. Create a new account here.