Curator asked me on this one, but since its so useful I thought I'd throw it open to everyone as I forgot how flexible this could be. Apologies to Curator if Ive ruined an exclusive for him.
You can use W3D models as mouse cursors & pointers rather than stick with the Windows ones. Before I go on, this is from memory and old INI files and I havent tested this with the final release but I do know that the codes are valid.
Place the W3D files from the attached ZIP into your mods Art\W3D directory as usual. You dont need any textures, any that are needed ship with the game anyway, but you can reskin the cursors if you want (see below).
First off, you need to edit MOUSE.INI to get the game to use these instead of the default Windows type cursors. Each section in MOUSE.INI should remain the same as the game is hardwired to use those specific section names for the various cursors - you cant just 'add' new ones.
The difference is, whereas the game normally uses a section like this to define the cursor;-
MouseCursor Target
Texture = SCCAttack
Image = SCCAttack
End
You now need to make that section look like this instead;-
MouseCursor Target
W3DModel = SCCAttack
Texture = SCCAttack.tga
W3DAnim = SCCAttack.SCCAttack
W3DScale = 0.1
End
The Texture = tag allows you to have a greater degree of control over your cursors - you can skin them and thus get them to fit with your mod. Personally, I advise leaving W3DScale = at its default setting of 0.1 - small changes in this value can have quite a drastic effect, and if youre not careful the cursor can quite literally end up filling the screen.
As usual, theres a way of adding some value here for that extra niceness in your mod. Using W3D cursors allows you to apply individual and cursor-specific 'tooltips'. Take a look at this example section to see how its done;-
MouseCursor Target
CursorText = Mouse:Enter
CursorTextColor = R:255 G:255 B:255 A:255
CursorTextDropColor = R:0 G: 0 B: 0 A:255
W3DModel = SCCAttack
Texture = SCCAttack.tga
W3DAnim = SCCAttack.SCCAttack
W3DScale = 0.1
End
The first three tags allow you to define and specify the tooltip on a per-cursor basis. The tooltip text itself is called by the CursorText = tag which points to an entry in your string file. Coincidently, those strings are still in the games CSF file too.
There was a way of utilising DirectX8 direct-rendered cursors too, but I cant remember how that was done and in either case they offered no advantages over W3D ones.
Hope thats of some use
