Community Forum

Mouse control vehicle

Forum Overview >> Farming Simulator 2013

CategoryFarming Simulator 2013
Created11.12.2012 13:22


Boanca Vasile (Unknown) 11.12.2012 13:24
hi can somebody help
for example a tractor with mouse control specialization has a back atacher which should translate up and down by mouse but nothing happend
i guess is key error
how to declare mouse control in moddesc
or how to make this to work
thanks
Giants could give us some documentation


Ludovic Fritz (mrludo40) 11.12.2012 17:31
greetings,


is this what you are looking

example:

modDesc.xml
----> <specialization Name="mouseControlsVehicle" />



véhicule.xml
<mouseControls>
<mouseControl iconFilename="Textures/Controlefleche.dds" mouseButton="LEFT" mouseAxis="Y" axis="AXIS_FRONTLOADER_ARM" />
     </ mouseControls>

  <movingTools>
<! - mobile arrow ->
<movingTool index="0> 6 | 12 "anchorActor =" 0 "rotSpeed &#8203;&#8203;=" 5 "rotAcceleration =" 80 "rotMax =" 2 "rotMin =" -2 "axis =" AXIS_FRONTLOADER_ARM "invertAxis =" true "= mouseAxis" AXIS_FRONTLOADER_ARM "invertMouseAxis =" true "speedFactor =" 0.3 "> </ movingTool>
     </ movingTools>


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