Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.40 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <vehicle type="carFillable">
  3. <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
  4. <storeData>
  5. <name> <en>Scania 6X4 Bak</en>
  6. </name>
  7. <specs>
  8. <power>620</power>
  9. </specs>
  10. <functions>
  11. <function>$l10n_function_truck</function>
  12. </functions>
  13. <image>store.png</image>
  14. <price>137000</price>
  15. <lifetime>600</lifetime>
  16. <rotation>0</rotation>
  17. <brand>SCANIA</brand>
  18. <category>trucks</category>
  19. </storeData>
  20. <base>
  21. <filename>ScaniaR620Topline.i3d</filename>
  22. <size width="3.5" length="7"/>
  23. <components>
  24. <component centerOfMass="0 0.65 0" solverIterationCount="10"/>
  25. </components>
  26. <schemaOverlay attacherJointPosition="0.5 0">
  27. <default name="DEFAULT_VEHICLE"/>
  28. <selected name="DEFAULT_VEHICLE_SELECTED"/>
  29. </schemaOverlay>
  30. </base>
  31. <wheels>
  32. <wheelConfigurations>
  33. <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="2000">
  34. <wheels autoRotateBackSpeed="2.2">
  35. <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
  36. <physics rotSpeed="1" restLoad="1.4" repr="0>0|0|0" driveNode="0>0|0|0|0" mass="1" radius="0.55" width="0.5" forcePointRatio="0.5" initialCompression="25" suspTravel="0.11" spring="45" damper="30" />
  37. </wheel>
  38. <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
  39. <physics rotSpeed="1" restLoad="1.4" repr="0>0|0|1" driveNode="0>0|0|1|0" mass="1" radius="0.55" width="0.5" forcePointRatio="0.5" initialCompression="25" suspTravel="0.11" spring="45" damper="30" />
  40. </wheel>
  41. <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
  42. <physics rotSpeed="0" restLoad="1.4" repr="0>0|0|2" mass="1" radius="0.55" width="0.5" forcePointRatio="0.5" initialCompression="20" suspTravel="0.16" spring="35" damper="30" />
  43. </wheel>
  44. <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
  45. <physics rotSpeed="0" restLoad="1.4" repr="0>0|0|3" mass="1" radius="0.55" width="0.5" forcePointRatio="0.5" initialCompression="20" suspTravel="0.16" spring="35" damper="30" />
  46. </wheel>
  47. <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
  48. <physics rotSpeed="0" restLoad="1.4" repr="0>0|0|4|0" mass="1" radius="0.55" width="0.5" forcePointRatio="0.5" initialCompression="20" suspTravel="0.16" spring="35" damper="30" />
  49. </wheel>
  50. <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
  51. <physics rotSpeed="0" restLoad="1.4" repr="0>0|0|4|1" mass="1" radius="0.55" width="0.5" forcePointRatio="0.5" initialCompression="20" suspTravel="0.16" spring="35" damper="30" />
  52. </wheel>
  53.  
  54. </wheels>
  55. </wheelConfiguration>
  56. </wheelConfigurations>
  57.  
  58. <ackermannSteeringConfigurations>
  59. <ackermannSteering rotSpeed="55" rotMax="55" rotCenterWheel1="3" rotCenterWheel2="4" />
  60. </ackermannSteeringConfigurations>
  61. </wheels>
  62.  
  63. <attacherJoints>
  64. <attacherJoint node="0>14" jointType="semitrailer" lowerRotLimit="12 175 12" allowsJointLimitMovement="false" allowsLowering="false" enableCollision="true">
  65. <schema position="1 0" rotation="0" invertX="false"/>
  66. </attacherJoint>
  67. <sounds>
  68. <attach file="$data/sounds/truck_attach.wav">
  69. <pitch outdoor="1"/>
  70. </attach>
  71. </sounds>
  72. </attacherJoints>
  73. <lights>
  74. <states>
  75. <state lightTypes="0" />
  76. <state lightTypes="0 1" />
  77. <state lightTypes="0 1 2 3" />
  78. </states>
  79.  
  80. <realLights>
  81. <low>
  82. <light node="0>2|0|0" lightTypes="0" excludedLightTypes="2 3" />
  83. <light node="0>2|1|2" lightTypes="1" />
  84. <light node="0>2|1|1" lightTypes="2" />
  85. <light node="0>2|0|1" lightTypes="3" />
  86. </low>
  87. <high>
  88. <light node="0>2|0|2" lightTypes="0" excludedLightTypes="2 3" />
  89. <light node="0>2|1|3" lightTypes="1" />
  90. <light node="0>2|1|0" lightTypes="2" />
  91. <light node="0>2|0|3" lightTypes="3" />
  92. <brakeLight node="0>2|2|0" />
  93. <turnLightLeft node="0>2|3|0" />
  94. <turnLightRight node="0>2|3|1" />
  95. <reverseLight node="0>2|4|0" />
  96. </high>
  97. </realLights>
  98.  
  99. </lights>
  100. <enterable>
  101. <exitPoint node="0>10"/>
  102. <enterReferenceNode node="0>"/>
  103. <characterNode node="0>15|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
  104. <target ikChain="rightFoot" targetNode="0>15|1"/>
  105. <target ikChain="leftFoot" targetNode="0>15|2"/>
  106. <target ikChain="rightArm" targetNode="0>13|0|1"/>
  107. <target ikChain="leftArm" targetNode="0>13|0|2"/>
  108. </characterNode>
  109. <cameras>
  110. <camera node="6|0" rotatable="true" rotateNode="6" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35">
  111. <raycastNode node="0>8"/>
  112. <raycastNode node="0>9"/>
  113. </camera>
  114. <camera node="7" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
  115. </cameras>
  116. </enterable>
  117. <motorized>
  118. <motorConfigurations>
  119. <motorConfiguration name="$l10n_configuration_valueDefault" price="0">
  120. <motor torqueScale="2.533" minRpm="1000" maxRpm="2200" maxForwardSpeed="103" maxBackwardSpeed="15" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015">
  121. <torque normRpm="0.45" torque="0.5"/>
  122. <torque normRpm="0.5" torque="0.6"/>
  123. <torque normRpm="0.59" torque="0.7"/>
  124. <torque normRpm="0.72" torque="1"/>
  125. <torque normRpm="0.86" torque="0.88"/>
  126. <torque normRpm="1" torque="0.7"/>
  127. </motor>
  128. <transmission minForwardGearRatio="8.4" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150"/>
  129. </motorConfiguration>
  130. </motorConfigurations>
  131. <consumerConfigurations>
  132. <consumerConfiguration>
  133. <consumer fillUnitIndex="2" usage="192" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
  134. <consumer fillUnitIndex="3" usage="300" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5"/>
  135. </consumerConfiguration>
  136. </consumerConfigurations>
  137. <differentialConfigurations>
  138. <differentialConfiguration>
  139. <differentials>
  140. <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="3" wheelIndex2="4"/>
  141. <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="5" wheelIndex2="6"/>
  142. <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="1" differentialIndex2="2"/>
  143. </differentials>
  144. </differentialConfiguration>
  145. </differentialConfigurations>
  146. <exhaustEffects>
  147. <exhaustEffect node="0>20|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0 0 0 0.5" maxRpmColor="0.01 0.01 0.01 15" minRpmScale="0.3" maxRpmScale="1" xzRotationsOffset="40 0" xzRotationsForward="-20 0" xzRotationsBackward="100 0" xzRotationsLeft="0 -100" xzRotationsRight="0 100"/>
  148. <exhaustEffect node="0>20|1" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0 0 0 0.5" maxRpmColor="0.01 0.01 0.01 15" minRpmScale="0.3" maxRpmScale="1" xzRotationsOffset="40 0" xzRotationsForward="-20 0" xzRotationsBackward="100 0" xzRotationsLeft="0 -100" xzRotationsRight="0 100"/>
  149. </exhaustEffects>
  150. <motorStartDuration>2500</motorStartDuration>
  151. <sounds>
  152. <motorStart file="Sounds/engine_on.wav">
  153. <volume outdoor="1.0"/>
  154. <pitch outdoor="0.6"/>
  155. </motorStart>
  156. <motor file="Sounds/low.wav">
  157. <volume outdoor="0.4"/>
  158. <pitch outdoor="0.6"/>
  159. </motor>
  160. <motorStop file="Sounds/engine_off.wav">
  161. <volume outdoor="1"/>
  162. <pitch outdoor="0.6"/>
  163. </motorStop>
  164. <compressedAir file="$data/sounds/technicalAccessories/brakeBig.wav">
  165. <volume outdoor="1.25"/>
  166. <pitch outdoor="1"/>
  167. </compressedAir>
  168. <motor file="Sounds/high.wav">
  169. <volume indoor="0.65" outdoor="1.30"/>
  170. <pitch outdoor="0.50"/>
  171. <lowpassGain indoor="0.95"/>
  172. </motor>
  173. <motor file="Sounds/mid.wav">
  174. <volume outdoor="1"/>
  175. <pitch outdoor="0.3"/>
  176. </motor>
  177. </sounds>
  178. </motorized>
  179. <drivable>
  180. <steeringWheel node="0>13|0" indoorRotation="360" outdoorRotation="37"/>
  181. </drivable>
  182.  
  183. <fillUnit>
  184. <fillUnitConfigurations>
  185. <fillUnitConfiguration>
  186. <fillUnits>
  187. <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="9030">
  188. <exactFillRootNode node="0>5|5|0"/>
  189. <fillRootNode node="0>"/>
  190. <fillMassNode node="0>"/>
  191. <autoAimTargetNode node="0>5|5|1"/>
  192. <fillAutoAimTargetNode startZ="-1.0" endZ="-2.5" invert="false" fillUnitIndex="1" startPercentage="25"/>
  193. </fillUnit>
  194. <fillUnit capacity="90" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
  195. <fillUnit capacity="42" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
  196. </fillUnits>
  197.  
  198.  
  199. </fillUnitConfiguration>
  200. </fillUnitConfigurations>
  201. </fillUnit>
  202. <fillVolume>
  203. <fillVolumeConfigurations>
  204. <fillVolumeConfiguration>
  205. <volumes>
  206. <volume node="0>5|4|0" maxDelta="0.52" maxAllowedHeapAngle="15"fillUnitIndex="1"/>
  207. </volumes>
  208. </fillVolumeConfiguration>
  209. </fillVolumeConfigurations>
  210. <unloadInfos>
  211. <unloadInfo>
  212.  
  213. <node node="0>5|3" width="0.4" length="0.4" />
  214.  
  215. </unloadInfo>
  216. </unloadInfos>
  217. </fillVolume>
  218. <fillVolumes>
  219. <heightNodes>
  220. <heightNode fillVolumeIndex="1">
  221. <refNode node="0>5|4|2|0"/>
  222. <refNode node="0>5|4|2|1"/>
  223. <node node="0>5|6|0|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0"/>
  224. </heightNode>
  225. </heightNodes>
  226. </fillVolumes>
  227. <dischargeable>
  228. <dischargeNode node="0>5|4|1" fillUnitIndex="1" emptySpeed="770" unloadInfoIndex="1">
  229. <info width="1.5"/>
  230. <effects>
  231. <effectNode effectClass="TipEffect">
  232. <effectNode effectNode="0>5|6|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
  233. <effectNode effectNode="0>5|6|0|1" materialType="smoke" materialTypeId="1" fadeTime="0.5"/>
  234. </effectNode>
  235. <effectNode effectNode="0>5|6|1|0" effectClass="ParticleEffect"/>
  236. </effects>
  237. </dischargeNode>
  238. </dischargeable>
  239. <trailer>
  240. <trailerConfigurations>
  241. <trailerConfiguration>
  242. <trailer>
  243. <tipSide name="info_tipSideBack">
  244. <animation name="tipAnimationBack" speedScale="0.8"/>
  245. </tipSide>
  246. </trailer>
  247. </trailerConfiguration>
  248. </trailerConfigurations>
  249. </trailer>
  250.  
  251. <animations>
  252. <animation name="tipAnimationBack">
  253. <part node="0>21|0" startTime="0.8" endTime="12.8" startTrans="0 0 0" endTrans="0 0.401 0" /><!--kuzov_R--->
  254. <part node="0>21|1" startTime="0.8" endTime="12.8" startRot="0 0 0" endRot="0 0 -40.077" /><!--effectNodesBack--->
  255. </animation>
  256. </animations>
  257.  
  258. <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
  259. <honk>
  260. <sound file="Sounds/hornBig.wav" innerRadius="35">
  261. <volume outdoor="1"/>
  262. </sound>
  263. </honk>
  264.  
  265. <dashboard>
  266. <groups>
  267. <group name="MOTOR_STARTING" isMotorStarting="true"/>
  268. <group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true"/>
  269. </groups>
  270. </dashboard>
  271.  
  272. <foliageBending>
  273. <bendingNode minX="-1.35" maxX="1.35" minZ="-3.15" maxZ="3.1" yOffset="0.5" />
  274. <bendingNode minX="-0.3" maxX="0.3" minZ="-3.5" maxZ="-3.05" yOffset="0.4" />
  275. </foliageBending>
  276.  
  277. <ai>
  278. <collisionTrigger node="0>16"/>
  279. </ai>
  280.  
  281. </vehicle>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement