Jump to content

Recommended Posts

Posted

Smooth Turret Controls


The turret controls are broken.
Or they were.
Now they aren't. lol
 
Sorry, I'm running out of clever ways to monologue these fixes. lol
 
Basically, KOTOR was doing some janky re-centering math based on the 2003 assumption that 728p was the height of resolution technology. This fixes that.
 
(That's honestly a terrible explanation of how this works, I'm going to release a technical guide soon with all of my findings and it will have a better explanation of this lol)
 
(Coded with the assistance of AI; presented under the open source MIT license)

Requirements and Compatibilities:
 
This installer requires the KOTOR Patch Manager (KPM) runtime. KOTOR Modern Restoration Project (KMRP) is supported and includes the required runtime, but KMRP itself is not technically required.... But seriously, you should be using it, it's incredible.

Recommended Installation:
 
1. Download and install KMRP.
2. Download this mod. 
3. Run install.cmd. 
4. Enjoy!
 
(To uninstall, simply run uninstall.cmd)

Advanced Installation (with KMRP): 
 
1. Download the latest version of KPM. Extract the files.
2. Download the .kpatch version of this mod, and place it in the patches folder. 
2. In the bin folder, run KPatchLauncher.exe
3. Use the options at the top to navigate to your swkotor folder, and the KPM folder called patches.
4. Download and install KMRP (You do not need to close KPM).
5. In KPM, select this mod and KMRP (and it's controller support, and any other patches you want except for the 4GB patch, save game memory leak, and Movie Patch, as they are included in or not compatible with KMRP).
6. Click "Apply."
9. ENJOY!

 

  • Like 1
Posted (edited)

Well... It fixes part of that issue. 

There are really two issues, and this fixes one of them. 

The issue this fixes is a bug where it tries to recenter the mouse to the middle of the screen using a delta too small for modern screens, meaning you can kind of only move so far in one direction in one push. I believe this is mainly an issue at 4k, but I haven't had a chance to test it.

There is also an issue, in that the turret controls don't take into account the mouse sensitivity setting whatsoever, it just has a hardcoded value where that should be... And I did fix that, and it worked, but it also changed the feel of the controls in a way that honestly I struggle to describe. Every description I've come up with sounds like a good thing. It was too... snappy, like you could control it too well to feel realistic. It felt bad to me. 

I can absolutely release the mouse sensitivity version, if this doesn't fix the issue for you, or if you just want it. lol

But I would ask that you try the current version first, it would really help me from a testing standpoint. 

Yeah, this has been an issue for a LONG time. As far as I know, since around Windows 7, maybe earlier. Maybe the whole time the game has been on PC, I'm not sure I ever remember controlling the turret properly. Not since the xbox version. lol

It's so nice being able to just play it. lol

Edited by BottomlessThought23
  • Like 1
Posted

Thanks for your reply!

Yes, the problem for me was about the Mouse sensitivty. The mouse was for me almost unusable. The controls were fine using the keyboard, but that minigame is meant to be played with the mouse.

I'll test your current version and come back with feedback.

Thanks for offering to create a version that would help people like me to use the mouse in the game, though! Much appreciated!

Cheers!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.