Bug Tracker – Bug 1272

Modern Controls WASD

Last modified: 2019-03-14 19:47:49 CDT
Bug 1272 - Modern Controls WASD
Summary: Modern Controls WASD
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Client (show other bugs)
Version: 0.8.x
Hardware: All Other
: P5 enhancement
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks: 1275
  Show dependency tree
 
Reported: 2019-02-22 13:44 CST by HeX_Vulture
Modified: 2019-03-14 19:47 CDT (History)
2 users (show)

See Also:

Attachments

patch for modern binds (4.14 KB, patch)
2019-02-22 13:44 CST, HeX_Vulture
Details | Diff
patch2 for modern controls (3.23 KB, patch)
2019-02-23 15:47 CST, HeX_Vulture
Details | Diff
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description HeX_Vulture 2019-02-22 13:44:58 CST
Created attachment 571 [details]
patch for modern binds

In an attempt to make the Odamex experience less hassle and more user friendly, here is a patch to modernize the controls.

**Changes**
	"bind leftshift \"centerview; toggle cl_mouselook\"; "   // modern controls for enabling freelook
	"bind e +use; "                                         // modern control WASD+E
        "bind w +forward; "
	"bind a +moveleft; "
	"bind s +back; "
	"bind d +moveright; "
	"bind r +moveup; "                                      //fly up in water and spectating
	"bind v +movedown; "                                    //fly down in water and spectating
	"bind space +jump; "                                    //now jump instead of use
	"bind tab +showscores; "            //move showscores to tab for modern controls
	"bind enter messagemode; "          // bind chat to enter instead of T
	"bind y messagemode2; "
	"bind \\\\ togglemap; "				// move automap to \ for modern controls
	"bind mwheeldown weapnext; "        //new for modern controls
	"bind mwheelup weapprev;"           //new for modern controls

removed cl_run being on capslock (now unused) and turned cl_run on by default.
m_forward is now default 0
Comment 1 Maëllig Desmottes 2019-02-23 11:29:15 CST
I'm OK for this change, but ONLY with the basic WASD and cl_run keys.
For the messagemode, t and ENTER would be good too. Y is perfect.

The rest wouldn't feel like the vanilla DOOM standards.
Comment 2 HeX_Vulture 2019-02-23 15:47:32 CST
Created attachment 572 [details]
patch2 for modern controls
Comment 3 HeX_Vulture 2019-02-23 15:47:48 CST
By request.... (patch2)

"bind rightshift +speed; "          // Odamex breaks shift into two seperate buttons
"bind e +use; "                      // modern control WASD+E
"bind w +forward; "
"bind a +moveleft; "
"bind s +back; "
"bind d +moveright; "
//  "bind capslock \"toggle cl_run\"; "	// <- no longer recommended
"bind enter messagemode; "          // added for modern controls
"bind t messagemode; "
"bind mwheeldown weapnext; "        //new for modern controls
"bind mwheelup weapprev; "           //new for modern controls

CVAR_RANGE(		m_forward, "0", "",
				CVARTYPE_FLOAT, CVAR_CLIENTARCHIVE | CVAR_NOENABLEDISABLE, 0.0f, 100.0f)