Moderators Tut Posted November 7, 2019 Moderators Posted November 7, 2019 Question 1: Say, I would replace the following model with a volcano. Would I then be able to replace its LOD model with an optimized version of my volcano model? So that my volcano would have a high poly and low poly variant for performance reasons. Question 2: On this page https://wiki.multitheftauto.com/wiki/SetLowLODElement in one of the examples it mentions that the maximum distance for the low-LOD would be 300, as seen below: -- Set the draw distance for the model we are using for low LOD to maximum triggerClientEvent("onClientChangeModelLODDistance", resourceRoot, 5154, 300 ) Isn't the maximum distance around 700 or so? As far as I'm aware it's 300 for regular models and a lot higher for LOD models. Can I achieve a higher distance somehow? PS. the above are mere examples; I'm not trying to script anything as we speak, it would just be good to know. Thanks!
gubi Posted November 7, 2019 Posted November 7, 2019 1. Yes: setLowLODElement 2. EngineSetModelLODDistance Quote For low LOD elements, engineSetModelLODDistance still has a limit of 300 units, but the actual draw distance used is 5 times the setting value. Also, low LOD elements ignore the 'Video' tab draw distance slider. So a setting of 200 will mean a low LOD element will always have a draw distance of 1000 units. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now