##############
Einbauanleitung der Hauer Fronthydraulik (Deutsch):
##############
1. Den Mod in welchen ihr die Fronthydraulik einbauen wollt entpacken
2. Die i3d der Fronthydraulik und des Oberlenkers (inklusive .shapes Dateien) und denn Texturen Ordner in den entpackten Ordner kopieren.
3. Die i3d des Schleppers mit dem Giantseditor öffnen
4. Mit drücken auf "File" -> "Import" die i3d des Fronthydraulik auswählen und importieren.
5. Verschiebt die Transformgruppe "hauerFS-4_28" an die gewünschte Position. 
6. i3d speichern
7. Moddesc des Schleppers öffnen
8. Wenn noch keine <l10n> Einträge vorhanden sind den gesamten Unteren <l10n> Block übernehmen. 
Falls schon welche vorhanden sind, nur den Textblock übernehmen (kein <l10n> und </l10n>)
	<l10n>
       <text name="Hauer">
			<en>Hauer FS4 front lifter</en>
			<de>Hauer FS4 Fronthydraulik</de>
        </text>	
	</l10n>
9. Moddesc speichern
10. XML des schleppers öffnen
11. i3d Mapping einfügen und anpassen
		<i3dMapping id="HauerFS4" node="xxx" />				
		<i3dMapping id="attacherJointFrontRot_Hauer" node="xxx|1|0|0"/>
        <i3dMapping id="attacherJointFrontRot2_Hauer" node="xxx|1|0|0|0"/>
        <i3dMapping id="attacherJointFront_Hauer" node="xxx|1|0|0|0|0"/>
        <i3dMapping id="attacherJointFrontArmBottom_Hauer" node="xxx|1|0|1"/>
        <i3dMapping id="attacherJointFrontArmBottomLink_Hauer" node="xxx|1|0|1|0"/>
        <i3dMapping id="referencePointFrontBottom_Hauer" node="xxx|1|0|1|0|0"/>
        <i3dMapping id="hydraulicFrontRef_Hauer" node="xxx|1|0|1|0|1"/>
        <i3dMapping id="bottomLinkFrontLeft_Hauer" node="xxx|1|0|1|0|2|0"/>
        <i3dMapping id="bottomLinkFrontRight_Hauer" node="xxx|1|0|1|0|2|1"/>
        <i3dMapping id="attacherJointFrontArmTop_Hauer" node="xxx|1|0|2"/>
        <i3dMapping id="hydraulicFront_Hauer" node="xxx|1|1|0"/>
        <i3dMapping id="hydraulicFrontPunch_Hauer" node="xxx|1|1|0|0"/>
		<i3dMapping id="electricFront_Ref" node="xxx|0|3|2|0"/>
		<i3dMapping id="electricFront_cab" node="xxx|0|3|2|1"/>
        <i3dMapping id="HydraulicFront_01_In_Ref" node="xxx|0|3|0|0"/>
        <i3dMapping id="HydraulicFront_01_In_CAB" node="xxx|0|3|0|1"/>
        <i3dMapping id="HydraulicFront_01_Out_Ref" node="xxx|0|3|1|0"/>
        <i3dMapping id="HydraulicFront_01_Out_CAB" node="xxx|0|3|1|1"/>		
		
(Falls kein i3d Mapping vorhanden muss am Anfang noch <i3dMappings> und am Ende </i3dMappings> hinzugefügt werden)
12. Attacherjoints in der XML suchen
13. Wenn Bisher keine Fronthydraulik verbaut war folgenden Eintrag hinzufügen in die <Attacherjoints>
	<attacherJoint node="attacherJointFront_Hauer" upperRotationOffset="-0.43" moveTime="2.5" comboTime="0">
		<distanceToGround upper="1.05" lower="0.25"/>
		<rotationNode node="attacherJointFrontRot_Hauer" upperRotation="-30 0 0" lowerRotation="30 0 0"/>
		<rotationNode2 node="attacherJointFrontRot2_Hauer"/>
		<bottomArm rotationNode="attacherJointFrontArmBottom_Hauer" translationNode="attacherJointFrontArmBottomLink_Hauer" referenceNode="referencePointFrontBottom_Hauer" zScale="1" startRotation="-25 0 0"/>
		<topArm baseNode="attacherJointFrontArmTop_Hauer" filename="upperLink/upperLinkHauer.i3d" zScale="1" />
		<schema position="1 0" rotation="0" invertX="true"/>
		<objectChange node="bottomLinkFrontLeft_Hauer" rotationActive="0 22 -5.25" rotationInactive="-68 22 -5.25"/>
		<objectChange node="bottomLinkFrontRight_Hauer" rotationActive="0 -22 5.25" rotationInactive="-68 -22 5.25"/>
		<objectChange node="attacherJointFrontArmTop_Hauer" translationActive="0 0.17 0" translationInactive="0 -0.07 0.06"/>
	</attacherJoint>

14. Wenn schon eine Fronthydraulik verbaut war Einträge wie folgt abändern:
(Den vorhandenen Attacherjoint in eine Config reinschieben)
	<attacherJointConfigurations>
		<attacherJointConfiguration name="$l10n_configuration_valueDefault" price="3500">
			<attacherJoint node="attacherJointFront" upperRotationOffset="-0.43" moveTime="2.5" comboTime="0">
				<distanceToGround upper="0.94" lower="0.34"/>
				<rotationNode node="attacherJointFrontRot" upperRotation="-33 0 0" lowerRotation="22 0 0"/>
				<rotationNode2 node="attacherJointFrontRot2"/>
				<bottomArm rotationNode="attacherJointFrontArmBottom" translationNode="attacherJointFrontArmBottomLink" referenceNode="referencePointFrontBottom" zScale="1" startRotation="-25 0 0"/>
				<topArm baseNode="attacherJointFrontArmTop" filename="$data/shared/assets/upperLinks/walterscheid01.i3d" zScale="1"/>
				<schema position="1 0" rotation="0" invertX="true"/>
				<objectChange node="bottomLinkFrontLeft" rotationActive="0 29.512 0" rotationInactive="-78 29.512 0"/>
				<objectChange node="bottomLinkFrontRight" rotationActive="0 -28.215 0" rotationInactive="-78 -28.215 0"/>
				<objectChange node="attacherJointFrontArmTop" rotationActive="72.129 0 0" rotationInactive="-90 20.59 -90"/>
				<objectChange node="attacherJointFrontArmTop" translationActive="0.01 1.023 2.065" translationInactive="-0.215 1.069 1.978"/>
			</attacherJoint>
			<objectChange node="HauerFS4" visibilityActive="true"/>
		</attacherJointConfiguration>	
		<attacherJointConfiguration name="$l10n_configuration_HauerFS4" price="4000"> 
			<attacherJoint node="attacherJointFront_Hauer" upperRotationOffset="-0.43" moveTime="2.5" comboTime="0">
				<distanceToGround upper="1.05" lower="0.25"/>
				<rotationNode node="attacherJointFrontRot_Hauer" upperRotation="-30 0 0" lowerRotation="30 0 0"/>
				<rotationNode2 node="attacherJointFrontRot2_Hauer"/>
				<bottomArm rotationNode="attacherJointFrontArmBottom_Hauer" translationNode="attacherJointFrontArmBottomLink_Hauer" referenceNode="referencePointFrontBottom_Hauer" zScale="1" startRotation="-25 0 0"/>
				<topArm baseNode="attacherJointFrontArmTop_Hauer" filename="upperLink/upperLinkHauer.i3d" zScale="1" />
				<schema position="1 0" rotation="0" invertX="true"/>
				<objectChange node="bottomLinkFrontLeft_Hauer" rotationActive="0 22 -5.25" rotationInactive="-68 22 -5.25"/>
				<objectChange node="bottomLinkFrontRight_Hauer" rotationActive="0 -22 5.25" rotationInactive="-68 -22 5.25"/>
				<objectChange node="attacherJointFrontArmTop_Hauer" translationActive="0 0.17 0" translationInactive="0 -0.07 0.06"/>
			</attacherJoint>
			
			<objectChange node="HauerFS4" visibilityActive="true"/>				
		</attacherJointConfiguration>
	</attacherJointConfigurations>			
		
Zusätzlich muss noch die alten ausgeblendet werden.
Dazu die benötigten Komponenten via <objectChange node="xxx" visibilityActive="false"/> ausblenden (einzufügen in die Hauerconfig (dort wo die Hauer eingeblendet wird))
Achtung: Nicht auf die Hydraulic vergessen
15. Hydraulicbewegung bei MovingTools und MovingParts hinzufügen:
	<cylindered>
		<movingTools>
			<movingTool node="attacherJointFrontArmBottom_Hauer">
				<dependentPart node="hydraulicFront_Hauer"/>
			</movingTool>	
		</movingTools>
		
		<movingParts>
		   <movingPart node="hydraulicFront_Hauer" referencePoint="hydraulicFrontRef_Hauer" referenceFrame="hydraulicFrontRef_Hauer">
				<translatingPart node="hydraulicFrontPunch_Hauer"/>
			</movingPart>	
		</movingParts>
	</cylindered>
16. Eintragung der ConnectionHoses (in der XML nun zu <connectionHoses> navigieren)
Folgende Einträge einfügen und die Indices an die Attacherjointindex anpassen (XYZ)
	<target attacherJointIndices="XYZ" type="hydraulicIn" node="HydraulicFront_01_In_Ref">
		<objectChange node="HydraulicFront_01_In_CAB" rotationActive="0 80 0" rotationInactive="0 0 0"/>
	</target>
	<target attacherJointIndices="XYZ" type="hydraulicOut" node="HydraulicFront_01_Out_Ref">
		<objectChange node="HydraulicFront_01_Out_CAB" rotationActive="0 80 0" rotationInactive="0 0 0"/>
	</target>
	<target attacherJointIndices="XYZ" type="electric" node="electricFront_Ref">
		<objectChange node="electricFront_cab" rotationActive="0 0 0" rotationInactive="-90 0 0"/>
	</target>
17. XML Speichern
18. Die hauerFS4.i3d und hauerFS4.shapes kann gelöscht werden
19. Packe den Mod und füge ihn in den Modordner hinzufügen
20. Bei Problemen und Fragen kontaktiere uns auf unserem Discord

##############
Installation instructions for Hauer front lifter (englisch):
##############
1. Unzip the mod where you wanna include the front lifter
2. Paste the i3d of the front lifter the upperlink and the textures folders into the directory of the unzipped tractor
3. Open the i3d of the tractor with Giantseditor
4. Import the i3d of the front lifter with pushing on "File" and "Import"
5. Move the transformgroup "hauerFS-4_28" to the position you like 
6. Save the i3d
7. Open the moddesc of the tractor
8. If there is none <l10n> entries then take whole <l10n> block (down below)
If there is allready one, just take the textblock (no <l10n> and </l10n>)
	<l10n>
       <text name="Hauer">
			<en>Hauer FS4 front lifter</en>
			<de>Hauer FS4 Fronthydraulik</de>
        </text>	
	</l10n>
9. Save moddesc
10. Open the XML of the tractor
11. Paste the i3d mapping and adjust the indexes
		<i3dMapping id="HauerFS4" node="xxx" />				
		<i3dMapping id="attacherJointFrontRot_Hauer" node="xxx|1|0|0"/>
        <i3dMapping id="attacherJointFrontRot2_Hauer" node="xxx|1|0|0|0"/>
        <i3dMapping id="attacherJointFront_Hauer" node="xxx|1|0|0|0|0"/>
        <i3dMapping id="attacherJointFrontArmBottom_Hauer" node="xxx|1|0|1"/>
        <i3dMapping id="attacherJointFrontArmBottomLink_Hauer" node="xxx|1|0|1|0"/>
        <i3dMapping id="referencePointFrontBottom_Hauer" node="xxx|1|0|1|0|0"/>
        <i3dMapping id="hydraulicFrontRef_Hauer" node="xxx|1|0|1|0|1"/>
        <i3dMapping id="bottomLinkFrontLeft_Hauer" node="xxx|1|0|1|0|2|0"/>
        <i3dMapping id="bottomLinkFrontRight_Hauer" node="xxx|1|0|1|0|2|1"/>
        <i3dMapping id="attacherJointFrontArmTop_Hauer" node="xxx|1|0|2"/>
        <i3dMapping id="hydraulicFront_Hauer" node="xxx|1|1|0"/>
        <i3dMapping id="hydraulicFrontPunch_Hauer" node="xxx|1|1|0|0"/>
		<i3dMapping id="electricFront_Ref" node="xxx|0|3|2|0"/>
		<i3dMapping id="electricFront_cab" node="xxx|0|3|2|1"/>
        <i3dMapping id="HydraulicFront_01_In_Ref" node="xxx|0|3|0|0"/>
        <i3dMapping id="HydraulicFront_01_In_CAB" node="xxx|0|3|0|1"/>
        <i3dMapping id="HydraulicFront_01_Out_Ref" node="xxx|0|3|1|0"/>
        <i3dMapping id="HydraulicFront_01_Out_CAB" node="xxx|0|3|1|1"/>		

(If there is none i3d mapping you need also to write first <i3dMappings> and at end </i3dMappings>)
12. Search the attacherjoints in the xml
13. If there is no front lifter yet included you just add into <attacherjoints> 
	<attacherJoint node="attacherJointFront_Hauer" upperRotationOffset="-0.43" moveTime="2.5" comboTime="0">
		<distanceToGround upper="1.05" lower="0.25"/>
		<rotationNode node="attacherJointFrontRot_Hauer" upperRotation="-30 0 0" lowerRotation="30 0 0"/>
		<rotationNode2 node="attacherJointFrontRot2_Hauer"/>
		<bottomArm rotationNode="attacherJointFrontArmBottom_Hauer" translationNode="attacherJointFrontArmBottomLink_Hauer" referenceNode="referencePointFrontBottom_Hauer" zScale="1" startRotation="-25 0 0"/>
		<topArm baseNode="attacherJointFrontArmTop_Hauer" filename="upperLink/upperLinkHauer.i3d" zScale="1" />
		<schema position="1 0" rotation="0" invertX="true"/>
		<objectChange node="bottomLinkFrontLeft_Hauer" rotationActive="0 22 -5.25" rotationInactive="-68 22 -5.25"/>
		<objectChange node="bottomLinkFrontRight_Hauer" rotationActive="0 -22 5.25" rotationInactive="-68 -22 5.25"/>
		<objectChange node="attacherJointFrontArmTop_Hauer" translationActive="0 0.17 0" translationInactive="0 -0.07 0.06"/>
	</attacherJoint>
14. If there is allready an existing front lifter you need to change the xml to following:
(paste the exisiting attacherjoin into the default config)
	<attacherJointConfigurations>
		<attacherJointConfiguration name="$l10n_configuration_valueDefault" price="3500">
			<attacherJoint node="attacherJointFront" upperRotationOffset="-0.43" moveTime="2.5" comboTime="0">
				<distanceToGround upper="0.94" lower="0.34"/>
				<rotationNode node="attacherJointFrontRot" upperRotation="-33 0 0" lowerRotation="22 0 0"/>
				<rotationNode2 node="attacherJointFrontRot2"/>
				<bottomArm rotationNode="attacherJointFrontArmBottom" translationNode="attacherJointFrontArmBottomLink" referenceNode="referencePointFrontBottom" zScale="1" startRotation="-25 0 0"/>
				<topArm baseNode="attacherJointFrontArmTop" filename="$data/shared/assets/upperLinks/walterscheid01.i3d" zScale="1"/>
				<schema position="1 0" rotation="0" invertX="true"/>
				<objectChange node="bottomLinkFrontLeft" rotationActive="0 29.512 0" rotationInactive="-78 29.512 0"/>
				<objectChange node="bottomLinkFrontRight" rotationActive="0 -28.215 0" rotationInactive="-78 -28.215 0"/>
				<objectChange node="attacherJointFrontArmTop" rotationActive="72.129 0 0" rotationInactive="-90 20.59 -90"/>
				<objectChange node="attacherJointFrontArmTop" translationActive="0.01 1.023 2.065" translationInactive="-0.215 1.069 1.978"/>
			</attacherJoint>
			<objectChange node="HauerFS4" visibilityActive="true"/>
		</attacherJointConfiguration>	
		<attacherJointConfiguration name="$l10n_configuration_HauerFS4" price="4000"> 
			<attacherJoint node="attacherJointFront_Hauer" upperRotationOffset="-0.43" moveTime="2.5" comboTime="0">
				<distanceToGround upper="1.05" lower="0.25"/>
				<rotationNode node="attacherJointFrontRot_Hauer" upperRotation="-30 0 0" lowerRotation="30 0 0"/>
				<rotationNode2 node="attacherJointFrontRot2_Hauer"/>
				<bottomArm rotationNode="attacherJointFrontArmBottom_Hauer" translationNode="attacherJointFrontArmBottomLink_Hauer" referenceNode="referencePointFrontBottom_Hauer" zScale="1" startRotation="-25 0 0"/>
				<topArm baseNode="attacherJointFrontArmTop_Hauer" filename="upperLink/upperLinkHauer.i3d" zScale="1" />
				<schema position="1 0" rotation="0" invertX="true"/>
				<objectChange node="bottomLinkFrontLeft_Hauer" rotationActive="0 22 -5.25" rotationInactive="-68 22 -5.25"/>
				<objectChange node="bottomLinkFrontRight_Hauer" rotationActive="0 -22 5.25" rotationInactive="-68 -22 5.25"/>
				<objectChange node="attacherJointFrontArmTop_Hauer" translationActive="0 0.17 0" translationInactive="0 -0.07 0.06"/>
			</attacherJoint>
			
			<objectChange node="HauerFS4" visibilityActive="true"/>				
		</attacherJointConfiguration>
	</attacherJointConfigurations>			

You also may need to unvisible the old ones.
For that use <objectChange node="xxx" visibilityActive="false"/> to unvisible them (you need to include that into Hauerconfig (where the hauer one is visibleActive)
Warning: Do not forget the hydraulics to unvisible

15. Include hydraulicmovement at MovingTools and MovingParts:
	<cylindered>
		<movingTools>
			<movingTool node="attacherJointFrontArmBottom_Hauer">
				<dependentPart node="hydraulicFront_Hauer"/>
			</movingTool>	
		</movingTools>
		
		<movingParts>
		   <movingPart node="hydraulicFront_Hauer" referencePoint="hydraulicFrontRef_Hauer" referenceFrame="hydraulicFrontRef_Hauer">
				<translatingPart node="hydraulicFrontPunch_Hauer"/>
			</movingPart>	
		</movingParts>
	</cylindered>
16. Including ConnectionHoses (navigate to <connectionHoses> in your xml
Paste following entries and adjust the indices of the Attacherjiontindexes (XYZ)
	<target attacherJointIndices="XYZ" type="hydraulicIn" node="HydraulicFront_01_In_Ref">
		<objectChange node="HydraulicFront_01_In_CAB" rotationActive="0 80 0" rotationInactive="0 0 0"/>
	</target>
	<target attacherJointIndices="XYZ" type="hydraulicOut" node="HydraulicFront_01_Out_Ref">
		<objectChange node="HydraulicFront_01_Out_CAB" rotationActive="0 80 0" rotationInactive="0 0 0"/>
	</target>
	<target attacherJointIndices="XYZ" type="electric" node="electricFront_Ref">
		<objectChange node="electricFront_cab" rotationActive="0 0 0" rotationInactive="-90 0 0"/>
	</target>
17. Save XML
18. The hauerFS4.i3d and hauerFS4.shapes can now be deleted
19. Zip you mod and put it in the mod folders
20. For problems and questions contact us on Discord