Loading...
  OR  Zero-K Name:    Password:   

UI disappear, Spring.SetCustomCommandDrawData bugged

3 posts, 355 views
Post comment
Filter:    Player:  
sort


2 years ago


Spring.SetCustomCommandDrawData allow to change color or remove the command icon.
So to get less spam, I do remove the move icon appearing on the ground when many units are in play.
but if a terraform order is before or after a move order, the UI disappear and the terraform icon become a mini view of the game.
Once I press shift or deselect, or add a non-move and non-level order, the screen come back to normal until I reselect the con or release shift.

command used:
Spring.SetCustomCommandDrawData(CMD_RAW_MOVE, "", color_table, false)
"" instead of "RawMove" to disable the icon cause this
+0 / -0


2 years ago
Sounds like a crash. Infolog.
+0 / -0


2 years ago
There's no crash and the info log doesnt tell anything when it happens.
As I said in the post, everything come back to normal in situations I cited above.
+0 / -0