Forums » Community Projects

new/changed lua functionality for 1.7.53

Dec 22, 2007 raybondo link
gkinterface.SetMouseCursotIndexImage(index, texturename, xhotspot, yhotspot)

where index is 0 to 4, texturename is the filename of a 32x32 png, x/yhotspot is a number from 0 to 1 in texture coordinates of the image.

0 - normal cursor
1 - no-drop cursor (the circle with a bar through it)
2 - drag-copy cursor
3 - drag-move cursor
4 - drag-scroll cursor

cursor 0,3,4 are currently using the same image
cursor 1 has a hotspot of (0.25, 0.25) and the rest are (0,0).

- GROUP_MEMBER_DIED/KILLED events have weapon name as 4th parameter
Jan 17, 2008 blacknet link
GROUP_MEMBER_DIED/KILLED events have weapon name as 4th parameter

Can you add that to PLAYER_DIED as well??
Jan 27, 2008 RelayeR link
I really miss "X killed by Y" in the old sector chat.