Ultrawings 2 Readme
Ultrawings 2 Readme
bitplanet games
Example:
Bad:
dimension
2
= 2
Good:
# Base
actionType = "move"
idIsDigit = false
Warning:
When you decide to change the configuration schema, please make sure to make a backup copy
of the original one to avoid any potential game-breaking issues.
Schema Location
The schema should be included in the game you purchased and is usually located on
<installation folder>/StreamingAssets/Data/Config/Controller/Schema/. This is only available
for PC at the moment.
Decimal 0.1045
Int 8
Bool true
3
Action Types:
Input ID
There are two types of input ID, one that uses string (“ ”) or int ( 7 ). These are represented as
stringId and intId attributes and is dependent on the controller types used. For example
gamepads usually uses string for its input identification.
Base
The basic attributes inherent to all controllers.
Data
Field Type Type Description
actionType string The type of action associated with the control scheme. Ex. run, walk, strafe, etc.
idIsDigit bool Condition that tells if the input is specifically int or string based in terms of ID.
intId int The integer-based ID input.
stringId string The string-based ID input.
isHandedContr
oller bool Determines whether the controller is a handed type of controller.
4
Alter
Attributes used for input manipulation.
Data
Field Type Type Description
fromMin float The original input minimum analog range.
fromMax float The original input maximum analog range.
toMin float The minimum desired analog range.
toMax float The maximum desired analog range.
True if the input is constrained to a range. False if the input value will be offset
constrain bool and or multiplied instead.
offset float Offset the original value. Set default to 0 if not used.
multiplier float Multiplies the original value. Set default to 1 if not used.
invert bool Inverts the original value.
Any resulting input will be made to an absolute value. Useful for inputs that
have different triggers, same input ID's but have a polarized or varying min to
absoluteValue bool max input results. Ex: Left Trigger: 0 : 1 Right Trigger: 0 : -1.
Analog
Attributes used for controller inputs with dimensionality for getting axis values.
Data
Field Type Type Description
The type of axis that will be used to determine the input that will be returned.
axis string Ex. x, y or z.
dimension int The dimension of the axis. 1 = 1D, 2 = 2D, usw.
inputThreshold float The threshold value where input is considered triggered.
5
Desktop
Attributes for PC based peripherals like keyboard, mouse and gamepad combo.
Field Type Data Type Description
Type of desktop peripherals to be associated with the input
desktopControllerType string (mouse, keyboard, gamepad)
Handedness
Attributes for handed-based controllers like the Oculus Touch.
Handed Types
● none
● left
● right
Haptic
Attributes for controllers with haptic touch functionality like the near touch with Oculus
controllers.
Field Type Data Type Description
isNearTouch bool If the input to be retrieved is based on near touch functionality.
6
Oculus
Attributes for Oculus-based controllers like the Oculus Touch.
Field Type Data Type Description
ovrControllerType string Type of oculus controller type to be used.
The type of oculus input type. Basically the type of oculus device used
oculusInputType string as input.