All pastes #163485 Raw Edit

Fixed 3d cursor

public lua v1 · immutable
·published 2006-09-07 16:08 UTC
rendered paste body
#Global Hooks$Global:[if newcursor == nil then   newcursor = tb.getShipClass("GTF Hercules")endif bankIt == nil then   bankIt = 0endif runtime == nil then   runtime = 0endframeTime = ba.getFrametime()runtime = frameTime + runtimebankIt = bankIt + frameTime*25if bankIt > 100 then   bankIt = 0endms.setMouseHidden(true)if runtime > 0 and ba.getState() ~= "GS_STATE_GAME_PLAY" then   mouse_x = ms.getX() - 5   mouse_y = ms.getY() - 13   newcursor:renderTechModel(mouse_x, mouse_y, mouse_x+64, mouse_y+64, 75, 90, bankIt, 1)end]#End