Category | Editor |
Created | 28.07.2021 19:39 |
salmonman0604 | 28.07.2021 19:39 |
---|---|
I can see that the terrain height from spline script uses a function called setTerrainHeightAtWorldPos, but I can't find any information on that function or other similar functions. I want to also set the terrain texture underneath my spline. What function can I use for this and where can I find information about them? |
Bilbo Beutlin (BBeutlin) | 28.07.2021 21:39 |
---|---|
Study the scripts in GE install folder. There's already a script "paintTerrainBySpline.lua". Many scripts refer to "editorUtils.lua" where you'll also find infos about terrain changes with 'setTerrainLayerAtWorldPos()'. |
Colin Smith (WrinkleysRule) | 28.07.2021 22:59 |
---|---|
https://farmerboysmodding.com/index.php?/forum/19-mapping/ |
salmonman0604 | 29.07.2021 02:32 |
---|---|
Wow, how did I not see that before?! Thanks for the reply though. Also thanks for the link to other resources. |
Note: Log in to post. Create a new account here.