Category | Farming Simulator 19 |
Created | 15.04.2021 23:28 |
Patton_M47 | 15.04.2021 23:28 |
---|---|
what should I fix here to get the sounds working? <?xml version="1.0" encoding="utf-8" standalone="no"?> <vehicle type="tractor"> <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation> <storeData> <name> <en>International 660 plus Farmerized ICB cab</en></name> <specs> <power>90</power> <maxSpeed>26</maxSpeed> </specs> <functions> <function>$l10n_function_tractor</function> </functions> <image>storeOPEN.dds</image> <price>6000</price> <lifetime>600</lifetime> <rotation>0</rotation> <brand>INTERNATIONAL</brand> <category>tractorsS</category> <vertexBufferMemoryUsage>2408580</vertexBufferMemoryUsage> <indexBufferMemoryUsage>411144</indexBufferMemoryUsage> <textureMemoryUsage>35433648</textureMemoryUsage> <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage> <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage> </storeData> <base> <typeDesc>$l10n_typeDesc_tractor</typeDesc> <filename>farmall_W9.i3d</filename> <size width="3.8" length="7.5"/> <components> <component centerOfMass="0 0.75 -0.35" solverIterationCount="40" mass="2880"/> </components> <schemaOverlay attacherJointPosition="0.5 0"> <default name="DEFAULT_VEHICLE"/> <selected name="DEFAULT_VEHICLE_SELECTED"/> </schemaOverlay> </base> <wheels> <wheelConfigurations> <wheelConfiguration name="$l10n_configuration_valueDefault" price="0"> <wheels autoRotateBackSpeed="1.6"> <wheel hasTireTracks="true" hasParticles="true"> <physics rotSpeed="1" restLoad="3.6" repr="0>1|0" driveNode="0>1|0|0" forcePointRatio="0.2" radius="0.5" width="0.5" mass="0.5" initialCompression="20" suspTravel="0.06" spring="48" damper="105"/> <tire tireTrackAtlasIndex="1" isCareWheel="false"/> </wheel> <wheel hasTireTracks="true" hasParticles="true"> <physics rotSpeed="1" restLoad="6.6" repr="0>1|1" driveNode="0>1|1|0" forcePointRatio="0.2" radius="0.5" width="0.5" mass="0.5" initialCompression="20" suspTravel="0.06" spring="48" damper="105"/> <tire tireTrackAtlasIndex="1" isCareWheel="false"/> </wheel> <wheel hasTireTracks="true" hasParticles="true"> <physics rotSpeed="0" restLoad="3.2" repr="0>0|0" forcePointRatio="0.3" radius="0.85" width="0.5" mass="0.2" initialCompression="20" suspTravel="0.15" spring="41" damper="105"/> <tire tireTrackAtlasIndex="1" isCareWheel="false"/> </wheel> <wheel hasTireTracks="true" hasParticles="true"> <physics rotSpeed="0" restLoad="3.2" repr="0>0|1" forcePointRatio="0.3" radius="0.85" width="0.5" mass="0.2" initialCompression="20" suspTravel="0.15" spring="41" damper="105"/> <tire tireTrackAtlasIndex="1" isCareWheel="false"/> </wheel> </wheels> </wheelConfiguration> </wheelConfigurations> <ackermannSteeringConfigurations> <ackermannSteering rotSpeed="60" rotMax="33" rotCenterWheel1="3" rotCenterWheel2="4"/> </ackermannSteeringConfigurations> </wheels> <designConfigurations> <designConfiguration name="Standard" price="0"/> <designConfiguration name="ICB Cab" price="500"> <objectChange node="0>14" visibilityActive="true" visibilityInactive="false"/> </designConfiguration> </designConfigurations> <attacherJoints> <attacherJoint node="0>9" jointType="trailerLow" lowerRotLimit="10 75 50" allowsJointLimitMovement="false" upperRotRotationOffset="0"> <schema position="1 0" rotation="0" invertX="false"/> </attacherJoint> <attacherJoint node="0>9" jointType="trailer" lowerRotLimit="10 75 50" allowsJointLimitMovement="false" upperRotRotationOffset="0"> <schema position="1 0" rotation="0" invertX="false"/> </attacherJoint> <attacherJoint node="0>12" jointType="trailer" lowerRotLimit="10 50 50" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" upperRotRotationOffset="0"> <schema position="1 0" rotation="0" invertX="true"/> </attacherJoint> <sounds> <attach template="ATTACH_01"/> </sounds> </attacherJoints> <powerTakeOffs> <output outputNode="0>10" attacherJointIndices="2"/> </powerTakeOffs> <lights> <states> <state lightTypes="0"/> <!-- <state lightTypes="0 1"/> --> <!-- <state lightTypes="0 1 2"/> --> </states> <sharedLight linkNode="0>4|0" filename="$data/shared/assets/lights/lizard/rearLightCircleWhite_01.xml"/> <sharedLight linkNode="0>4|1" filename="$data/shared/assets/lights/lizard/rearLightCircleWhite_01.xml"/> <sharedLight linkNode="0>4|2" filename="$data/shared/assets/lights/lizard/rearLightCircle_01Orange_left.xml"/> <sharedLight linkNode="0>4|3" filename="$data/shared/assets/lights/lizard/rearLightCircle_01Orange_right.xml"/> <realLights> <low> <light node="0>4|4|0" lightTypes="0 3"/> <light node="0>4|4|1" lightTypes="0" excludedLightTypes="3"/> <!-- <light lightTypes="3"/> --> </low> <high> <light node="0>4|4|0" lightTypes="0 3"/> <light node="0>4|4|1" lightTypes="0" excludedLightTypes="2 3"/> <!-- <light lightTypes="3"/> --> </high> </realLights> <defaultLights> <defaultLight shaderNode="0>4|0|4" lightTypes="0"/> <defaultLight shaderNode="0>4|0|5" lightTypes="0"/> </defaultLights> <sounds> <switchLight template="SWITCH_01"/> </sounds> </lights> <enterable> <exitPoint node="0>5"/> <enterReferenceNode node="0>"/> <characterNode node="0>6|0" cameraMinDistance="1.5" spineRotation="-90 0 90"> <target ikChain="rightFoot" targetNode="0>6|1"/> <target ikChain="leftFoot" targetNode="0>6|2"/> <target ikChain="rightArm" targetNode="0>2|0|1"/> <target ikChain="leftArm" targetNode="0>2|0|0"/> </characterNode> <cameras> <camera node="0>3|0|0" rotatable="true" rotateNode="0>3|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40"> <raycastNode node="0>3|2"/> <raycastNode node="0>3|3"/> </camera> <camera node="0>3|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/> </cameras> </enterable> <sounds externalSoundFile="sounds/560_Sounds.xml"/> <motorized> <consumerConfigurations> <consumerConfiguration> <consumer fillUnitIndex="1" usage="75" fillType="diesel"/> </consumerConfiguration> </consumerConfigurations> <motorConfigurations> <motorConfiguration name="International Harvester D-282" price="0"> <motor torqueScale="0.1936" minRpm="1000" maxRpm="2200" maxForwardSpeed="26" maxBackwardSpeed="4" brakeForce="2" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.001"> <torque normRpm="0.45" torque="0.9"/> <torque normRpm="0.5" torque="0.97"/> <torque normRpm="0.59" torque="1"/> <torque normRpm="0.72" torque="1"/> <torque normRpm="0.86" torque="0.88"/> <torque normRpm="1" torque="0.72"/> </motor> <transmission minForwardGearRatio="14.5" maxForwardGearRatio="250" minBackwardGearRatio="40" maxBackwardGearRatio="250"/> </motorConfiguration> </motorConfigurations> <differentialConfigurations> <differentialConfiguration> <differentials> <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="1" wheelIndex2="2"/> <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4"/> <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2"/> </differentials> </differentialConfiguration> </differentialConfigurations> <exhaustEffects> <exhaustEffect node="0>8|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-250 0" xzRotationsBackward="50 0" xzRotationsLeft="0 100" xzRotationsRight="0 -100"/> </exhaustEffects> <exhaustFlap node="0>8|1" maxRot="-90"/> <motorStartDuration>3500</motorStartDuration> </motorized> <drivable> <sounds> <waterSplash template="WATER_SPLASH_01"/> </sounds> <steeringWheel node="0>2|0" indoorRotation="540" outdoorRotation="50"/> </drivable> <cylindered> <movingParts> <movingPart node="0>1|1|1" referencePoint="0>1|0|1" referenceFrame="0>1|0|1" isActiveDirty="true" scaleZ="true"/> </movingParts> </cylindered> <fillUnit> <fillUnitConfigurations> <fillUnitConfiguration> <fillUnits> <fillUnit capacity="136" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/> </fillUnits> </fillUnitConfiguration> </fillUnitConfigurations> </fillUnit> <washable dirtDuration="50" washDuration="1" workMultiplier="4"/> <honk> <sound file="shared/sounds/oldhorn.wav" innerRadius="35"> <volume indoor="2" outdoor="1"/> <lowpassGain indoor="1"/> </sound> </honk> <ai> <collisionTrigger node="0>7|0"/> </ai> <!--Non converted elements: <?xml version="1.0" encoding="utf-8" standalone="no"?> <vehicle> <washable dirtDuration="300" washDuration="1" workMultiplier="2"/> </vehicle> --> </vehicle> |
Bilbo Beutlin (BBeutlin) | 16.04.2021 01:16 |
---|---|
Compare your xml with a similar default vehicle, eg. the tag <sounds externalSoundFile=.. must be within the section <motorized>. |
Patton_M47 | 16.04.2021 02:54 |
---|---|
thanks that fixed it.... how do I do I3d mapping so I can add a FL |
Note: Log in to post. Create a new account here.