|Zoltan Biczo (zoli10)||15.12.2018 22:53|
|Hi! My question: how can I assign a new axis to the game? In the previous version this was the
InputBinding.getAnalogInputAxis(InputBinding.THROTTLE_AXIS) line...but now everything is too complicated for me...
|Jos Kuijpers (Unknown)||02.01.2019 15:43|
|What exactly do you want? The current axis value for a specific input action? (like ACCELERATE)
|Zoltan Biczo (zoli10)||04.01.2019 16:37|
|Yes, I'd like a small script: if the axis value is 0.5, then the cruisecontrol speed is 50% of the maxSpeed. I can do this now with the self.spec_drivable.axisForward line. But can't assign a new input(action?)Binding to the game...
|Bilbo Beutlin (BBeutlin)||04.01.2019 16:46|
|Then you must be doing something wrong.
You can define input bindings (and texts) as usual in the modDesc.xml.
You must merely respect some new notations for certain input events, see "inputBinding.xml".
|Viper Gts (ViperGTS96)||18.01.2019 01:46|
|"inputBinding" is now "actionBinding"
Hope this helps!
Note: Log in to post. Create a new account here.