I found this quote from Superku:

Quote:
-400000...400000 level size is way too big. var ranges from approx. -1024567 to 1024567 (or 999999, that's easier to remember). When you calculate with these huge values, there will probably be many "math" problems: For instance when using vec_dist, the function squares 400000 which is of course above 999999. As a result vec_dist will return nothing useful, so other instructions will do the same.
Scale your whole level down e.g. by 90%.

(I feel like I'm talking rubbish, but this should be correct.)


Maybe I should rescale everything. I am hesitating, there are alot of models to rescale than eek . The map size is:
x -> 500 to 27500
y -> 4500 to 30500
z -> -7000 to 0

(the weird coordinates are cause of the sun positions limitations)

-edit, @pararealist, ty going to try that

-edit 2, @pararealist, setting it 1 (like vector(360, 1, 500)) hits nothing. Setting to e.g. 30 or higher (like vector(360, 30, 500)) hits everything like it does a sphere check.

Last edited by Reconnoiter; 09/01/14 17:18.