hallo
kann man in einem frontgrubber attacherJointControl einbauen ,ich bekomme es leider nicht hin bei gewichten geht es ja ![]()
hoffe es kann jemand helfen
danke
hallo
kann man in einem frontgrubber attacherJointControl einbauen ,ich bekomme es leider nicht hin bei gewichten geht es ja ![]()
hoffe es kann jemand helfen
danke
Das kommt in die Fahrzeug XML ganz oben müsste bei dir so aussehen:
<vehicle type="cultivator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
Und so sollte es danach aussehen:
<vehicle type="cultivatorAttacherJointControl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
Das kommt in die Fahrzeug XML unter attachable:
<attacherJointControl maxTiltAngle="25" supportsDamping="true">
<control controlFunction="controlAttacherJointHeight" controlAxis="AXIS_HYDRAULICATTACHER1" invertControlAxis="true" mouseSpeedFactor="0.3" iconName="IMPLEMENT_ATTACHER_TRANS" />
<control controlFunction="controlAttacherJointTilt" controlAxis="AXIS_HYDRAULICATTACHER2" invertControlAxis="true" mouseSpeedFactor="0.3" iconName="IMPLEMENT_ATTACHER_ROTX" />
<sounds>
<hydraulic template="defaultHydraulicSound" linkNode="0>" />
</sounds>
</attacherJointControl>
Das kommt in die Moddesc:
<vehicleTypes>
<type name="cultivatorAttacherJointControl" parent="cultivator" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="attacherJointControl"/>
</type>
</vehicleTypes>
Wenn du das alles so gemacht hast dann sollte das funbktionieren!
geht leider nicht
es liegt an dieser zeile
<attachable>
<inputAttacherJoints>
<inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint"allowsLowering="true" lowerTransLimitScale="0 1 0" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="0">
<distanceToGround lower="0.6" upper="1.0" />
</inputAttacherJoint>
</inputAttacherJoints>
<support animationName="moveSupport" detachAnimationTime="0.833"/>
<brakeForce force="1.4"/>
</attachable>
wenn ich jetzt den allowsLowering mit isControllable="true ersetze geht es aber der grubber geht nicht mehr ,nur noch hoch und runter ,er arbeitet nicht mehr .
hir mal die xml
Upps ein moment:
<inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint isControllable="true" allowsLowering="true" lowerTransLimitScale="0 1 0" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="0">
das hatte ich auch schon versucht , dan erscheint er nicht mehr im shop
so erscheint er aber er grubbert wieder nicht
<inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint " isControllable="true" allowsLowering="true" lowerTransLimitScale="0 1 0" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="0">
Da ist ein Leerzeichen zwischen topReferencePoint und dem " danach
Da lass mir die xml und die moddesc zukommen da schreibe ich sie dir um das es funktioniert, wenn du das möchtest
kann zu gemacht werden
und danke PrivatPrivat