Community Forum

Button command in game

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created01.09.2015 01:48

Giuseppe Antista (peppe78) 01.09.2015 01:48
sorry my English . can someone explain how to create buttons to activate the aninazioni . I tried with l10 and inputinbuilding but not working . Thanks for your help.

Giuseppe Antista (peppe78) 01.09.2015 01:50
inputBindings... sorry

Emil Drefers (Unknown) 01.09.2015 06:55

please be a bit more precise.

What kind of buttons do you use? Do you use InteractiveControl?
And what kind of animation do you want to control?


Giuseppe Antista (peppe78) 01.09.2015 18:31
I want to create the key buttons to open parts of the vehicle or activate animations created in Maya . I created an animation arm hooklift container to load but do not know how to set it in game

Emil Drefers (Unknown) 02.09.2015 07:41


Well, first of all let me say that you can define animations in the vehicle.xml file too, which is more flexible and better supported.

But an animation created in maya should also work.

What you need is the foldable specialization to be loaded in your mod.
With that you can add an entry like the following in your vehicle.xml file:
<foldingPart rootNode="..." animationClip="..." speedScale="..." componentJointIndex="..." anchorActor="...">

(Note: speedScale, componentJointIndex and anchorActor are optional arguments)

That should be all what is neccessary to be able to start and stop the animation with the button 'x'


Giuseppe Antista (peppe78) 02.09.2015 11:18
ok . thank you. all this for one animation activated by pressing x . but when the two are aninazioni adding another button . top left of the screen are the controls of the game and I would also add my commands animation . how to do?

Emil Drefers (Unknown) 03.09.2015 07:36

if I understand you correctly you would need a custom script for that.


Giuseppe Antista (peppe78) 03.09.2015 09:40

I have the script for the animation but do not know how to put in modDesc to see the keys in game

Emil Drefers (Unknown) 04.09.2015 07:13

it seems that you've created two threads concerning the same problem.
Please try not do that in the future again.

Second thread:

I will answer in the second thread - consider this threa to be *closed*.


Giuseppe Antista (peppe78) 04.09.2015 08:35
Sorry. Ok thanks

Note: Log in to post. Create a new account here.