Differences

This shows you the differences between two versions of the page.

Link to this comparison view

attacherconfig [2017/05/24 14:27] (current)
Line 1: Line 1:
 +====== Vehicle Customisation Configurations (Attacher) ======  ​
  
 +Game Version: ​     \\
 +Programs required: ​
 +----
 +
 +[[modding_tutorials|Modding Index]] | [[vehicle_modding|Vehicle Tutorials]]
 +
 +----
 +
 +===== Tutorial Intro =====
 +
 +
 +
 +===== Prep Work =====
 +
 +
 +
 +===== Full Details =====
 +
 +I've decided to not use the silly looking multi-coloured explanations anymore so with this one I have tried to make it easier to see.
 +
 +[hr]
 +
 +[size=14pt]Input Attacher Options:​[/​size]
 +
 +[code]<​inputAttacherJointConfigurations>​
 +        <​inputAttacherJointConfiguration name=""​ price="">​[/​code]
 +
 +[color=green]name[/​color]="​$l10n_configuration_inputAttacher3Point"​
 +            "​$l10n_configuration_inputAttacherWheelLoader"​
 +            "​$l10n_configuration_inputAttacherSkidSteer"​
 +            "​$l10n_configuration_inputAttacherFrontLoader"​
 +            "​$l10n_configuration_inputAttacherTelehandler"​
 +
 +[code]<​inputAttacherJoint index=""​ topReferenceNode=""​ jointType=""​ isControllable=""​ lowerRotLimitScale=""​ lowerDistanceToGround=""​ upperRotLimitScale=""​ lowerTransLimitScale=""​ upperTransLimitScale=""​ upperDistanceToGround=""​ upperRotationOffset=""​ />​[/​code]
 +
 +[color=green]index[/​color]="​[b]Index of the attacher joint[/​b]"​
 +[color=green]topReferenceNode[/​color]="​[b]Reference to the top node of the attacher joint[/​b]"​ [i]3-Point Only[/i]
 +[color=green]jointType[/​color]="​implement"​
 +                  "​wheelLoader"​
 +                  "​skidSteer"​
 +                  "​frontLoader"​
 +                  "​telehandler"​
 +[color=green]isControllable[/​color]="​[b]Boolean deciding if the attacher type allows mouse control (mostly designed for 3-point implements that can't be moved otherwise[/​b]" ​
 +[color=green]lowerRotLimitScale[/​color]="​[b]X Y Z lowest limit on rotation(Mostly 0 0 0)[/​b]"​ [i]3-Point Onky[/i]
 +[color=green]lowerDistanceToGround[/​color]="​[b]Distance that the bottom attacher lowers from the lifted position***[/​b]"​ [i]3-Point Only[/i]
 +[color=green]upperRotLimitScale[/​color]="​[b]X Y Z highest limit on rotation (Mostly 0 0 0)[/​b]"​ [i]3-Point Only[/i]
 +[color=green]lowerTransLimitScale[/​color]="​[b]X Y Z lowest limit on the implement translation[/​b]"​ [i]3-Point Only[/i]
 +[color=green]upperTransLimitScale[/​color]="​[b]X Y Z highest limit on implement translation[/​b]"​ [i]3-Point Only[/i]
 +[color=green]upperDistanceToGround[/​color]="​[b]Distance of the attacher joint to the ground when lifted***[/​b]"​ [i]3-Point Only[/i]
 +[color=green]upperRotationOffset[/​color]="​[b]Offset placed on the rotation of the upper attacher[/​b]"​ [i]3-Point Only[/i]
 +
 +[i]Please note that I'm not positive on what all the parameters do but I've written what I can figure out. However they are all the same as any implement meaning I'm sure there is more information out there on them specifically[/​i]
 +
 +[code]<​objectChange node=""​ visibilityActive=""​  visibilityInactive=""/>​[/​code]
 +
 +[color=green]node[/​color]="​[b]Node of the model for the selected attacher joint[/​b]"​
 +[color=green]visibilityActive[/​color]="​[b]Boolean to decide if the object node sets the object to be visible or not[/​b]"​
 +[color=green]visibilityInactive[/​color]="​[b]Boolean to decide if the object node sets the object to be invisible or not[/​b]"​
 +
 +[code]</​inputAttacherJointConfiguration>​[/​code]
 +[code]</​inputAttacherJointConfigurations>​[/​code]
 +
 +[i]As a note, if the attacher type isn't a 3-Point attacher, the only parameters needed in the [color=red]<​inputAttacherJoint  />​[/​color] section are [color=green]index[/​color] and [color=green]jointType[/​color][/​i]
 +
 +[hr]
 +
 +[size=14pt]Front Loader Options:​[/​size]
 +
 +[code]<​frontloaderConfigurations>​
 +        <​frontloaderConfiguration name=""​ price=""​ >[/code]
 +
 +[color=green]name[/​color]="​$l10n_ui_no"​
 +            "​$l10n_ui_yes"​
 +
 +[code]<​objectChange node=""​ visibilityActive=""​ visibilityInactive=""/>​[/​code]
 +
 +[color=green]node[/​color]="​[b]The node of the front loader block[/​b]"​
 +[color=green]visibilityActive[/​color]="​[b]Boolean to set if the front loader block is visible or not[/​b]"​
 +[color=green]visibilityInactive[/​color]="​[b]Boolean setting if the object is invisible or not[/​b]"​
 +
 +[code]<​attacherJoint index=""​ jointType="​attachableFrontloader"​ upperRotation=""​ lowerRotation=""​ lowerTransLimit=""​ lowerRotLimit=""​ moveTime=""​ >[/code]
 +
 +[color=green]index[/​color]="​[b]The node of the front loader attacher joint[/​b]"​
 +[color=green]upperRotation[/​color]="​[b]X Y Z Set upper rotation of the attacher joint (Usually 0 0 0 )[/b]"
 +[color=green]lowerRotation[/​color]="​[b]X Y Z Set lower attacher joint rotation (Usually 0 0 0 )[/b]"
 +[color=green]lowerTransLimit[/​color]="​[b]X Y Z Smallest amount of translation with the attacher (Usually 0 0 0 )[/b]"
 +[color=green]lowerRotLimit[/​color]="​[b]X Y Z Sets a limit of the lowering rotation to avoid model collisions (Usually 0 0 0 )[/b]"
 +[color=green]moveTime[/​color]="​[b]Speed of the attacher joint rotation[/​b]"​
 +
 +[code]<​schema position="​0 0.4" rotation="​0"​ invertX="​true"​ />​[/​code]
 +[code] </​attacherJoint>​[/​code]
 +[code]</​frontloaderConfiguration>​[/​code]
 +[code]</​frontloaderConfigurations>​[/​code]
 +
 +[i]The general front loader setup involves having two configurations with a yes/no option which needs the objects involved setting on or off depending on which option is chosen[/i]
 +
 +[hr]
 +
 +Thanks|Chocolatecake2001
 +
 +----
 +
 +Original Author: ​ Chocolatecake2001 | Date: November 04, 2016
 +        ​
 +[[modding_tutorials|Modding Index]] | [[vehicle_modding|Vehicle Tutorials]]\\
 +
 +{{:​fsukwiki.png?​nolink&​200 |}}