Forums
March 29, 2024, 07:55 AM

Author Topic: wkTrackMeBetter - your anti-CtrlHome  (Read 2455 times)

0 Members and 1 Guest are viewing this topic.

Offline StepS

wkTrackMeBetter - your anti-CtrlHome
« on: January 15, 2017, 05:54 PM »
Suggested by: DonMega

TrackMeBetter is a small WormKit module that lets you configure the size of the in-game camera tracking box. You can set it so that the camera would move earlier than your worm (or mouse cursor, or any weapon) reaches the edge of the screen. This is an experimental replacement for Ctrl+Home.

Options are stored in the wkTrackMeBetter.ini file. The ConfinementPercentage option lets you specify the relative size (in percents) of the camera box. This is the first version, and only the following values are supported at the moment:
  • 200 - makes the camera box cover the whole screen (2x larger than the default). The camera will only move when a given object reaches the edge of the screen. This is ScrollLock-like.
  • 100 - the default (1/2 of the screen, like in the original game).
  • 50 - 1/4 of the screen.
  • 25 - 1/8 of the screen.
  • 0 - enables a CtrlHome-like mode that also works with the cursor and non-worm objects, and doesn't block mouse movement. (Note: this is in fact 0.0244140625%, or 1/8192 of the screen, to avoid calculation errors down the line.)
NOTE: Unfortunately, I had to remove support for 25 and 0 percentages as that had an unintended side effect with Invisibility. This may be resolved in the future. Sorry for the inconvenience. Always frustrating when good features have such side-effects (see wkKeyRemap).

Any unsupported values will be rounded down to the nearest supported.
Most people would want to enable 50. I should note that 50 is more than enough for BigRR/Tower/etc. needs.

The latest version is: 0.0.1.7 for W:A 3.7.2.1, download here.


Planned for future versions:
  • Support for more versions of the game
  • More precise percentage tuning possibility
  • Tune the size of the box directly during the game (via hotkeys)


Post your feedback/suggestions here.
« Last Edit: March 11, 2023, 10:51 PM by StepS »
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline Sensei

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #1 on: January 15, 2017, 05:58 PM »
Huh, this sounds pretty neat. Especially for Big RR's. Will try it asap.
Thx StepS!

Offline Korydex

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #2 on: January 15, 2017, 06:13 PM »
nice idea, gj!

Offline WTF-8

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #3 on: January 15, 2017, 07:58 PM »
a CtrlHome-like mode that also works with the cursor and non-worm objects, and doesn't block mouse movement
just what I needed
works fine so far
thnx
The manual in the installation folder is a pathway to many abilities some consider to be unnatural

Offline WTF-8

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #4 on: January 15, 2017, 09:54 PM »
* 2017-01-15 21.46.32 [Online] @WTF-8, UC`Hurz`dS, MegamanFan, Dr-Abegod`sW.WAgame (208.47 kB - downloaded 59 times.)

with wkTrackMeBetter it crashes at the end of turn one of that replay
idk why
The manual in the installation folder is a pathway to many abilities some consider to be unnatural

Offline StepS

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #5 on: January 15, 2017, 10:05 PM »
with wkTrackMeBetter it crashes at the end of turn one of that replay
idk why
I assume you had the previous (removed) version with 0% enabled. Most likely a calculation error mentioned in the original log (so even 0.02% was not enough to prevent it, but then again I didn't test extensively). The crash is not reproducible from the replay alone.
25 and 0 are removed from the current version due to another issue. They will come back once I sort it out. Your feedback will be noted when that happens, thanks.
« Last Edit: January 15, 2017, 10:16 PM by StepS »
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline Jengu

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #6 on: January 17, 2017, 10:03 AM »
Nice module. It would be better if it were open source but then you would have the TUS crowd up in arms.
           

Offline Sensei

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #7 on: January 17, 2017, 11:48 AM »
Said that I'm gonna try it, so might as well leave a comment too.
Camera in game (value 100, apparently) is much more appealing than 50, imho.

50 made me a bit sick. It was like my worm is traped in some kind of invisible square, trying to escape from it while roping his way through big rr map. Quitte trippy experience.

Nice module anyway, StepS. I'm sure some ppl will use it.

Offline StepS

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #8 on: January 17, 2017, 12:00 PM »
Said that I'm gonna try it, so might as well leave a comment too.
Camera in game (value 100, apparently) is much more appealing than 50, imho.

50 made me a bit sick. It was like my worm is traped in some kind of invisible square, trying to escape from it while roping his way through big rr map. Quitte trippy experience.

Nice module anyway, StepS. I'm sure some ppl will use it.
The effect depends on your resolution. Since the size of the rectangle is relative, it is bigger on full HD resolutions, and smaller on smaller resolutions, much closer to ctrl+home. It plays well on DonMega's 4K resolution, for example.
Perhaps the best solution for the camera would be a negative rectangle, so it could show much more than what lies ahead of your direction of movement. But work has to be done on the base code for that to work smoothly.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Offline h3oCharles

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #9 on: January 17, 2017, 09:47 PM »
It would be funny for the in-game cursors have an CTRL+Home effect xD

Offline Dr Abegod

Re: wkTrackMeBetter - your anti-CtrlHome
« Reply #10 on: January 17, 2017, 10:26 PM »
Perhaps the best solution for the camera would be a negative rectangle, so it could show much more than what lies ahead of your direction of movement. But work has to be done on the base code for that to work smoothly.
This would be awesome, but I imagine crazy fast camera shifting in a bigRR when you bounce off a wall and turn to the opposite direction