JakobTischler / MoreRealisticDLCs

A lua/xml project that adds MoreRealistic to the Farming Simulator DLCs
8 stars 0 forks source link

puma 160 "mr" 100% version #3

Closed quadural closed 10 years ago

quadural commented 10 years ago

hope you can "read" it since this is "xml" content : (readable in edit mode)

<vehicle category="steerable" configFileName="pdlc/titaniumAddon/caseIH/caseIHPuma160.xml" mrVehicleType="mr_tractor_wheelExtension_t" debug="true" price="111000" dailyUpkeep="175" >
        <engine kW="130" realMaxVehicleSpeed="50" realMaxReverseSpeed="50" realBrakingDeceleration="6.5" realMaxFuelUsage="32" fuelCapacity="330" realPtoDriveEfficiency="0.892" realSpeedBoost="22" realSpeedBoostMinSpeed="15" realImplementNeedsBoost="22" realImplementNeedsBoostMinPowerCons="15" realMaxBoost="22" />
        <dimensions width="2.5" height="3" /> <!-- in m -->
        <weights weight="8.5" maxWeight="12" realBrakeMaxMovingMass="15" /> <!-- in t -->
        <wheels>
            <wheel driveMode="1" deltaY="0.18" brakeRatio="1" damper="20" spring="50" suspTravel="0.25" radius="0.74" rotMin="-33" rotMax="30" rotSpeed="60" />
            <wheel driveMode="1" deltaY="0.18" brakeRatio="1" damper="20" spring="50" suspTravel="0.25" radius="0.74" rotMin="-30" rotMax="33" rotSpeed="60" />
            <wheel driveMode="2" deltaY="0.094" brakeRatio="1" damper="20" spring="150" suspTravel="0.10" radius="0.96" />
            <wheel driveMode="2" deltaY="0.094" brakeRatio="1" damper="20" spring="150" suspTravel="0.10" radius="0.96" />
        </wheels>
        <attacherJoints>
            <attacherJoint jointType="implement" maxRot="-27.147 0 0" maxRot2="27.147 0 0" minRotDistanceToGround="1.16156" />
            <attacherJoint jointType="implement" maxRot="34.766 0 0" maxRot2="-34.766 0 0" minRotDistanceToGround="0.9501" />
        </attacherJoints>
        <components>
            <component1 centerOfMass="0 0.4 -0.27" realMassWanted="8.6" />
        </components>
    </vehicle>
JakobTischler commented 10 years ago

I edited for better readability. You can use the code tags, only with xml or lua instead of ruby.

quadural commented 10 years ago

update : removed the "useless" jointType from the attacherJoint

quadural commented 10 years ago

update : put back the jointType="implement"

sorry, but it is needed to allow the loading of the data see addMoreRealistic.lua line 235

JakobTischler commented 10 years ago

Yeah, I know, the attacherJoints are a bit messy.