I tweaked a bit movement values and changed some variable names, I also added spectator "mode" (mode changing not implemented yet)
590 lines
No EOL
22 KiB
Text
590 lines
No EOL
22 KiB
Text
{
|
|
"name": "PlayerInputMap",
|
|
"maps": [
|
|
{
|
|
"name": "GlobalControls",
|
|
"id": "80a94b07-c872-4005-ab13-f6846539b962",
|
|
"actions": [
|
|
{
|
|
"name": "Move",
|
|
"type": "PassThrough",
|
|
"id": "e306a0c6-05e1-41f8-8497-ee988dfacefb",
|
|
"expectedControlType": "Vector2",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "LookX",
|
|
"type": "PassThrough",
|
|
"id": "9e41a01a-35e8-4cfc-84cc-79c5a7b7921f",
|
|
"expectedControlType": "Axis",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "LookY",
|
|
"type": "PassThrough",
|
|
"id": "f46c648c-2667-4e0b-aab6-e407577cc890",
|
|
"expectedControlType": "Axis",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Look",
|
|
"type": "Value",
|
|
"id": "a9fa0561-8e05-48bb-a5b7-391ddfbc1710",
|
|
"expectedControlType": "Vector2",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": true
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"name": "",
|
|
"id": "9b11e168-a64e-4f38-87b5-29ad02d7cde4",
|
|
"path": "<Mouse>/delta/x",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "LookX",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "85545a0e-6f34-45e4-b648-4616c8a0d40b",
|
|
"path": "<Gamepad>/rightStick/x",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "LookX",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "3b61f03a-0cf0-41be-8210-bbac92196458",
|
|
"path": "<Gamepad>/rightStick/y",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "LookY",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "e5f613f7-9836-40b3-bcdc-401db9602926",
|
|
"path": "<Mouse>/delta/y",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "LookY",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "41fe5882-9820-403d-9da9-1ba0a8c437b7",
|
|
"path": "<Gamepad>/rightStick",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Look",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "3e8ae0b3-4972-4351-a77c-2a3125cf7ab7",
|
|
"path": "<Mouse>/delta",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Look",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "WSAD",
|
|
"id": "3a46acbf-ebd5-4e38-933c-d53068556077",
|
|
"path": "2DVector(mode=2)",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "Move",
|
|
"isComposite": true,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "up",
|
|
"id": "94a4b58d-8a4f-409e-bfea-dac4c7d853f0",
|
|
"path": "<Keyboard>/w",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "down",
|
|
"id": "7cee12a9-312a-4384-b4d7-9b87a7ff7e6f",
|
|
"path": "<Keyboard>/s",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "left",
|
|
"id": "09eb7fac-54eb-4d63-97e6-1cf8342612c2",
|
|
"path": "<Keyboard>/a",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "right",
|
|
"id": "df455feb-ac72-4da7-8d5f-920dfa037f30",
|
|
"path": "<Keyboard>/d",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "2D Vector",
|
|
"id": "68d39b58-7346-4964-8cb6-fd351c720e2a",
|
|
"path": "2DVector",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "Move",
|
|
"isComposite": true,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "up",
|
|
"id": "62677d38-551e-46c2-a453-698e6a5c5583",
|
|
"path": "<Gamepad>/leftStick/up",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "down",
|
|
"id": "a9d0ea59-e180-44ca-b0b9-6cd7419244d9",
|
|
"path": "<Gamepad>/leftStick/down",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "left",
|
|
"id": "0f263857-e42c-4820-ae0d-a2d6a765c3d0",
|
|
"path": "<Gamepad>/leftStick/left",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "right",
|
|
"id": "28d03a05-136e-4883-bc46-52e402cfe114",
|
|
"path": "<Gamepad>/leftStick/right",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "AliveControls",
|
|
"id": "4bbdbb06-7af3-4dcc-b82c-da998073329f",
|
|
"actions": [
|
|
{
|
|
"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
|
|
}
|
|
],
|
|
"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": "",
|
|
"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": "SpectatorControls",
|
|
"id": "2cc562f6-1b6c-4033-b783-2a481ab11dec",
|
|
"actions": [
|
|
{
|
|
"name": "SpeedDown",
|
|
"type": "PassThrough",
|
|
"id": "1e150f46-f771-4738-92fc-2fc13b6697b7",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "SpeedUp",
|
|
"type": "PassThrough",
|
|
"id": "4ec09521-b697-424d-b042-16c4c355012c",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "FlyUp",
|
|
"type": "PassThrough",
|
|
"id": "040d9888-cb95-4fad-a331-f2a145bc3734",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "FlyDown",
|
|
"type": "PassThrough",
|
|
"id": "eac59bf7-63bf-49e6-b205-9ee40b7c6543",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"name": "",
|
|
"id": "d6d7fc3a-514a-4be7-9cbc-9013a799f97b",
|
|
"path": "<Keyboard>/leftShift",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "SpeedDown",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "ba11331b-16b8-418a-beff-a7f2b229c9fc",
|
|
"path": "<Gamepad>/leftStickPress",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "SpeedDown",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "94669407-3bdd-4d9e-97a7-cfd8240c719d",
|
|
"path": "<Keyboard>/leftCtrl",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "KeyboardAndMouse",
|
|
"action": "SpeedUp",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "b17b0cd2-d98f-49f0-8515-9c8e7d66d75d",
|
|
"path": "<Gamepad>/rightStickPress",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "SpeedUp",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "ad1fec41-855d-4fb8-a36a-483ddfd01293",
|
|
"path": "<Keyboard>/e",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "FlyUp",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "09208229-bf6f-4337-a4f3-0d7309e57c7c",
|
|
"path": "<Keyboard>/q",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "FlyDown",
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |