Pixel Perfect Posted September 6, 2011 Share Posted September 6, 2011 Is there any way to access the following terrain properties from the C DLL or do I have to parse the sbx file to obtain these: altitude meterspertile Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
franck22000 Posted September 7, 2011 Share Posted September 7, 2011 Hello pixel, glad to see you back as far i know it is not possible, you need to parse the file Quote You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Pixel Perfect Posted September 7, 2011 Author Share Posted September 7, 2011 Hi franck and thanks. Yeah, I've failed to find any exposure of these in the C API so I guess I'll just have to parse it, was hoping to avoid that. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
macklebee Posted September 7, 2011 Share Posted September 7, 2011 as far as i know the altitude is just the Y scale component... you could try using EntityScale() to get that... dunno... EDIT --- and now that i think about it, the meterspertile is just the X component of the terrain's scale... Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Pixel Perfect Posted September 7, 2011 Author Share Posted September 7, 2011 That's an interesting suggestion macklebee. I'll give that a try tonight. Thanks. [EDIT] Worked a treat mate ... many thanks Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.