Cattle and Crops - XML Doku (WIP)

    • Cattle and Crops - XML Doku (WIP)

      Moin Leute,

      habe mich heute mal hingesetzt und alles was ich in der XML so an categories, attributes, capabilities usw. finden konnte zusammengeschrieben und alles bei dem ich mir sicher bin mit einer kleinen Beschreibung ausgestattet. Hoffe es hilft beim Modding, dann muss man nicht immer ewig rumraten was jetzt der Key oder die id sein soll sonder kann einfach nachsehen:

      XML Source Code: TypesIDsAndMore

      1. <?xml version="1.0"?>
      2. <!-- available modification types -->
      3. <!-- implement/Anbaugerät -->
      4. <modification type="implement" />
      5. <!-- vehicle/Fahrzeug -->
      6. <modification type="vehicle" />
      7. <!-- available categories -->
      8. <!-- Shovel/Schaufel -->
      9. <category id="shov" />
      10. <!-- Tractor/Traktor -->
      11. <category id="trac" />
      12. <!-- Frontloader/Frontlader -->
      13. <category id="fron" />
      14. <!-- Forage Harvester/Häcksler -->
      15. <category id="forh" />
      16. <!-- Fertilizer/Dünger -->
      17. <category id="fert" />
      18. <!-- Seeder/Sämaschine -->
      19. <category id="seed" />
      20. <!-- Trailer/Anhänger -->
      21. <category id="trai" />
      22. <!-- Transport trailer/Transport Anhänger -->
      23. <category id="trtr" />
      24. <!-- Cultivator/Kultivator -->
      25. <category id="cult" />
      26. <!-- Plow/Pflug -->
      27. <category id="plow" />
      28. <!-- Spreader (Slurry and so on)/Verteiler (Gülle, Mist usw.) -->
      29. <category id="sprd" />
      30. <!-- Atrributes shown in the shop. These don't change anything with the mod itself, they just provide info in the shop -->
      31. <!-- Workwidth [m]/Arbeitsbreite [m]-->
      32. <attribute key="WRKW" value="2" />
      33. <!-- Work depth [cm]/Arbeitstiefe [cm] -->
      34. <attribute key="WRKD" value="7" />
      35. <!-- Weight [kg]/Gewicht [kg]-->
      36. <attribute key="WEIS" value="670" />
      37. <!-- Prongs/Zinken -->
      38. <attribute key="PRNG" value="5" />
      39. <!-- Attacher front/Kupplungen vorne
      40. Values: Frontloader tool/Frontlader Gerät, Frontloader (as Icon)/Frontlader (als Icon), Three Point/Dreipunkt,
      41. Tow pin/Zugmaul, Ball/Kugelkopf, cutter forage harvester/Schneidewerk Häcksler, Four Point/Vier Punkt -->
      42. <attribute key="ATFR" value="FRLT,FRLO,THRE,TPIN,BALL,CTFH,FOUR"/>
      43. <!-- Engine power [Hp]/Motorleistung (PS) -->
      44. <attribute key="ENGI" value="145" />
      45. <!-- Nominal rotational speed/Nenndrehzahl -->
      46. <attribute key="RRPM" value="2200" />
      47. <!-- Speed [km/h]/Geschwindigkeit [km/h] -->
      48. <attribute key="SPED" value="50" />
      49. <!-- Needed power [Hp]/Benötigte Leistung [PS] -->
      50. <attribute key="NDPW" value="375" />
      51. <!-- Tank volume [l]/Tankvolumen [l] -->
      52. <attribute key="TANK" value="220" />
      53. <!-- Turn radius [m]/Wenderadius [m] -->
      54. <attribute key="TRNR" value="4.7" />
      55. <!-- Frontloader console (as boolean)/Frontladerkonsole (als boolean)-->
      56. <attribute key="FRLC" value="1" />
      57. <!-- Attacher rear (for values check ATFR)/Kupplung hinten (für Werte siehe ATFR) -->
      58. <attribute key="ATRE" value="THRE,FRLO" />
      59. <!-- Pipe lenght [m]/Auswurfrohr-Länge [m] -->
      60. <attribute key="PIPE" value="6" />
      61. <!-- Axles count/Achsen Anzahl -->
      62. <attribute key="AXLE" value="1" />
      63. <!-- Transport height [m]/Transporthöhe [m] -->
      64. <attribute key="TRHE" value="2.35" />
      65. <!-- Transport width [m]/Transportbreite [m] -->
      66. <attribute key="TRWI" value="2.8" />
      67. <!-- Load Volume [m^3] (Shovel)/Ladevolumen [m^3] (Schaufel)-->
      68. <attribute key="SFLD" value="1.04" />
      69. <!-- Load Volume [m^3] (Solids)/Ladevolumen (Feststoffe) [m^3] -->
      70. <attribute key="TFLD" value="50" />
      71. <!-- Floor space [m^2](Animals) / Stellfläche [m^2] (Tiere) -->
      72. <attribute key="TFAR" value="20" />
      73. <!-- Fill Volume [l] (Liquid) / Füllmenge [l] (Flüssigkeit) -->
      74. <attribute key="TFLF" value="18000" />
      75. <!-- Filltype/Fülltyp
      76. Values: Solid/Feststoff, Chaff/Häckselgut, -->
      77. <attribute key="FILT" value="Solid,Chaff" />
      78. <!-- Pickup (as boolean)/Pickup (als boolean) -->
      79. <attribute key="PICK" value="0" />
      80. <!-- Silage wagon (as boolean)/Silage Wagen (als boolean) -->
      81. <attribute key="SILG" value="1" />
      82. <!-- Boards/Schare -->
      83. <attribute key="BOAR" value="4" />
      84. <!-- Extends Hydraulics (as boolean)/erweitert Hydraulik (als boolean) -->
      85. <attribute key="EXHY" value="0" />
      86. <!-- Has Lights (as boolean)/Hat Belechtung (als boolean) -->
      87. <attribute key="HLIG" value="0" />
      88. <!-- Capabilities are still missing icons in the game right now -->
      89. <!-- Harvester/Erntemaschine) -->
      90. <capability value="HARV" />
      91. <!-- Cutting/Ernten -->
      92. <capability value="CUTT" />
      93. <!-- Fieldwork/Feldarbeit -->
      94. <capability value="FLWK" />
      95. <!-- Fertilize/Düngen -->
      96. <capability value="FERT" />
      97. <!-- Transport/Transport -->
      98. <capability value="TRSP" />
      99. <!-- Animal transport/Tiertransport -->
      100. <capability value="ATSP" />
      101. <!-- Cultivate/Kultivieren -->
      102. <capability value="CULT" />
      103. <!-- Plow/Pflügen -->
      104. <capability value="PLOW" />
      105. <!-- Feeding/Fütterung -->
      106. <capability value="FEED" />
      107. <!-- Detailed Info -->
      108. <!-- ??? (isn't shown correctly ingame) / ??? (Wird im Spiel nicht richtig angezeigt) -->
      109. <detailInfo stringId="YEAR" />
      110. <!-- Particlesystem / Partikelsystem -->
      111. <detailInfo title="Partikelsystem" value="nein" />
      112. <!-- Dirt/Dreck -->
      113. <detailInfo title="Dirt" value="nein" />
      114. <!-- Single line explanations -->
      115. <!-- name: Manufacturer name, logo: Path to you .tex logo file
      116. name: Hersteller name, logo: Pfad zum .tex files des Firmen logos -->
      117. <manufacturer name="Manufacturer name" logo="path" />
      118. <!-- The Mods name shown in the ingame shp
      119. Der Name des Mods der im Shop angezeigt wird -->
      120. <name>Mod name</name>
      121. <!-- id: defines the series (e.g. Arion or Axion)
      122. id: definiert die Seria (z.B. Arion oder Axion) -->
      123. <series id="series" />
      124. <!-- file: defines the path to your .wld file
      125. file: definiert den Pfad zum .wld file -->
      126. <world file="path" />
      127. <!-- price: defines the price of the mod [integer], icon: defines the path to your shop icon .tex file
      128. price: definiert den Preis des Mods [Ganzzahl], icon: definiert den Pfad zum shop Bild .tex file -->
      129. <shop price="100" icon="path" />
      130. <!-- pricePerHour: defines the price per hour the when the vehicle is rent [integer]
      131. pricePerHour: definiert den Preis den das Fahrzeug beim mieten pro Stunde kostet [Ganzzahl] -->
      132. <rent pricePerHour="60" />
      133. <!-- value: defines the offset the worker needs to lower/activate the implement at the start of the lane from the field border [m]
      134. value: definiert den Offset mit dem der Arbeiter das Anbaugerät ablässt/aktiviert wenn er den Feldrand erreicht am Start einer Feldbahn vom Feldrand [m] -->
      135. <trackStartOffset value="0.0" />
      136. <!-- value: same as the one above but at the end of the Fieldwork/Feldarbeit
      137. value: wie oben, nur am Ende einer Feldbahn -->
      138. <trackEndOffset value="5.0" />
      139. <!-- value: defines if the implement supports a 3-point-turn at the end of the field lande
      140. value: definiert ob das Anbaugerät eine 3-Punkt-Wendung am Ende einer Feldbahn unterstützt -->
      141. <supportsThreePointTurn value="false" />
      142. <!-- value: defines the maximum working speed
      143. value: definiert die maximale Arbeitsgeschwindigkeit -->
      144. <maxHelperSpeed value="15" />
      145. <!-- Definitions I'm not completely sure about so I left the uncommented for now. Most of them should be kind of self explanatory. There are probably a lot that I've missed anyways -->
      146. <workWidth type="manual" value="28" />
      147. <workDepth value="-0.07" frictionOffset="-0.03" />
      148. <vehicleDrive type="VehicleNoDrive" forcedSteeringAngle="35.0" forcedSteeringAngle="35.0" minSpeedForForcedSteering="0" maxSpeedForForcedSteering="20" />
      149. <vehicleDrive type="VehicleDrive4W" differential="limited_slip_4W" />
      150. <dynamicMaterial node="dashboard" index="0" />
      151. <steering clamp="0.4" increment="0.001" accelarationFactor="0.0002" decelarationFactor="0.003" minTurningRadius="4.7"/>
      152. <seat node="seat" primary="true"/>
      153. <speed cruiseControl="0 8 15 50" maxSpeed="50" maxReverseSpeed="25" />
      154. <engine powerKW="100" minRpm="800" price="0" clutchStrength="100" moi="1.2" dampingRateFullThrottle="1.0" dampingRateZeroThrottleClutchEngaged="1.0" dampingRateZeroThrottleClutchDisengaged="1.0" >
      155. <fuel capacity="135" minUsage="4.0" maxUsage="55.0" />
      156. <torque rpm="800" torque="400" />
      157. </engine>
      158. <sounds>
      159. <hornSound file="path" />
      160. <engineSound file="path" type="exhaust" rpm="900" pitch="0.05" volume="0.7" volumePitch="0.1" range="150" frequency="0.8" />
      161. <soundGroup type="engine" volume="0.4"> <!-- types: engine, indoor -->
      162. <engineSound file="path" type="engine" rpm="-1" range="250" volume="1.0" />
      163. </soundGroup>
      164. </sounds>
      Display All
      Eine übersichtliche Version als Download findet ihr HIER