Oliver that's alright. However, maybe you can help me how to convert these two c-script lines generated by IceX 2.0 patched. I tried it with A7 c-script and it worked, but while trying the conversion to Lite-C i'd got stuck with the d3d_loadfactor. Or did you mean something else with no Lite-C support

Code:
var d3d_lodfactor[3] = 12.5, 22, 32;



Code:
if(vec_dist(my.x ,render_view.x) <= (d3d_lodfactor[1]*(render_view.clip_far/100)))



Thanks.


smile