Well, I've been thinking. Is there a way to completely change the appearance of the cursor. Let's say I wanted to turn it into an image of crosshairs for a shooter map, or perhaps an invisible image so that, after a load saved game, it doesn't appear in cutscenes or cinematics. I'm not sure about triggers supporting this, but I understand that some triggers can run by a script? This alternative approach to the "load saved game mouse cursor bug" incident, is it remotely possible?
Please, even if you don't know the answer, make a comment anyway. Or find someone else who might know.
Not sure where to post this reply (here or in the other thread). I have had similar problems with the issue you describe (the cursor being shown after a load) and I think that firstly this is a bug in SC2 and secondly it has a wider impact than just loading games. Indeed, the bug occurs in the following scenario: Start a TPS (or FPS) map with the editor, play a little, then restart it in the editor. The cursors just doesn't want to be hidden in the second game.
As I found out, the bug is triggered if the cursor is hidden in the current game when you start a new one (like in the scenario above); once active, the bug can only be "resetted" by restarting the client. So what I usually did to avoid it is to open the F10 menu in the game before launching the map again (in the F10 menu the cursor is visible). The fact that this little trick works is my main reason for believing that it is actually a bug we are dealing with.
Now to your suggestions: Changing the cursors image is indeed a nice idea which I haven't come up with yet. I don't have access to the editor right now so I cannot test it, but I have some concerns: Firstly, what SC2 does in TPS/FPS camera mode is to put the cursor back to the middle of the screen every tick, which means that if the cursor is shown you will see it moving and jumping. My second concern is that if the bug affects the visibility of the cursors, it may very well also affect its appearance (as I said, I cannot test it right now ...).
Besides that, if you are creating a TPS, have you checked out my mod Orion? It is a quite powerful RPG and TPS engine with UI support, character save/load, a fully customizable quest system etc. PM me if you want to know more about it.
Yep. Just replace the cursor image with a black box and it'll be hidden in-game. Works for any texture, for that matter. It's a pretty brute force solution though.
Yep. Just replace the cursor image with a black box and it'll be hidden in-game. Works for any texture, for that matter. It's a pretty brute force solution though.
Great. Well, just how do I do that?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm sure there are those of you who are familiar with this thread that I made: http://www.sc2mapster.com/forums/development/gui/71086-cursor-problem-in-save-load-of-tps/
Well, I've been thinking. Is there a way to completely change the appearance of the cursor. Let's say I wanted to turn it into an image of crosshairs for a shooter map, or perhaps an invisible image so that, after a load saved game, it doesn't appear in cutscenes or cinematics. I'm not sure about triggers supporting this, but I understand that some triggers can run by a script? This alternative approach to the "load saved game mouse cursor bug" incident, is it remotely possible?
Please, even if you don't know the answer, make a comment anyway. Or find someone else who might know.
Not sure where to post this reply (here or in the other thread). I have had similar problems with the issue you describe (the cursor being shown after a load) and I think that firstly this is a bug in SC2 and secondly it has a wider impact than just loading games. Indeed, the bug occurs in the following scenario: Start a TPS (or FPS) map with the editor, play a little, then restart it in the editor. The cursors just doesn't want to be hidden in the second game.
As I found out, the bug is triggered if the cursor is hidden in the current game when you start a new one (like in the scenario above); once active, the bug can only be "resetted" by restarting the client. So what I usually did to avoid it is to open the F10 menu in the game before launching the map again (in the F10 menu the cursor is visible). The fact that this little trick works is my main reason for believing that it is actually a bug we are dealing with.
Now to your suggestions: Changing the cursors image is indeed a nice idea which I haven't come up with yet. I don't have access to the editor right now so I cannot test it, but I have some concerns: Firstly, what SC2 does in TPS/FPS camera mode is to put the cursor back to the middle of the screen every tick, which means that if the cursor is shown you will see it moving and jumping. My second concern is that if the bug affects the visibility of the cursors, it may very well also affect its appearance (as I said, I cannot test it right now ...).
Besides that, if you are creating a TPS, have you checked out my mod Orion? It is a quite powerful RPG and TPS engine with UI support, character save/load, a fully customizable quest system etc. PM me if you want to know more about it.
Yep. Just replace the cursor image with a black box and it'll be hidden in-game. Works for any texture, for that matter. It's a pretty brute force solution though.
In this case you won't be able to show the cursor in the game, would you? For example, if you want to have a User Interface of some kind.
Great. Well, just how do I do that?