I have finished basic features of character controller and polished it quite a bit but there is a pair of missing features: walking up ladders, swiming
472 lines
No EOL
18 KiB
Text
472 lines
No EOL
18 KiB
Text
{
|
|
"name": "Player",
|
|
"maps": [
|
|
{
|
|
"name": "Controlls",
|
|
"id": "4bbdbb06-7af3-4dcc-b82c-da998073329f",
|
|
"actions": [
|
|
{
|
|
"name": "Walk",
|
|
"type": "PassThrough",
|
|
"id": "ae5b37b6-edb0-46fa-b484-1047b375607b",
|
|
"expectedControlType": "Vector2",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Sprint",
|
|
"type": "PassThrough",
|
|
"id": "10271c6e-81f1-4275-b98c-ebfd4131fad9",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Crouch",
|
|
"type": "PassThrough",
|
|
"id": "5a8c769a-b10c-4a17-85f9-5228ef534769",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Jump",
|
|
"type": "PassThrough",
|
|
"id": "edb5e334-0aab-4f72-8872-53382954c983",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "Hold(duration=0.2)",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Interact",
|
|
"type": "Button",
|
|
"id": "cf1e17de-957c-4f6c-9fbc-ae16016dcf17",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Shop",
|
|
"type": "Button",
|
|
"id": "f0c5d1ce-c578-4d69-84f9-8438ac07a980",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Aim",
|
|
"type": "Button",
|
|
"id": "f670a1f3-22f8-492a-bdb5-756e59cf04f5",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Shoot",
|
|
"type": "Button",
|
|
"id": "62392260-928c-4413-9867-8162ddc0c87b",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "DropItem",
|
|
"type": "Button",
|
|
"id": "72a1ad19-24ab-49b6-809e-deb4eb965511",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "DropAmmo",
|
|
"type": "Button",
|
|
"id": "edeec6c4-5830-4f8e-a28d-17b84b853805",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "LookX",
|
|
"type": "PassThrough",
|
|
"id": "dd3390ea-d08d-43d4-8916-e6981e8c44ff",
|
|
"expectedControlType": "Axis",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "LookY",
|
|
"type": "PassThrough",
|
|
"id": "41a8cb22-7344-404a-88f3-bfbd720a18d0",
|
|
"expectedControlType": "Axis",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Look",
|
|
"type": "Value",
|
|
"id": "bf60ade9-f32c-42bc-a5a2-963c35d51b10",
|
|
"expectedControlType": "Vector2",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": true
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"name": "",
|
|
"id": "3055d9ef-ce59-4f47-bf8e-d5ccf63875c7",
|
|
"path": "<Keyboard>/leftShift",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Sprint",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "f52a467d-e5b9-46b4-853d-99cba0831d27",
|
|
"path": "<Gamepad>/leftStickPress",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Sprint",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "1e0d7acb-150e-4fc9-a91b-9a1998d31dfa",
|
|
"path": "<Keyboard>/leftCtrl",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Crouch",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "e65908e5-706f-405b-9dbe-34e12affa0ad",
|
|
"path": "<Gamepad>/rightStickPress",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Crouch",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "8104f8e5-f27a-4956-8ef9-2002b280980e",
|
|
"path": "<Keyboard>/space",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Jump",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "a511a48c-f2a0-4769-84f2-46093bd46c26",
|
|
"path": "<Gamepad>/buttonSouth",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Jump",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "b9a43359-0859-4b15-9919-4cebb67966d7",
|
|
"path": "<Mouse>/rightButton",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Aim",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "8c15ccc3-64df-41e5-bc81-49242eda9bc7",
|
|
"path": "<Mouse>/leftButton",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Shoot",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "b8937cc8-d75f-4fcc-b934-3c2a5c18bb71",
|
|
"path": "<Keyboard>/e",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Interact",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "WSAD",
|
|
"id": "b3483537-e801-4a67-b733-c606e902a01d",
|
|
"path": "2DVector(mode=2)",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "Walk",
|
|
"isComposite": true,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "up",
|
|
"id": "157b46bb-b71e-4a9a-953b-7118a4717e98",
|
|
"path": "<Keyboard>/w",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "down",
|
|
"id": "53b32fc3-1953-44e9-a426-731c051a4dda",
|
|
"path": "<Keyboard>/s",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "left",
|
|
"id": "36eefb0e-f89a-4ecf-bff4-9c0c416ad941",
|
|
"path": "<Keyboard>/a",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "right",
|
|
"id": "abfd1090-1e03-46e2-9513-cada83db6b50",
|
|
"path": "<Keyboard>/d",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "2D Vector",
|
|
"id": "a6dbb289-a4e4-4df9-9ec2-104398f5b992",
|
|
"path": "2DVector",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "Walk",
|
|
"isComposite": true,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "up",
|
|
"id": "78783fb6-7e37-449a-bd3b-eebba6036e2b",
|
|
"path": "<Gamepad>/leftStick/up",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "down",
|
|
"id": "818e11ba-1a73-450a-adfe-e8325786b944",
|
|
"path": "<Gamepad>/leftStick/down",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "left",
|
|
"id": "04271ba8-a18d-4cd2-b6a0-6d075768e238",
|
|
"path": "<Gamepad>/leftStick/left",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "right",
|
|
"id": "4abfa1d6-2fd4-4c68-95c3-ad5a96b395f8",
|
|
"path": "<Gamepad>/leftStick/right",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Walk",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "d901207b-8d93-4616-9604-0c5512c31043",
|
|
"path": "<Keyboard>/c",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Shop",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "4567bccd-75dc-4c5f-9aa1-b8fa4cb42e40",
|
|
"path": "<Keyboard>/q",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "DropItem",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "43820282-7818-4d21-b1df-84b622d5abb9",
|
|
"path": "<Keyboard>/z",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "DropAmmo",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "28218d15-65b8-4844-92d6-43077a7ef2de",
|
|
"path": "<Mouse>/delta/x",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "LookX",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "c84fc16d-14a0-4f70-9974-685479021d7c",
|
|
"path": "<Gamepad>/rightStick/x",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "LookX",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "8193ed21-c881-4d25-8b79-1b9d20eada5f",
|
|
"path": "<Gamepad>/rightStick/y",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "LookY",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "f5044c4f-a79a-42a2-8da3-9063c0b7a76c",
|
|
"path": "<Mouse>/delta/y",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "LookY",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "a716393e-407f-4eaa-8b07-96314914ccff",
|
|
"path": "<Gamepad>/rightStick",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Look",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "e5d7131f-7a50-44e8-b6d8-1f34bcc95e00",
|
|
"path": "<Mouse>/delta",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Look",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"controlSchemes": [
|
|
{
|
|
"name": "KeyboardAndMouse",
|
|
"bindingGroup": "KeyboardAndMouse",
|
|
"devices": [
|
|
{
|
|
"devicePath": "<Keyboard>",
|
|
"isOptional": false,
|
|
"isOR": false
|
|
},
|
|
{
|
|
"devicePath": "<Mouse>",
|
|
"isOptional": false,
|
|
"isOR": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Gamepad",
|
|
"bindingGroup": "Gamepad",
|
|
"devices": [
|
|
{
|
|
"devicePath": "<Gamepad>",
|
|
"isOptional": false,
|
|
"isOR": false
|
|
},
|
|
{
|
|
"devicePath": "<XInputController>",
|
|
"isOptional": true,
|
|
"isOR": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |