Schema overlay file ???

Eure Foren für alle Diskussionen rund ums Thema Modding.
anthu
Posts: 4983
Joined: Thu Nov 06, 2014 8:03 am

Schema overlay file ???

Post by anthu »

Hallo Leute,
ich habe einen mod ITR LKW (FS17_TGS_18_ITR.zip von Vanquish081) und bei diesem ist das schema overlay symbol bei angehängter Plattform ganz hinten oben ( weißes symbol beim gelben pfeil),
ich hätte es aber gerne oberhalb des LKW (gelbes viereck)
BBCode Thumbnail: Image
das symbol für anhänger (graues symbol) passt
der eintrag in der xml sieht so aus:

Code: Select all

    <schemaOverlay file="schemas/vehicleSchemaTK.png" fileSelected="schemas/vehicleSchemaSelectedTK.png" width="0.66" height="0.66" attacherJointPosition="0.5 0"/>
was muss ich da bei attacherJointPosition="0.5 0" genau eintragen?

bzw, die attacherjointconfigs sind folgende:

Code: Select all

        <attacherJointConfiguration name="$l10n_configuration_trailerAttacherBack" price="700">
            <attacherJoint index="0>5|1|0|0" jointType="trailer" transNode="0>5|1|0" transNodeMinY="0.625" transNodeMaxY="0.625" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>5|1|1">
                <schema position="1 0" rotation="0" invertX="false"/>
                <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
            </attacherJoint>
            <attacherJoint index="0>5|1|0|0" jointType="trailerLow" transNode="0>5|1|0" transNodeMinY="0.4" transNodeMaxY="0.4" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>5|1|1">
                <schema position="1 0" rotation="0" invertX="false"/>
                <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
            </attacherJoint>
und:

Code: Select all

    <attacherJoints>
		<attacherJoint index="0>12|11|0|0|0|0|0|0" jointType="hookLift" allowsLowering="false" lowerRotLimit="0 40 80" upperRotLimit="0 40 80" enableCollision="true">            
			<schema position="1 0.5" rotation="0" invertX="false"/>        
		</attacherJoint>        
    </attacherJoints>
lg
andreas
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: Schema overlay file ???

Post by HeinzS »

anthu
Posts: 4983
Joined: Thu Nov 06, 2014 8:03 am

Re: Schema overlay file ???

Post by anthu »

Danke, habs jetzt.
Dein link ist schon ziemlich alt, hat mir aber auf die sprünge geholfen.
Habe beim falschen rumgedoktert.
Dachte das macht man beim schemaoverlay, ist abwr beim attacher joints zum ändern.
So passts jetzt:

Code: Select all

 <attacherJoints> <attacherJoint index="0>12|11|0|0|0|0|0|0" jointType="hookLift" allowsLowering="false" lowerRotLimit="0 40 80" upperRotLimit="0 40 80" enableCollision="true"> <schema position="0.5 0.33" rotation="0" invertX="false"/> </attacherJoint> </attacherJoints>
schema position="1 0.5"
auf
schema position="0.5 0.33"
geändert und nun passts wunderbar.

Lg
Andreas
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: Schema overlay file ???

Post by HeinzS »

der Ort wird doch durch 2 Elemente festgelegt, 1x vom Gerät <schemaOverlay... attacherJointPosition="0 0" und 1x vom Fahrzeug <attacherJoint... <schema position="0.5 0.33" oder?
Post Reply