Author Topic: Suggestion: "Precise mouse mode"  (Read 850 times)

Nicant

  • Community Guild
  • *****
  • Posts: 431
  • hello!
Suggestion: "Precise mouse mode"
« on: November 07, 2018, 04:08:08 pm »
Watching a few streams on CW4, I had the idea of holding a key to slow the mouse cursor down a bit to be more precise when building units/painting terrain. For example, if you hold down the Alt key, your mouse cursor will slow down and you can place units more accurately(Like the tower/collector unit). Any thoughts?
CW4 hype!

Karsten75

  • Hero Member
  • *****
  • Posts: 6737
Re: Suggestion: "Precise mouse mode"
« Reply #1 on: November 07, 2018, 07:30:25 pm »
I wonder if that could help with "drawing" straight lines for terraforming or terrain in the editor.
"Any leftover cabbage can and will be mixed with mayo"
   - Cole's Law

knucracker

  • Administrator
  • *****
  • Posts: 11740
Re: Suggestion: "Precise mouse mode"
« Reply #2 on: November 08, 2018, 07:50:43 am »
I use a hardware cursor... so cursor movement doesn't get sluggish on machines where the game runs slowly.  So the only thing I think I can control is the image of the cursor.  The movement is under the control of the OS (and it is more complicated that you might think... it isn't a linear response on either windows or the mac, and the movement curve on MacOS is different than under windows, can be configured, etc.)

Karsten75

  • Hero Member
  • *****
  • Posts: 6737
Re: Suggestion: "Precise mouse mode"
« Reply #3 on: November 08, 2018, 11:13:09 am »
And I recently found out that Windows basically ignores the mouse acceleration  settings. :)
"Any leftover cabbage can and will be mixed with mayo"
   - Cole's Law

Nicant

  • Community Guild
  • *****
  • Posts: 431
  • hello!
Re: Suggestion: "Precise mouse mode"
« Reply #4 on: November 10, 2018, 12:53:31 pm »
Ah, that sucks. Thanks for responding!
CW4 hype!

Ionizer

  • Jr. Member
  • **
  • Posts: 9
Re: Suggestion: "Precise mouse mode"
« Reply #5 on: January 09, 2019, 09:06:42 pm »
I wonder if that could help with "drawing" straight lines for terraforming or terrain in the editor.

A few ideas.

A modifier key that locks the mouse direction to a single axis.  Other games/paint/drawing programs do this.

Click and drag a line to draw/erase/modify terrain.   Line/circle/square filled/unfilled tools.


MrMikey

  • Newbie
  • *
  • Posts: 2
Re: Suggestion: "Precise mouse mode"
« Reply #6 on: May 08, 2019, 03:01:03 pm »
You guys really need to get a mouse with a snipe button (lowers dpi) or learn how to (abuse) autohotkey - That software can do exactly what you ask (and its freeware), can lock the mouse input to one axis or change the dpi with a keypress. Just requires some basic script language knowhow and it has tons of good tutorials/already made scripts so ite really easy to get into.

If you haven't heard about it... geez - Prepared to get amazed how far script automation have gone (using it with excel com objects etc nearly have automated myself out of work if they found out :)). So in a way... the software made it possible for me top get time to post this tip to you while still "working"

Only issue i can see with this is with a rotatable/isom map... Ie X/Y aren't constants, then some real support are needed in the game. That said a simple key bind with a speed modifier for mouse input shouldn't be many lines of code (Sorry Virgilvv for spilling the beans :))
« Last Edit: May 08, 2019, 03:05:29 pm by MrMikey »