TommInfinite Posted May 26, 2016 Share Posted May 26, 2016 Hi everyone. Is there any way to show player's cursor in gamemode so player can move it? Also - does anyone knows a path to it so I can change it's color\texture if needed? Link to comment Share on other sites More sharing options...
ManehattanProject Posted May 27, 2016 Share Posted May 27, 2016 Hi everyone. Is there any way to show player's cursor in gamemode so player can move it? Also - does anyone knows a path to it so I can change it's color\texture if needed? My instinct for moving the mouse cursor on its own is that it's probably a no. I know even for basic programming that GUI movement is a nightmare (I've tried it...it didn't turn out well). As for the cursor, the only thing I could find was the following in "Fallout - Textures2.bsa" textures\interface\icons\misc\cursor.ddstextures\interface\icons\misc\glow_cursor.dds These may be controlled by the HUD color controller though. I'd have to experiment to be sure. Link to comment Share on other sites More sharing options...
RoyBatterian Posted May 27, 2016 Share Posted May 27, 2016 The cursor is really in the texatlas, you can override it though. There's no set "get/setcursorposition" script commands, and damn I wish there was. Link to comment Share on other sites More sharing options...
Ladez Posted May 27, 2016 Share Posted May 27, 2016 The cursor seems to be something controlled by engine code. I haven't seen it referenced anywhere in the menus. Best approach in my opinion would be to stick to controlling gamemode stuff with keypresses. That said, I did once play around with implementing a fake mouse cursor to use in gamemode. I would set the mouse sensitivity setting to near zero and use the tiny changes in the player's Z and X rotation values to calculate an offset to the cursor's position on the screen. I never got around to making it usable though. That would've involved checking its position for overlaps with clickable elements. :psyduck: @RoyBatty - JIP NVSE does have a GetCursorPosition, but no setter. Menumode only, naturally. Link to comment Share on other sites More sharing options...
TommInfinite Posted May 27, 2016 Author Share Posted May 27, 2016 Ladez, yep I assumed that this method was used - I once saw a video in which cursor appeared in gamemode. It looked pretty precise. I use the same system in gamemode wheel except I do not decrease mouse sens. Because screen jerks anyway.Checking for element overlapping sounds like fun! You should check for XY and then add height and width?(only way I see it). Roy, yes that would be cool. If only there was a menumode which didnt stop menumode or a function which somehow detected mouse movements. Link to comment Share on other sites More sharing options...
RoyBatterian Posted May 27, 2016 Share Posted May 27, 2016 Ah magician JIP, hard to keep track of it all. Set position would be so awesome especially for dealing with inventory... Link to comment Share on other sites More sharing options...
Recommended Posts