Nach speichern der XML fehlt 50% der XML

  • VB.NET
  • .NET 4.0

SSL ist deaktiviert! Aktivieren Sie SSL für diese Sitzung, um eine sichere Verbindung herzustellen.

Es gibt 24 Antworten in diesem Thema. Der letzte Beitrag () ist von Acr0most.

    Nach speichern der XML fehlt 50% der XML

    Neu

    Ich habe ein Problem, nach Speichern der XML Fehlt einfach mal 50% Der XML

    Dateien sind im Anhang

    Save Code:

    VB.NET-Quellcode

    1. Dim xml As XDocument = XDocument.Load(path_save.Text.ToString)
    2. '''''''
    3. xml.Descendants("vehicle").Elements("fuelCapacity").Value = num_fuel.Value.ToString
    4. xml.Descendants("vehicle").Elements("storeData").Elements("price").Value = num_price.Value.ToString
    5. xml.Descendants("vehicle").Elements("storeData").Elements("lifetime").Value = num_lifetime.Value.ToString
    6. xml.Descendants("vehicle").Elements("storeData").Elements("dailyUpkeep").Value = num_paytoday.Value.ToString
    7. xml.Descendants("vehicle").Elements("storeData").Elements("name").Value = txt_modname.Text.ToString
    8. xml.Descendants("vehicle").Elements("storeData").Elements("specs").Elements("neededPower").Value = num_needpower.Value.ToString
    9. ' xml.Descendants("vehicle").Elements("specs").Elements("power").Value = num_ps.Value.ToString
    10. '''Füllmenge Speichern''
    11. 'Dim display2 As XElement = xml.Element("vehicle").Element("fillUnits").Element("fillUnit")
    12. 'If display2.ToString = "" Then
    13. 'Else
    14. ' Dim genreAttribute2 As XAttribute = display2.Attribute("capacity")
    15. 'If genreAttribute2.ToString = "" Then
    16. ' num_capacity.Enabled = False
    17. 'Else
    18. ' genreAttribute2.Value = num_capacity.Value.ToString
    19. 'End If
    20. 'End If
    21. '''NAME''
    22. 'Dim display3 As XElement = xml.Element("vehicle")
    23. ' Dim genreAttribute3 As XElement = display3.Element("name")
    24. ' If genreAttribute3 IsNot "" Then
    25. ' genreAttribute3.Value = txt_modname.Text.ToString
    26. ' End If
    27. ''''''
    28. xml.Save(path_save.Text.ToString)
    29. MsgBox(xml.ToString)
    30. ifsave.ForeColor = Color.Green


    Weiß jemand weiter?!

    Danke im vorraus
    Dateien
    • Nachher.xml

      (35,45 kB, 15 mal heruntergeladen, zuletzt: )
    • Vorher.xml

      (38,48 kB, 15 mal heruntergeladen, zuletzt: )
    Neuling in VB :P
    ModStudio1.11 : 35%

    ModStudio :thumbup:

    Neu

    Hast du dir die Zeilen denn mal angeschaut? Die letzte Zeile ist mal eben 18.612 Zeichen lang ...


    Edit: @Acr0most
    Doch schon, aber die Zeilen Anzahl sagt nicht über den Inhalt aus (das ist nur Formatierung)
    Antivirus 2.0: Der perfekte Schutz gegen Malware > Weitere Informationen :whistling:

    Neu

    @slice danke, stimmt.

    In PHP Storm auch auffällig mit deiner 18.000+ Zeile.
    Im Browser geöffnet sieht man den Unterschied wiederum nicht, der formatiert das richtig - deshalb die vorherige Fehlinterpretation.

    LG Acr0most
    Wenn das Leben wirklich nur aus Nullen und Einsen besteht, dann laufen sicherlich genügen Nullen frei herum. :D
    Signature-Move 8o

    Neu

    xX-Nick-Xx schrieb:

    Bzw Wie löse ich das Problem?!
    Eigentlich gibt es kein Problem.
    Wenn ich mir beide SDateien im Interner Explorer Betrachter ansehe, sind sie identisch.
    Die Frage ist einfach, welchen Viewer Du verwendest.
    Gibt es da ein Problem?
    Falls Du diesen Code kopierst, achte auf die C&P-Bremse.
    Jede einzelne Zeile Deines Programms, die Du nicht explizit getestet hast, ist falsch :!:
    Ein guter .NET-Snippetkonverter (der ist verfügbar).
    VB-Fragen über PN / Konversation werden ignoriert!

    Neu

    RodFromGermany schrieb:

    Die Frage ist einfach, welchen Viewer Du verwendest.


    Antwort: Notepad++ und wie @slice schon sagte haben wir das Problem gefunden, Er Formatiert irgendwie falsch
    Eigentlich soll es so Sein:

    XML-Quellcode

    1. <vehicle type="GTXM_BigM">
    2. </vehicle>


    Aber er macht es so:

    XML-Quellcode

    1. <vehicle type="GTXM_BigM"></vehicle>


    Was Falsch ist
    Neuling in VB :P
    ModStudio1.11 : 35%

    ModStudio :thumbup:

    Neu

    xX-Nick-Xx schrieb:

    Was Falsch ist
    Das ist nicht falsch, sondern nur eine andere Auslegung der XML-View-Regeln.
    Im Prinzip kannst Du den ganzen XML-Text in eine einzige Zeile schreiben, was bei JSon durchaus üblich ist.
    Das ist alles richtig.
    Falls Du diesen Code kopierst, achte auf die C&P-Bremse.
    Jede einzelne Zeile Deines Programms, die Du nicht explizit getestet hast, ist falsch :!:
    Ein guter .NET-Snippetkonverter (der ist verfügbar).
    VB-Fragen über PN / Konversation werden ignoriert!

    Neu

    Eben nicht, das spiel Erkennt die XML dann nicht mehr. Das darf nicht alles in einer Zeile sein ^^

    Es muss so sein:
    Spoiler anzeigen

    Quellcode

    1. <?xml version="1.0" encoding="utf-8" standalone="no" ?>
    2. <vehicle type="GTXM_BigM">
    3. <annotation>Copyright (C) GIANTS Software GmbH / GTX Mods, All Rights Reserved.</annotation>
    4. <storeData>
    5. <name>GTXM Big M</name>
    6. <specs>
    7. <workingWidth>13.5</workingWidth>
    8. </specs>
    9. <functions>
    10. <function>$l10n_function_GTXM</function>
    11. </functions>
    12. <image>store.dds</image>
    13. <price>180000</price>
    14. <dailyUpkeep>75</dailyUpkeep>
    15. <lifetime>800</lifetime>
    16. <rotation>0</rotation>
    17. <brand>KRONE</brand>
    18. <category>mowers</category>
    19. <vertexBufferMemoryUsage>1292732</vertexBufferMemoryUsage>
    20. <indexBufferMemoryUsage>235410</indexBufferMemoryUsage>
    21. <textureMemoryUsage>20908064</textureMemoryUsage>
    22. <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
    23. <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    24. </storeData>
    25. <typeDesc>
    26. <en>Mower</en>
    27. <de>Mower</de>
    28. </typeDesc>
    29. <filename>GTXM_BigM.i3d</filename>
    30. <size width="7" length="12"/>
    31. <speedLimit value="25" />
    32. <wheelConfigurations>
    33. <wheelConfiguration name="$l10n_configuration_WheelDefault" price="0">
    34. <wheels autoRotateBackSpeed="1.5">
    35. <wheel rotSpeed="53" restLoad="3.3" repr="0>0" forcePointRatio="0.2" driveNode="0>0" filename="$data/vehicles/wheels/trelleborg/TM2000_800_65R32.xml" isLeft="true" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    36. <wheel rotSpeed="53" restLoad="3.3" repr="0>1" forcePointRatio="0.2" driveNode="0>1" filename="$data/vehicles/wheels/trelleborg/TM2000_800_65R32.xml" isLeft="false" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    37. <wheel rotSpeed="53" restLoad="3.3" repr="0>2" forcePointRatio="0.2" driveNode="0>2" filename="$data/vehicles/wheels/trelleborg/TM2000_800_65R32.xml" isLeft="true" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    38. <wheel rotSpeed="53" restLoad="3.3" repr="0>3" forcePointRatio="0.2" driveNode="0>3" filename="$data/vehicles/wheels/trelleborg/TM2000_800_65R32.xml" isLeft="false" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    39. </wheels>
    40. </wheelConfiguration>
    41. <wheelConfiguration name="$l10n_configuration_WheelUpgrade" price="2500">
    42. <wheels autoRotateBackSpeed="1.5">
    43. <wheel rotSpeed="53" restLoad="3.3" repr="0>0" forcePointRatio="0.2" driveNode="0>0" filename="$data/vehicles/wheels/trelleborg/TM3000_800_70R38.xml" isLeft="true" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    44. <wheel rotSpeed="53" restLoad="3.3" repr="0>1" forcePointRatio="0.2" driveNode="0>1" filename="$data/vehicles/wheels/trelleborg/TM3000_800_70R38.xml" isLeft="false" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    45. <wheel rotSpeed="53" restLoad="3.3" repr="0>2" forcePointRatio="0.2" driveNode="0>2" filename="$data/vehicles/wheels/trelleborg/TM3000_800_70R38.xml" isLeft="true" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    46. <wheel rotSpeed="53" restLoad="3.3" repr="0>3" forcePointRatio="0.2" driveNode="0>3" filename="$data/vehicles/wheels/trelleborg/TM3000_800_70R38.xml" isLeft="false" initialCompression="50" suspTravel="0.22" spring="90" damper="30" frictionScale="3" mass="1.45" maxLatStiffnessLoad="2" hasTireTracks="true" hasParticles="true" />
    47. </wheels>
    48. </wheelConfiguration>
    49. </wheelConfigurations>
    50. <rimColorConfigurations useDefaultColors="true" defaultColorIndex="3" price="500" icon="$dataS2/menu/hud/configurations/config_rimColor.png">
    51. <rimColorConfiguration color="0.5271 0.5906 0.6105 1" />
    52. <colorNode node="0>1" />
    53. <colorNode node="0>1" />
    54. <colorNode node="0>2" />
    55. <colorNode node="0>3" />
    56. </rimColorConfigurations>
    57. <ackermannSteering rotSpeed="50" rotMax="38" rotCenterWheel1="1" rotCenterWheel2="2" />
    58. <crabSteering>
    59. <steeringMode name="action_steeringModeAllWheel">
    60. <wheel index="1" offset="0" />
    61. <wheel index="2" offset="0" />
    62. <wheel index="3" offset="0" />
    63. <wheel index="4" offset="0" />
    64. </steeringMode>
    65. <steeringMode name="action_steeringModeFrontWheel">
    66. <wheel index="1" offset="0" locked="false" />
    67. <wheel index="2" offset="0" locked="false" />
    68. <wheel index="3" offset="0" locked="true" />
    69. <wheel index="4" offset="0" locked="true" />
    70. </steeringMode>
    71. <steeringMode name="action_steeringModeTurnSteering">
    72. <wheel index="1" offset="0" locked="true" />
    73. <wheel index="2" offset="0" locked="true" />
    74. <wheel index="3" offset="0" locked="false" />
    75. <wheel index="4" offset="0" locked="false" />
    76. </steeringMode>
    77. </crabSteering>
    78. <differentials>
    79. <differential torqueRatio="0.5" maxSpeedRatio="1.9" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
    80. <differential torqueRatio="0.5" maxSpeedRatio="1.9" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
    81. <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    82. </differentials>
    83. <motorConfigurations>
    84. <motorConfiguration name="$l10n_configuration_base" hp="520" maxSpeed="45" price="0" dailyUpkeep="20" icon="$dataS2/menu/hud/configurations/config_engine.png">
    85. <motor torqueScale="2.356" minRpm="1000" maxRpm="2000" maxForwardSpeed="45" maxBackwardSpeed="17" brakeForce="20" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015" minForwardGearRatio="8.4" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150">
    86. <torque normRpm="0.45" torque="0.9"/>
    87. <torque normRpm="0.45" torque="0.8"/>
    88. <torque normRpm="0.5" torque="0.87"/>
    89. <torque normRpm="0.59" torque="0.9"/>
    90. <torque normRpm="0.72" torque="1"/>
    91. <torque normRpm="0.86" torque="0.88"/>
    92. <torque normRpm="1" torque="0.72"/>
    93. </motor>
    94. <objectChange node="0>5|2|1" visibilityActive="true"/>
    95. <objectChange node="0>5|2|12" visibilityActive="false"/>
    96. <objectChange node="0>16|1|0|7" visibilityActive="true"/>
    97. <objectChange node="0>16|1|0|10" visibilityActive="false"/>
    98. <objectChange node="0>19|1|0|7" visibilityActive="true"/>
    99. <objectChange node="0>19|1|0|10" visibilityActive="false"/>
    100. <objectChange node="0>16|1|0|1|1" visibilityActive="true"/>
    101. <objectChange node="0>16|1|0|1|2" visibilityActive="false"/>
    102. <objectChange node="0>19|1|0|1|1" visibilityActive="true"/>
    103. <objectChange node="0>19|1|0|1|2" visibilityActive="false"/>
    104. <objectChange node="0>13|0|0|7" visibilityActive="true"/>
    105. <objectChange node="0>13|0|0|12" visibilityActive="false"/>
    106. <objectChange node="0>13|0|1|7" visibilityActive="true"/>
    107. <objectChange node="0>13|0|1|12" visibilityActive="false"/>
    108. </motorConfiguration>
    109. <motorConfiguration name="$l10n_configuration_boost" hp="780" maxSpeed="75" price="55000" dailyUpkeep="45" icon="$dataS2/menu/hud/configurations/config_engine.png">
    110. <motor torqueScale="3.250" minRpm="1000" maxRpm="2350" maxForwardSpeed="75" maxBackwardSpeed="20" brakeForce="20" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015" minForwardGearRatio="8.4" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150">
    111. <torque normRpm="0.45" torque="0.9"/>
    112. <torque normRpm="0.5" torque="0.97"/>
    113. <torque normRpm="0.59" torque="1"/>
    114. <torque normRpm="0.72" torque="1"/>
    115. <torque normRpm="0.86" torque="0.88"/>
    116. <torque normRpm="1" torque="0.72"/>
    117. </motor>
    118. <objectChange node="0>5|2|12" visibilityActive="true"/>
    119. <objectChange node="0>5|2|1" visibilityActive="false"/>
    120. <objectChange node="0>16|1|0|10" visibilityActive="true"/>
    121. <objectChange node="0>16|1|0|7" visibilityActive="false"/>
    122. <objectChange node="0>19|1|0|10" visibilityActive="true"/>
    123. <objectChange node="0>19|1|0|7" visibilityActive="false"/>
    124. <objectChange node="0>16|1|0|1|2" visibilityActive="true"/>
    125. <objectChange node="0>16|1|0|1|1" visibilityActive="false"/>
    126. <objectChange node="0>19|1|0|1|2" visibilityActive="true"/>
    127. <objectChange node="0>19|1|0|1|1" visibilityActive="false"/>
    128. <objectChange node="0>13|0|0|12" visibilityActive="true"/>
    129. <objectChange node="0>13|0|0|7" visibilityActive="false"/>
    130. <objectChange node="0>13|0|1|12" visibilityActive="true"/>
    131. <objectChange node="0>13|0|1|7" visibilityActive="false"/>
    132. </motorConfiguration>
    133. </motorConfigurations>
    134. <fuelCapacity>700</fuelCapacity>
    135. <cameras count="3">
    136. <camera1 index="0>9|0|0" rotatable="true" rotateNode="0>9|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="7" transMax="35">
    137. <raycastNode index="0>9|3"/>
    138. <raycastNode index="0>9|4"/>
    139. </camera1>
    140. <camera2 index="0>9|1|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    141. <camera3 index="0>9|2|0" rotatable="false" limit="false" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
    142. </cameras>
    143. <characterNode index="0>5|1|3|0|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 90" >
    144. <target ikChain="rightFoot" targetNode="0>5|1|3|0|1" />
    145. <target ikChain="leftFoot" targetNode="0>5|1|3|0|2" />
    146. <target ikChain="rightArm" targetNode="0>5|1|3|2|1" />
    147. <target ikChain="leftArm" targetNode="0>5|1|1|0|0|0" setDirty="true" />
    148. </characterNode>
    149. <steering index="0>5|1|1|0|0" indoorRotation="540" outdoorRotation="40" />
    150. <enterReferenceNode index="0>" />
    151. <exitPoint index="0>10" />
    152. <motorStartDuration>2500</motorStartDuration>
    153. <motorStartSound file="Sounds/kroneBigX1100_start.wav" pitchOffset="0.97" volume="1.10" indoorVolumeFactor="0.40" indoorLowpassGain="0.75"/>
    154. <motorSound file="Sounds/kroneBigX1100_idle.wav" pitchOffset="0.97" volume="1.10" indoorVolumeFactor="0.40" indoorLowpassGain="0.75" pitchMax="1.20" volumeMin="0.85" volumeMinSpeed="30" />
    155. <motorStopSound file="Sounds/kroneBigX1100_stop.wav" pitchOffset="0.94" volume="1.10" indoorVolumeFactor="0.40" indoorLowpassGain="0.75"/>
    156. <motorSoundRun file="$data/vehicles/steerable/jcb/jcbFastrac8000_run.wav" pitchOffset="0.50" volume="0.80" indoorVolumeFactor="0.30" indoorLowpassGain="0.95" pitchMax="1.00" />
    157. <motorSoundLoad file="$data/vehicles/steerable/americanTruck/americanTruck_load.wav" pitchOffset="1.10" volume="1.30" indoorVolumeFactor="0.30" indoorLowpassGain="0.95" pitchMax="1.45" minimalVolumeFactor="0.10"/>
    158. <gearboxSound file="$data/sounds/transmission/transmissionCVT_X.wav" pitchOffset="1.00" volume="0.15" indoorVolumeFactor="0.55" indoorLowpassGain="0.75" pitchMax="1.40" volumeMax="0.70" reverseVolumeMax="0.60" />
    159. <retarderSound file="$data/sounds/transmission/retarderET1116.wav" pitchOffset="0.65" volume="0.10" indoorVolumeFactor="0.50" indoorLowpassGain="0.75" pitchMax="1.70" volumeMax="0.30" minSpeed="0.1" />
    160. <mowerStartSound file="$data/sounds/mower_start2.wav" pitchOffset="1.10" volume="0.90" indoorVolumeFactor="0.40" />
    161. <mowerSound file="$data/sounds/mower_work.wav" pitchOffset="1.34" volume="0.90" indoorVolumeFactor="0.40" cuttingPitchOffset="1.20" />
    162. <mowerStopSound file="$data/sounds/mower_stop.wav" pitchOffset="1.15" volume="0.85" indoorVolumeFactor="0.40"/>
    163. <reverseDriveSound file="$data/sounds/reverseDrivingBeep_3.wav" pitchOffset="1.00" volume="0.70" indoorVolumeFactor="0.20" indoorLowpassGain="0.90" />
    164. <brakeCompressor capacity="10000" fillSpeed="600" />
    165. <maximalAirConsumptionPerFullStop value="4000" />
    166. <brakeCompressorStartSound file="$data/vehicles/steerable/jcb/jcb_module.wav" pitchOffset="1.00" volume="0.90" indoorVolumeFactor="0.85" indoorLowpassGain="0.90" />
    167. <brakeCompressorRunSound file="$data/sounds/technicalAccessories/compressor_idle.wav" pitchOffset="0.98" volume="0.26" indoorVolumeFactor="0.15" indoorLowpassGain="0.90" pitchMax="1.10" />
    168. <brakeCompressorStopSound file="$data/sounds/technicalAccessories/brakeSmall.wav" pitchOffset="1.15" volume="1.10" indoorVolumeFactor="0.54" indoorLowpassGain="0.90" />
    169. <airReleaseValveSound file="$data/sounds/technicalAccessories/regulator_valve.wav" pitchOffset="0.96" volume="1.15" indoorVolumeFactor="0.85" indoorLowpassGain="0.95"/>
    170. <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.95" volume="0.75" indoorVolumeFactor="0.35" indoorLowpassGain="0.75" />
    171. <hydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.95" volume="0.75" indoorVolumeFactor="0.35" indoorLowpassGain="0.75" />
    172. <honkSound file="$data/sounds/hornBig.wav" pitchOffset="1.00" volume="1.50" indoorVolumeFactor="0.30" indoorLowpassGain="0.75" />
    173. <honkSound file="$data/sounds/hornBig.wav" pitchOffset="1.00" volume="1.50" indoorVolumeFactor="0.30" indoorLowpassGain="0.75" />
    174. <lights>
    175. <low>
    176. <light decoration="0>5|1|7|1" lightTypes="1" /> <!--Hud RearWL Warn-->
    177. <light decoration="0>5|1|1|3" lightTypes="2" /> <!--Hud High Warn-->
    178. <light decoration="0>5|1|7|0" lightTypes="0 3" /> <!-- Hud Lights On -->
    179. <light decoration="0>5|1|7|2" lightTypes="0 3" /> <!-- Inside Lights -->
    180. <light decoration="0>5|1|3|2|0" lightTypes="0 3" /> <!-- Control Stick -->
    181. <light decoration="0>5|1|8|1" lightTypes="0 3" /> <!-- Screens -->
    182. <light decoration="0>5|2|3|5|2" lightTypes="0 3" /> <!-- Lightbar -->
    183. <light decoration="0>13|0|5" lightTypes="0 3" />
    184. <light decoration="0>6|0|0" lightTypes="0 3" />
    185. <light realLight="0>6|0|1" lightTypes="0" excludedLightTypes="3" /> <!--FrontLights-->
    186. <light decoration="0>6|0|0" lightTypes="0 1"/> <!--BackLights-->
    187. <light realLight="0>6|1|1|2" decoration="0>6|1|1|0" lightTypes="1"/> <!--WorklightBack-->
    188. <light realLight="0>6|1|0|2" decoration="0>6|1|0|0" lightTypes="2"/> <!--WorklightFront-->
    189. <light realLight="0>6|0|2" lightTypes="3"/> <!--HighBeam -->
    190. </low>
    191. <high>
    192. <light decoration="0>5|1|7|1" lightTypes="1" /> <!--Hud RearWL Warn-->
    193. <light decoration="0>5|1|1|3" lightTypes="2" /> <!--Hud High Warn-->
    194. <light decoration="0>5|1|7|0" lightTypes="0 3" /> <!-- Hud Lights On -->
    195. <light decoration="0>5|1|7|2" lightTypes="0 3" /> <!-- Inside Lights -->
    196. <light decoration="0>5|1|3|2|0" lightTypes="0 3" /> <!-- Control Stick -->
    197. <light decoration="0>5|1|8|1" lightTypes="0 3" /> <!-- Screens -->
    198. <light decoration="0>5|2|3|5|2" lightTypes="0 3" /> <!-- Lightbar -->
    199. <light decoration="0>13|0|5" lightTypes="0 3" />
    200. <light decoration="0>6|0|0" lightTypes="0 3" />
    201. <light realLight="0>6|0|3" lightTypes="0" excludedLightTypes="2 3" /> <!--FrontLights-->
    202. <light realLight="0>6|2|1" decoration="0>6|2|0" lightTypes="0 3" /> <!--BackLights-->
    203. <light realLight="0>6|1|1|1" decoration="0>6|1|1|0" lightTypes="1" /> <!--WorklightBack -->
    204. <light realLight="0>6|1|0|1" decoration="0>6|1|0|0" lightTypes="2" /> <!--WorklightFront -->
    205. <light realLight="0>6|0|4" lightTypes="3" excludedLightTypes="2" /> <!--HighBeam-->
    206. </high>
    207. <states>
    208. <state lightTypes="0" />
    209. <state lightTypes="0 1" />
    210. <state lightTypes="0 1 2" />
    211. </states>
    212. </lights>
    213. <brakeLights>
    214. <brakeLight realLight="0>6|2|1" decoration="0>6|2|0" />
    215. </brakeLights>`
    216. <beaconLights>
    217. <beaconLight index="0>6|4|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight03.i3d" />
    218. <beaconLight index="0>5|2|3|0" speed="0.017" filename="Textures/LightBar/rotators.i3d" />
    219. <beaconLight index="0>5|2|3|1" speed="0.015" filename="Textures/LightBar/rotatorsfake.i3d" />
    220. <beaconLight index="0>5|2|3|2" speed="0.013" filename="Textures/LightBar/rotatorsfake.i3d" />
    221. <beaconLight index="0>5|2|3|3" speed="0.015" filename="Textures/LightBar/rotatorsfake.i3d" />
    222. <beaconLight index="0>5|2|3|4" speed="0.017" filename="Textures/LightBar/rotators.i3d" />
    223. </beaconLights>
    224. <turnLights>
    225. <turnLightLeft realLight="0>6|3|0|1" decoration="0>6|3|0|0" />
    226. <turnLightRight realLight="0>6|3|1|1" decoration="0>6|3|1|0" />
    227. <turnLightLeft realLight="0>13|0|7|0|1" decoration="0>13|0|7|0|0" />
    228. <turnLightRight realLight="0>13|0|7|1|1" decoration="0>13|0|7|1|0" />
    229. <!-- Cab and Roof -->
    230. <turnLightLeft decoration="0>5|1|1|1" />
    231. <turnLightLeft decoration="0>5|2|3|5|0" />
    232. <turnLightRight decoration="0>5|1|1|2" />
    233. <turnLightRight decoration="0>5|2|3|5|1" />
    234. </turnLights>
    235. <reverseLights>
    236. <reverseLight realLight="0>6|5|1" decoration="0>6|5|0" />
    237. </reverseLights>
    238. <mirrors>
    239. <mirror index="0>5|0|1|4|0|0" prio="1"/>
    240. <mirror index="0>5|0|1|4|0|1" prio="2"/>
    241. <mirror index="0>5|0|1|4|0|2" prio="1"/>
    242. <mirror index="0>5|0|1|4|0|3" prio="2"/>
    243. </mirrors>
    244. <indoorHud>
    245. <fuel numbers="0>12|0|0|4" precision="1" />
    246. <cruiseControl numbers="0>12|0|0|0" precision="1" />
    247. <speed numbers="0>12|0|0|6" precision="1" />
    248. <rpm numbers="0>12|0|0|2" precision="0" />
    249. <time numbers="0>12|0|0|8" precision="2" />
    250. <operatingTime numbers="0>12|0|0|3" precision="1" />
    251. <fuelUsage numbers="0>12|0|0|5" precision="1" />
    252. <workedHectars numbers="0>12|0|0|7" precision="1" />
    253. </indoorHud>
    254. <attacherJointConfigurations>
    255. <!-- Normal Location -->
    256. <attacherJointConfiguration name="$l10n_configuration_valueDefault" price="0">
    257. <attacherJoint index="0>8|1|0" jointType="trailerLow" allowsJointLimitMovement="false" lowerTransLimit="0 0 0" transNode="0>8|1" transNodeMinY="0.775" transNodeMaxY="1.069" lowerRotLimit="10 65 65" canTurnOnImplement="true" ptoOutputNode="0>8|3|0" comboTime="1" >
    258. <schema position="1 0" rotation="0" invertX="false" />
    259. <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
    260. </attacherJoint>
    261. <attacherJoint index="0>8|1|0" jointType="trailer" allowsJointLimitMovement="false" lowerTransLimit="0 0 0" transNode="0>8|1" transNodeMinY="0.775" transNodeMaxY="1.069" lowerRotLimit="10 65 65" canTurnOnImplement="true" ptoOutputNode="0>8|3|0" comboTime="1" >
    262. <schema position="1 0" rotation="0" invertX="false" />
    263. <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
    264. </attacherJoint>
    265. <objectChange node="0>8|1" visibilityActive="true"/>
    266. <objectChange node="0>8|0" visibilityActive="false"/>
    267. </attacherJointConfiguration>
    268. <!-- Extended Hitch -->
    269. <attacherJointConfiguration name="$l10n_configuration_hitch" price="200">
    270. <attacherJoint index="0>8|0|0|0" jointType="semitrailerHook" allowsJointLimitMovement="false" allowsLowering="true" lowerRotLimit="10 65 65" lowerTransLimit="0 0 0" canTurnOnImplement="true" comboTime="1" >
    271. <schema position="1 0" rotation="0" invertX="false" />
    272. <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
    273. </attacherJoint>
    274. <attacherJoint index="0>8|1|0" jointType="trailerLow" allowsJointLimitMovement="false" lowerTransLimit="0 0 0" transNode="0>8|1" transNodeMinY="0.775" transNodeMaxY="1.069" lowerRotLimit="10 65 65" canTurnOnImplement="true" ptoOutputNode="0>8|3|0" comboTime="1" >
    275. <schema position="1 0" rotation="0" invertX="false" />
    276. <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
    277. </attacherJoint>
    278. <attacherJoint index="0>8|1|0" jointType="trailer" allowsJointLimitMovement="false" lowerTransLimit="0 0 0" transNode="0>8|1" transNodeMinY="0.775" transNodeMaxY="1.069" lowerRotLimit="10 65 65" canTurnOnImplement="true" ptoOutputNode="0>8|3|0" comboTime="1" >
    279. <schema position="1 0" rotation="0" invertX="false" />
    280. <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10" indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
    281. </attacherJoint>
    282. <objectChange node="0>8|0" visibilityActive="true"/>
    283. <objectChange node="0>8|1" visibilityActive="true"/>
    284. </attacherJointConfiguration>
    285. </attacherJointConfigurations>
    286. <exhaustEffects>
    287. <exhaustEffect index="0>7|0|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.25" forwardXRotations="50 0 200" forwardZRotations="0 0 0" steerXRotations="0 0 0" steerZRotations="120 0 -100" />
    288. </exhaustEffects>
    289. <mower>
    290. <toggleWindrowDrop enableText="enablewindrowsdrop" disableText="disablewindrowsdrop" startEnabled="true" animationName="enableSwathMode" animationEnableSpeed="1" animationDisableSpeed="-1" />
    291. </mower>
    292. <enterAnimation name="enterAnimation" />
    293. <turnedOnRotationNodes>
    294. <turnedOnRotationNode index="0>16|1|0|2|0" rotSpeed="-2000" type="mower"/> <!--Left-->
    295. <turnedOnRotationNode index="0>19|1|0|2|0" rotSpeed="2000" type="mower"/> <!--Right-->
    296. <turnedOnRotationNode index="0>13|0|0|4|0" rotSpeed="-2000" type="mower"/> <!--Front Left-->
    297. <turnedOnRotationNode index="0>13|0|1|4|0" rotSpeed="2000" type="mower"/> <!--Front Right-->
    298. </turnedOnRotationNodes>
    299. <workAreas>
    300. <workArea startIndex="0>16|1|0|3|0" widthIndex="0>16|1|0|3|1" heightIndex="0>16|1|0|3|2" foldMinLimit="0" foldMaxLimit="0.1" dropWindrow="true" dropArea="0" type="mower" disableBackwards="false"/> <!-- Rear Left Cut -->
    301. <workArea startIndex="0>19|1|0|3|0" widthIndex="0>19|1|0|3|1" heightIndex="0>19|1|0|3|2" foldMinLimit="0" foldMaxLimit="0.1" dropWindrow="true" dropArea="1" type="mower" disableBackwards="false"/> <!-- Rear Right Cut -->
    302. <workArea startIndex="0>13|0|0|0|0" widthIndex="0>13|0|0|0|1" heightIndex="0>13|0|0|0|2" foldMinLimit="0" foldMaxLimit="0.1" dropWindrow="true" dropArea="2" type="mower" disableBackwards="false"/> <!-- Front Left Cut -->
    303. <workArea startIndex="0>13|0|1|0|0" widthIndex="0>13|0|1|0|1" heightIndex="0>13|0|1|0|2" foldMinLimit="0" foldMaxLimit="0.1" dropWindrow="true" dropArea="3" type="mower" disableBackwards="false"/> <!-- Front Right Cut -->
    304. <workArea startIndex="0>16|1|0|3|3" widthIndex="0>16|1|0|3|4" heightIndex="0>16|1|0|3|5" type="mowerDrop" disableBackwards="false"/> <!-- Rear Left Cut -->
    305. <workArea startIndex="0>19|1|0|3|3" widthIndex="0>19|1|0|3|4" heightIndex="0>19|1|0|3|5" type="mowerDrop" disableBackwards="false"/> <!-- Rear Right Cut -->
    306. <workArea startIndex="0>13|0|0|0|3" widthIndex="0>13|0|0|0|4" heightIndex="0>13|0|0|0|5" type="mowerDrop" disableBackwards="false"/> <!-- Front Left Cut -->
    307. <workArea startIndex="0>13|0|1|0|3" widthIndex="0>13|0|1|0|4" heightIndex="0>13|0|1|0|5" type="mowerDrop" disableBackwards="false"/> <!-- Front Right Cut -->
    308. </workAreas>
    309. <foldingParts startMoveDirection="1" turnOnFoldMaxLimit="0.16" turnOnFoldMinLimit="0" foldMiddleAnimTime="0.15" turnOffOnFold="true" posDirectionText="fold_Mower" negDirectionText="unfold_Mower" middlePosDirectionText="raise_Mower" middleNegDirectionText="lower_Mower">
    310. <foldingPart animationName="leftSide" speedScale="1.1" />
    311. <foldingPart animationName="rightSide" speedScale="1.1"/>
    312. </foldingParts>
    313. <animations>
    314. <animation name="leftSide">
    315. <part node="0>17" startTime="0" duration="1.5" startRot="0 0 0" endRot="0 0 15"/>
    316. <part componentJointIndex="0" startTime="0" endTime="1.5" endRotLimit="0 0 0" endTransLimit="0 0 0"/>
    317. <part node="0>17" startTime="1.5" duration="10" startRot="0 0 15" endRot="0 0 97"/>
    318. <part node="0>17|0" startTime="1.5" duration="10" startRot="0 0 0" endRot="0 -90 0"/> <!-- Rotate Wing Closed -->
    319. <part node="0>17|0|0" startTime="1.5" duration="10" startRot="0 0 0" endRot="-7 0 0"/>
    320. <part node="0>13|0|0" startTime="3" duration="10" startRot="0 0 0" endRot="0 2 35"/>
    321. <part node="0>13|0|0|10|0" startTime="1.5" duration="5" startRot="0 0 0" endRot="0 0 90"/> <!-- Small Flap Left -->
    322. <part node="0>5|1|8|0|1|2" startTime="0" duration="0.1" startTrans="-0.643 3.151 1.611" endTrans="-0.637 3.156 1.604"/> <!-- Deck Status Screen -->
    323. </animation>
    324. <animation name="rightSide">
    325. <part node="0>20" startTime="0" duration="1.5" startRot="0 0 0" endRot="0 0 -15"/>
    326. <part node="0>22" startTime="0" duration="1.5" startRot="0 0 0" endRot="-5 0 0"/>
    327. <part componentJointIndex="1" startTime="0" endTime="1.5" endRotLimit="0 0 0" endTransLimit="0 0 0"/>
    328. <part componentJointIndex="2" startTime="0" endTime="1.5" endRotLimit="0 0 0" endTransLimit="0 0 0"/>
    329. <part node="0>20" startTime="1.5" duration="10" startRot="0 0 -15" endRot="0 0 -97"/>
    330. <part node="0>20|0" startTime="1.5" duration="10" startRot="0 0 0" endRot="0 90 0"/>
    331. <part node="0>20|0|0" startTime="1.5" duration="10" startRot="0 0 0" endRot="-7 0 0"/>
    332. <part node="0>13|0|1" startTime="3" duration="10" startRot="0 0 0" endRot="0 -2 -35"/>
    333. <part node="0>22" startTime="3" duration="5" startRot="-5 0 0" endRot="-15 0 0"/>
    334. <part node="0>13|0|1|10|0" startTime="1.5" duration="5" startRot="0 0 0" endRot="0 0 -90"/> <!-- Small Flap Right -->
    335. </animation>
    336. <animation name="enableSwathMode">
    337. <part node="0>16|1|0|1" startTime="0" duration="0.8" startRot="0 0 30" endRot="0 0 0"/>
    338. <part node="0>19|1|0|1" startTime="0" duration="0.8" startRot="0 0 -30" endRot="0 0 0"/>
    339. <part node="0>13|0|0|3" startTime="0" duration="0.8" startRot="30 0 0" endRot="0 0 0"/>
    340. <part node="0>13|0|1|3" startTime="0" duration="0.8" startRot="30 0 0" endRot="0 0 0"/>
    341. </animation>
    342. <animation name="enterAnimation">
    343. <part node="0>5|1|1" startTime="0.5" endTime="2.0" startRot="25 0 0" endRot="0 0 0"/>
    344. <part node="0>5|1|3|3|0" startTime="0.5" endTime="2.0" startRot="0 0 0" endRot="90 0 0"/>
    345. <part node="0>5|1|8|0|0" startTime="2.5" endTime="2.6" startTrans="0 0 0.02" endTrans="0 0 0"/>
    346. <part node="0>5|1|8|0|1" startTime="2.5" endTime="2.6" startTrans="0 0 0.02" endTrans="0 0 0"/>
    347. <part node="0>5|1|8|1|0" startTime="2.5" endTime="2.6" startTrans="0 0 0.02" endTrans="0 0 0"/>
    348. <part node="0>5|1|8|1|1" startTime="2.5" endTime="2.6" startTrans="0 0 0.02" endTrans="0 0 0"/>
    349. <part node="0>12|0" startTime="2.5" endTime="2.6" startTrans="0 0 0.02" endTrans="0 0 0"/>
    350. </animation>
    351. </animations>
    352. <movingParts>
    353. <!-- left parts -->
    354. <movingPart index="0>16" referencePoint="1>0" referenceFrame="0>17" isActiveDirty="true" useLocalOffset="true" limitedAxis="3">
    355. <dependentPart index="0>16|1"/>
    356. <dependentPart index="0>18"/>
    357. </movingPart>
    358. <movingPart index="0>16|1" referencePoint="1>0|0" referenceFrame="0>17|0">
    359. <dependentPart index="0>16|1|0"/>
    360. <dependentPart index="0>16|0"/>
    361. </movingPart>
    362. <movingPart index="0>16|1|0" referenceFrame="1>0|0">
    363. <dependentPart index="0>16|1|0|6"/>
    364. </movingPart>
    365. <!-- leftPartArmMainHydraulics -->
    366. <movingPart index="0>18" referencePoint="0>16|2" referenceFrame="0>17">
    367. <translatingPart index="0>18|0"/>
    368. </movingPart>
    369. <!-- leftPartArmMiddleHydraulics -->
    370. <movingPart index="0>16|0" referencePoint="0>16|1|1" referenceFrame="0>16|0">
    371. <translatingPart index="0>16|0|0"/>
    372. </movingPart>
    373. <!-- cutterHydraulicsLeft -->
    374. <movingPart index="0>16|1|0|6" referencePoint="0>16|1|2" referenceFrame="0>16|1|0|6">
    375. <translatingPart index="0>16|1|0|6|0"/>
    376. </movingPart>
    377. <!-- right parts -->
    378. <movingPart index="0>19" referencePoint="2>0" referenceFrame="0>20" isActiveDirty="true" useLocalOffset="true" limitedAxis="3">
    379. <dependentPart index="0>19|1"/>
    380. <dependentPart index="0>21"/>
    381. </movingPart>
    382. <movingPart index="0>19|1" referencePoint="2>0|0" referenceFrame="0>20|0">
    383. <dependentPart index="0>19|1|0"/>
    384. <dependentPart index="0>19|0"/>
    385. </movingPart>
    386. <movingPart index="0>19|1|0" referenceFrame="2>0|0">
    387. <dependentPart index="0>19|1|0|6"/>
    388. </movingPart>
    389. <!-- rightPartArmMainHydraulics -->
    390. <movingPart index="0>21" referencePoint="0>19|2" referenceFrame="0>20">
    391. <translatingPart index="0>21|0"/>
    392. </movingPart>
    393. <!-- rightPartArmMiddleHydraulics -->
    394. <movingPart index="0>19|0" referencePoint="0>19|1|1" referenceFrame="0>19|0">
    395. <translatingPart index="0>19|0|0"/>
    396. </movingPart>
    397. <!-- cutterHydraulicsRight -->
    398. <movingPart index="0>19|1|0|6" referencePoint="0>19|1|2" referenceFrame="0>19|1|0|6">
    399. <translatingPart index="0>19|1|0|6|0"/>
    400. </movingPart>
    401. <!-- front parts -->
    402. <movingPart index="0>13" referencePoint="3>0" referenceFrame="3>" isActiveDirty="true" useLocalOffset="true" limitedAxis="1">
    403. <dependentPart index="0>13|0"/>
    404. </movingPart>
    405. <movingPart index="0>13|0" referenceFrame="3>">
    406. <dependentPart index="0>15"/>
    407. <dependentPart index="0>25"/>
    408. <dependentPart index="0>26"/>
    409. <dependentPart index="0>27"/>
    410. </movingPart>
    411. <!-- frontArmHydraulics -->
    412. <movingPart index="0>15" referencePoint="0>13|0|3" referenceFrame="0>15">
    413. <translatingPart index="0>15|0"/>
    414. </movingPart>
    415. <movingPart index="0>25" referencePoint="0>13|0|6" referenceFrame="0>"/> <!-- Front Mower PTO -->
    416. <movingPart index="0>26" referencePoint="0>13|0|0|9" referenceFrame="0>13|0|0" scaleZ="true"/>
    417. <movingPart index="0>27" referencePoint="0>13|0|1|9" referenceFrame="0>13|0|1" scaleZ="true"/>
    418. <!-- Front Flaps -->
    419. <movingPart index="0>13|0|0|6" referencePoint="0>13|0|0|10|0|0|0" referenceFrame="0>13|0|0|10|0|0|0" lockAxis="1" >
    420. <translatingPart index="0>13|0|0|6|0"/> <!-- Left -->
    421. </movingPart>
    422. <movingPart index="0>13|0|1|6" referencePoint="0>13|0|1|10|0|0|0" referenceFrame="0>13|0|1|10|0|0|0" lockAxis="1" >
    423. <translatingPart index="0>13|0|1|6|0"/> <!-- Right -->
    424. </movingPart>
    425. <!-- Lift Rams Left -->
    426. <movingPart index="0>13|0|0|8" referencePoint="0>13|0|10" referenceFrame="0>13|0|10" lockAxis="1" >
    427. <translatingPart index="0>13|0|0|8|0"/>
    428. </movingPart>
    429. <movingPart index="0>13|0|11" referencePoint="0>13|0|0|11" referenceFrame="0>13|0|0|11" lockAxis="1" >
    430. <translatingPart index="0>13|0|11|0"/>
    431. </movingPart>
    432. <!-- Lift Rams Right -->
    433. <movingPart index="0>13|0|1|8" referencePoint="0>13|0|12" referenceFrame="0>13|0|12" lockAxis="1" >
    434. <translatingPart index="0>13|0|1|8|0"/>
    435. </movingPart>
    436. <movingPart index="0>13|0|13" referencePoint="0>13|0|1|11" referenceFrame="0>13|0|1|11" lockAxis="1" >
    437. <translatingPart index="0>13|0|13|0"/>
    438. </movingPart>
    439. </movingParts>
    440. <movingTools>
    441. <!-- Front Flaps -->
    442. <movingTool index="0>13|0|0|10|0">
    443. <dependentPart index="0>13|0|0|6" />
    444. </movingTool>
    445. <movingTool index="0>13|0|1|10|0">
    446. <dependentPart index="0>13|0|1|6" />
    447. </movingTool>
    448. <!-- Lift Rams Left -->
    449. <movingTool index="0>13|0|0">
    450. <dependentPart index="0>13|0|0|8" />
    451. <dependentPart index="0>13|0|11" />
    452. </movingTool>
    453. <!-- Lift Rams Right -->
    454. <movingTool index="0>13|0|1">
    455. <dependentPart index="0>13|0|1|8" />
    456. <dependentPart index="0>13|0|13" />
    457. </movingTool>
    458. <!-- Back Right Arm -->
    459. <movingTool index="0>20" playSound="true">
    460. <componentJoint index="1" />
    461. <anchorActor index="0" />
    462. </movingTool>
    463. <movingTool index="0>20|0" playSound="true">
    464. <componentJoint index="1" />
    465. <anchorActor index="0" />
    466. </movingTool>
    467. <movingTool index="0>20|0|0" playSound="true">
    468. <componentJoint index="1" />
    469. <anchorActor index="0" />
    470. </movingTool>
    471. <!-- Back Left Arm -->
    472. <movingTool index="0>17" playSound="true">
    473. <componentJoint index="0" />
    474. <anchorActor index="0" />
    475. </movingTool>
    476. <movingTool index="0>17|0" playSound="true">
    477. <componentJoint index="0" />
    478. <anchorActor index="0" />
    479. </movingTool>
    480. <movingTool index="0>17|0|0" playSound="true">
    481. <componentJoint index="0" />
    482. <anchorActor index="0" />
    483. </movingTool>
    484. <!-- Front Arm -->
    485. <movingTool index="0>22" playSound="true">
    486. <componentJoint index="2" />
    487. <anchorActor index="0" />
    488. </movingTool>
    489. <movingTool index="0>22|0" playSound="true">
    490. <componentJoint index="2" />
    491. <anchorActor index="0" />
    492. </movingTool>
    493. </movingTools>
    494. <ai>
    495. <trafficCollisionTrigger index="0>11|1" />
    496. <needsLowering value="true" />
    497. <areaMarkers leftIndex="0>13|0|8|0" rightIndex="0>13|0|8|1" backIndex="0>13|0|8|2" />
    498. <asizeMarkers leftIndex="0>11|0|0>" rightIndex="0>11|0|1>" backIndex="0>11|0|2>" />
    499. </ai>
    500. <washable dirtDuration="90" washDuration="1" workMultiplier="1.5"/>
    501. <baseColorConfigurations useDefaultColors="true" price="1600" icon="$dataS2/menu/hud/configurations/config_color.png">
    502. <baseColorConfiguration color="0.05 0.35 0.02 1" />
    503. <colorNode node="0>5|0|0|7" />
    504. <colorNode node="0>5|0|1|3" />
    505. <colorNode node="0>5|0|1|5" />
    506. <colorNode node="0>13" />
    507. <colorNode node="0>13|0" />
    508. <colorNode node="0>13|0|0" />
    509. <colorNode node="0>13|0|0|3" />
    510. <colorNode node="0>13|0|0|10|0" />
    511. <colorNode node="0>13|0|1" />
    512. <colorNode node="0>13|0|1|3" />
    513. <colorNode node="0>13|0|1|10|0" />
    514. <colorNode node="0>16" />
    515. <colorNode node="0>16|1" />
    516. <colorNode node="0>16|1|0" />
    517. <colorNode node="0>16|1|0|1" />
    518. <colorNode node="0>19" />
    519. <colorNode node="0>19|1" />
    520. <colorNode node="0>19|1|0" />
    521. <colorNode node="0>19|1|0|1" />
    522. </baseColorConfigurations>
    523. <designConfigurations>
    524. <designConfiguration name="$l10n_configuration_valueDefault" price="0" />
    525. <designConfiguration name="$l10n_configuration_LightBar" price="500" icon="$dataS2/menu/hud/configurations/config_edition.png" >
    526. <objectChange node="0>5|2|3" visibilityActive="true" visibilityInactive="false" />
    527. </designConfiguration>
    528. </designConfigurations>
    529. <components count="4">
    530. <component1 centerOfMass="0 1 -0.65" solverIterationCount="10"/>
    531. <component2 centerOfMass="0 0 0" solverIterationCount="10"/>
    532. <component3 centerOfMass="0 0 0" solverIterationCount="10"/>
    533. <component4 centerOfMass="0 0 0" solverIterationCount="10"/>
    534. <joint component1="0" component2="1" index="0>17|0|0" rotLimit="2 0 9" transLimit="0 0.7 0"/>
    535. <joint component1="0" component2="2" index="0>20|0|0" rotLimit="2 0 9" transLimit="0 0.7 0"/>
    536. <joint component1="0" component2="3" index="0>22|0" rotLimit="9 0 0" transLimit="0 0.7 0"/>
    537. </components>
    538. <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/vehicleSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/vehicleSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0.5 0" />
    539. </vehicle>


    *Immer noch keine ahnung wie man ein Spoiler erstellt :'D
    Neuling in VB :P
    ModStudio1.11 : 35%

    ModStudio :thumbup:

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „xX-Nick-Xx“ ()

    Neu

    Ich glaube eher das der Parser vom Spiel probleme mit den Special Chars hat, in der "Vorher.xml" steht zb 0>1 (falsch) in dem Attribut, wohin gegen in der "Nachher.xml" 0&gt;1 (richtig) steht.

    RFC 3076 - Encoding of special characters
    Antivirus 2.0: Der perfekte Schutz gegen Malware > Weitere Informationen :whistling:

    Neu

    xX-Nick-Xx schrieb:

    Eben nicht, das spiel Erkennt die XML dann nicht mehr.
    Diese Info in Post #17. Beachtlich.
    Dann lies die XML ein, parse sie zu Fuß und schreib sie so hin, wie das Spiel sie verlangt.
    Im Prinzip musst Du nur </ suchen und davor einen Zeilenumbruch reinschreiben.
    Falls Du diesen Code kopierst, achte auf die C&P-Bremse.
    Jede einzelne Zeile Deines Programms, die Du nicht explizit getestet hast, ist falsch :!:
    Ein guter .NET-Snippetkonverter (der ist verfügbar).
    VB-Fragen über PN / Konversation werden ignoriert!