Toggle power SW cursors can't be customized
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
Fix Released
|
Medium
|
AlexB |
Bug Description
Ares: trunk v0.1.973 & ft-superweapons branch v0.1.972
Currently Toggle Power SW is hardcoded to use (always as valid & not valid cursors) the 384 frame in mouse.sha & it ignores the Ares cursors customization in Super weapons.
##### STEPS TO REPRODUCE #####
I tried with this code:
[TogglePowerSpe
UIName=NOSTR:Toggle Power
Name=Toggle Power
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=0.001
Action=TogglePower
SidebarImage=
ShowTimer=no
DisableableFrom
FlashSidebarTab
AIDefendAgainst=no
; Toggle Power Cursor
Cursor.Frame=684 ; added new cursors for mouse.sha
Cursor.Count=9
Cursor.Interval=5
Cursor.MiniFrame=63
Cursor.MiniCount=-1
Cursor.
; "Not possible" cursor
NoCursor.Frame=693
NoCursor.Count=1
NoCursor.Interval=5
NoCursor.
NoCursor.
NoCursor.
Changed in ares: | |
status: | Fix Committed → Fix Released |
TogglePower is not an actual SW and it will ignore all SW settings, so this is to be expected. There are many problems with TogglePower, and most of them can be fixed by making it a proper command, but the cursor issue would still be there.