Additional Unit Cursors

Registered by Renegade

Basically, this would be another improvement on the new mouse cursors logic, allowing modders to specify custom move, deploy and attack-move cursors (the latter may not be as necessary), as well as the weapon cursors.
Example tags would be:
[UNIT]
CursorMove=
CursorNoMove=
CursorAttackMove=
CursorNoAttackMove=
CursorDeploy=
CursorNoDeploy=
Update:
Also, something I forgot to add to the request, Enter cursors:
CursorEnter=
CursorNoEnter=
For something like capturing a building or vehicle, or entering a civilian structure or a transport vehicle.

 would be an entry in the [MouseCursors] section (if you're sticking with such a system). This would allow for use of the old Chrono Move cursors in the mouse.sha file.

Also, on the weapon cursors, would it be possible to have the cursor read for the Secondary weapon as well? Currently only the Primary is read, the Secondary is ignored, and the Primary cursor is displayed instead.

Blueprint information

Status:
Complete
Approver:
AlexB
Priority:
Low
Drafter:
None
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.d
Implementation:
Implemented
Milestone target:
milestone icon 0.d
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

https://blueprints.launchpad.net/ares/+spec/cannot-target-this-function-for-custom-cursors
https://blueprints.launchpad.net/ares/+spec/custom-cursors-on-normal-weapons

----
Implemented as follows. Weapon cursors will be another blueprint. -AlexB

[TechnoType]Cursor.Move= (mouse cursor, defaults to Move)
The cursor to use for representing the move action.

[TechnoType]Cursor.NoMove= (mouse cursor, defaults to NoMove)
The cursor to use for representing the no-move action.

Both move actions might be used as a fallback for representing no-* actions like "no attack", no-enter, ...

[TechnoType]Cursor.Deploy= (mouse cursor, defaults to Deploy)
The cursor used for deploying buildings, ejecting passengers and occupants, emptying bunkers, deploying GIs or Desolators (list might not be conclusive).

[TechnoType]Cursor.NoDeploy= (mouse cursor, defaults to NoDeploy)
The cursor used to indicate passenger ejection action is not available, or an automatically undeploying infantry is currently deployed.

[TechnoType]Cursor.Enter= (mouse cursor, defaults to Enter)
The enter cursor other types get when hovering the mouse over an object of this type. This is used for entering tank bunkers, grinders, service depots, bio reactors, or entering transports.

[TechnoType]Cursor.NoEnter= (mouse cursor, defaults to NoEnter)
The no-enter cursor other types get when hovering the mouse over an object of this type. This is used on full transports.

This is a tag on the building to be infiltrated, not on the spy. It allows to show different cursors for different building types and could be used to visualize the spy effects:

[BuildingType]Cursor.Spy= (mouse cursor, defaults to Enter)
The cursor to show for an Agent infiltrating a building of this type.

-----
Confirmed on the related bug. -AlexB

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.