Page 1 of 1

Lua drawing of s3os borked

Posted: 26 Mar 2007, 11:03
by KDR_11k
LUA widgets that draw images of the units (e.g. unit selection, idle cons, ...) draw s3os with their normals inverted for some reason. I don't know if the cause is hardcoded or part of the LUA but either script or engine writers should look into that because it just looks... weird.

Also it uses some weird method to determine how large to draw the unit (which messes the display up with e.g. CvC's drones and units with orbital weapons) instead of simply using the unit center as the center and the radius to determine the scale.

Posted: 26 Mar 2007, 11:51
by rattle
Change line 171 in gui_selbuttons.lua from gl.Culling(GL_FRONT) to gl.Culling(false) (thank you trepan :P). I've had the same issue, this will cause the usual issues with 3dos however.