SC2Mapster Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Cursors

Description

This is where you can access every image used as a mouse cursor in StarCraft 2 and add your own custom cursors. To do so you simply define an imported image in the "Texture" field and tweak the "Hotspot X" and "Hotspot Y" to the pixel on your image you want your cursor to click from. X 0 and Y 0 are the middle of the image.

Hints

  • The cursor used when hovering over a unit can be selected using the Set Unit Highlight Cursor and Set Unit Ping Cursor action definitions.
  • The race specific cursor used for the mouse is automatically determined by the Attribute Id of the race from the Races data type after the name of the cursor and defaults to Terran if no race specific cursor exists.

Fields

Editor Name

  • The name of the cursor
  • The game engine is hardcoded to recognise the name Ids of cursors for determining the different mouse cursors of each race. All cursor names for these purposes should have the format CursorType_RaceAttributeId. For example an arrow cursor (the most commonly shown one) for the Neutral race should be named Arrow_Neut

Hotspot X

  • X position of the texture pixel, you want to click (0 =middle)

Hotspot Y

  • Y position of the texture pixel, you want to click (0 =middle)

Texture

  • Texture used for the cursor
  • Need to be .dds or .tga format files

Related

  • Races
  • Set Unit Highlight Cursor
  • Set Unit Ping Cursor
Advertisement