Jump to content
Korean Random

Помогите разобраться с файлами танк.XML


2309

Recommended Posts

Вопрос нудноватый,но может поможет кто нибудь.

Я только начал изучать это дело,так что силино не издевайтесь. :ok:

 

И так ,вот здесь лежат скрипты на каждый танк

C:\Games\World_of_Tanks\res\scripts\item_defs\vehicles\ussr\"Ну например" а-20.XML

Вот он целиком.



<a-20.xml>
  <crew>
    <commander>loader</commander>
    <radioman>
    </radioman>
    <driver>
    </driver>
    <gunner>
    </gunner>
  </crew>
  <speedLimits>
    <forward> 72 </forward>
    <backward> 20 </backward>
  </speedLimits>
  <repairCost> 5 </repairCost>
  <crewXpFactor>1.0</crewXpFactor>
  <effects>
    <destruction>mediumDestruction</destruction>
    <explosion>mediumExplosion</explosion>
    <flaming>mediumFlaming</flaming>
    <collision>
    </collision>
  </effects>
  <camouflage>
    <priceFactor>0.8</priceFactor>
    <tiling>1 1 0 0</tiling>
    <exclusionMask>vehicles/russian/R12_A-20/A-20_CM.dds</exclusionMask>
  </camouflage>
  <emblems>
    <default>ussr_star</default>
    <lodDist>MEDIUM</lodDist>
    <alpha>0.82</alpha>
  </emblems>
  <horns>
    <priceFactor> 1 </priceFactor>
    <distanceFactor> 1 </distanceFactor>
    <volumeFactor> 1 </volumeFactor>
  </horns>
  <hull>
    <models>
      <undamaged>vehicles/russian/R12_A-20/normal/lod0/Hull.model</undamaged>
      <destroyed>vehicles/russian/R12_A-20/crash/lod0/Hull.model</destroyed>
      <exploded>vehicles/russian/R12_A-20/crash/lod0/Hull.model</exploded>
    </models>
    <swinging>
      <lodDist>FAR</lodDist>
      <pitchParams>0.30 32.00 0.38 1.00 0.06 0.34</pitchParams>
      <rollParams>1.00 0.30 32.00 0.38 1.00 0.06 0.34</rollParams>
      <sensitivityToImpulse>0.78</sensitivityToImpulse>
    </swinging>
    <exhaust>
      <pixie>particles/Tank/engine_exit_diesel.xml</pixie>
      <nodes>HP_Track_Exhaus_1 HP_Track_Exhaus_2</nodes>
      <rates>5.0 10.0 25.0</rates>
    </exhaust>
    <turretPositions>
      <turret>-0.0003 0.584 0.6618</turret>
    </turretPositions>
    <hitTester>
      <collisionModel>vehicles/russian/R12_A-20/collision/Hull.model</collisionModel>
    </hitTester>
    <armor>
      <armor_1> 20 </armor_1>
      <armor_2> 20 </armor_2>
      <armor_3> 20 </armor_3>
      <armor_4> 16 </armor_4>
      <armor_5> 25 </armor_5>
      <armor_6> 25 </armor_6>
      <armor_7> 10 </armor_7>
      <armor_8> 10 </armor_8>
      <armor_9> 0 </armor_9>
      <armor_10> 15 </armor_10>
      <armor_11> 15 </armor_11>
    </armor>
    <primaryArmor>armor_1 armor_3 armor_4</primaryArmor>
    <weight> 10000 </weight>
    <maxHealth> 248 </maxHealth>
    <ammoBayHealth>
      <maxHealth> 110 </maxHealth>
      <maxRegenHealth> 75 </maxRegenHealth>
      <repairCost>1.0</repairCost>
    </ammoBayHealth>
    <emblemSlots>
      <clan>
        <rayStart>-0.715721 0.6885 2.00629</rayStart>
        <rayEnd>-0.708637 0.191109 1.6708</rayEnd>
        <rayUp>0.000000 1 0.000000</rayUp>
        <size>0.01</size>
        <hideIfDamaged> true </hideIfDamaged>
      </clan>
    </emblemSlots>
  </hull>
  <chassis>
    <A-20_mod_1938>
      <userString>#ussr_vehicles:A-20_mod_1938</userString>
      <description>#ussr_vehicles:A-20_mod_1938_descr</description>
      <tags>
      </tags>
      <level> 3 </level>
      <price>1420.0</price>
      <unlocks>
        <chassis>A-20_mod_1941<cost> 840 </cost></chassis>
      </unlocks>
      <models>
        <undamaged>vehicles/russian/R12_A-20/normal/lod0/Chassis.model</undamaged>
        <destroyed>vehicles/russian/R12_A-20/crash/lod0/Chassis.model</destroyed>
        <exploded>vehicles/russian/R12_A-20/crash/lod0/Chassis.model</exploded>
      </models>
      <traces>
        <lodDist>FAR</lodDist>
        <bufferPrefs>mediumTank</bufferPrefs>
        <textureSet>usa_02</textureSet>
        <size>0.34 0.5</size>
      </traces>
      <tracks>
        <lodDist>MEDIUM</lodDist>
        <leftMaterial>track_mat_L_skinned</leftMaterial>
        <rightMaterial>track_mat_R_skinned</rightMaterial>
        <textureScale>-0.81</textureScale>
      </tracks>
      <wheels>
        <lodDist>MEDIUM</lodDist>
        <group>
          <isLeft> true </isLeft>
          <template>W_L</template>
          <radius>0.413</radius>
          <startIndex> 0 </startIndex>
          <count> 4 </count>
        </group>
        <group>
          <isLeft> false </isLeft>
          <template>W_R</template>
          <radius>0.413</radius>
          <startIndex> 0 </startIndex>
          <count> 4 </count>
        </group>
        <wheel>
          <isLeft> true </isLeft>
          <name>WD_L0</name>
          <radius>0.275</radius>
        </wheel>
        <wheel>
          <isLeft> true </isLeft>
          <name>WD_L1</name>
          <radius>0.31</radius>
        </wheel>
        <wheel>
          <isLeft> false </isLeft>
          <name>WD_R0</name>
          <radius>0.275</radius>
        </wheel>
        <wheel>
          <isLeft> false </isLeft>
          <name>WD_R1</name>
          <radius>0.31</radius>
        </wheel>
      </wheels>
      <drivingWheels>WD_L0 WD_L1</drivingWheels>
      <effects>
        <lodDist>MEDIUM</lodDist>
        <dust>smallTankDust</dust>
        <mud> smallTankMud </mud>
      </effects>
      <sound>/vehicles/tanks/treads/treads_1</sound>
      <hullPosition>0.0005 0.9411 -0.0217</hullPosition>
      <hitTester>
        <collisionModel>vehicles/russian/R12_A-20/collision/Chassis.model</collisionModel>
      </hitTester>
      <armor>
        <leftTrack> 15 </leftTrack>
        <rightTrack> 15 </rightTrack>
      </armor>
      <topRightCarryingPoint>1.12482 1.77992</topRightCarryingPoint>
      <maxClimbAngle> 25 </maxClimbAngle>
      <navmeshGirth>6.0</navmeshGirth>
      <weight> 5000 </weight>
      <maxLoad> 19500 </maxLoad>
      <terrainResistance>1.1 1.3 2.3</terrainResistance>
      <brakeForce> 35500 </brakeForce>
      <rotationIsAroundCenter> false </rotationIsAroundCenter>
      <rotationSpeed> 44 </rotationSpeed>
      <shotDispersionFactors>
        <vehicleMovement>0.26</vehicleMovement>
        <vehicleRotation>0.26</vehicleRotation>
      </shotDispersionFactors>
      <bulkHealthFactor>3.0</bulkHealthFactor>
      <maxHealth> 70 </maxHealth>
      <maxRegenHealth> 55 </maxRegenHealth>
      <repairCost>5.0</repairCost>
    </A-20_mod_1938>
    <A-20_mod_1941>
      <userString>#ussr_vehicles:A-20_mod_1941</userString>
      <description>#ussr_vehicles:A-20_mod_1941_descr</description>
      <tags>
      </tags>
      <level> 4 </level>
      <price>3580.0</price>
      <models>
        <undamaged>vehicles/russian/R12_A-20/normal/lod0/Chassis.model</undamaged>
        <destroyed>vehicles/russian/R12_A-20/crash/lod0/Chassis.model</destroyed>
        <exploded>vehicles/russian/R12_A-20/crash/lod0/Chassis.model</exploded>
      </models>
      <traces>
        <lodDist>FAR</lodDist>
        <bufferPrefs>mediumTank</bufferPrefs>
        <textureSet>usa_02</textureSet>
        <size>0.34 0.5</size>
      </traces>
      <tracks>
        <lodDist>MEDIUM</lodDist>
        <leftMaterial>track_mat_L_skinned</leftMaterial>
        <rightMaterial>track_mat_R_skinned</rightMaterial>
        <textureScale>-0.81</textureScale>
      </tracks>
      <wheels>
        <lodDist>MEDIUM</lodDist>
        <group>
          <isLeft> true </isLeft>
          <template>W_L</template>
          <radius>0.413</radius>
          <startIndex> 0 </startIndex>
          <count> 4 </count>
        </group>
        <group>
          <isLeft> false </isLeft>
          <template>W_R</template>
          <radius>0.413</radius>
          <startIndex> 0 </startIndex>
          <count> 4 </count>
        </group>
        <wheel>
          <isLeft> true </isLeft>
          <name>WD_L0</name>
          <radius>0.275</radius>
        </wheel>
        <wheel>
          <isLeft> true </isLeft>
          <name>WD_L1</name>
          <radius>0.31</radius>
        </wheel>
        <wheel>
          <isLeft> false </isLeft>
          <name>WD_R0</name>
          <radius>0.275</radius>
        </wheel>
        <wheel>
          <isLeft> false </isLeft>
          <name>WD_R1</name>
          <radius>0.31</radius>
        </wheel>
      </wheels>
      <drivingWheels>WD_L0 WD_L1</drivingWheels>
      <effects>
        <lodDist>MEDIUM</lodDist>
        <dust>smallTankDust</dust>
        <mud> smallTankMud </mud>
      </effects>
      <sound>/vehicles/tanks/treads/treads_1</sound>
      <hullPosition>0.0005 0.9411 -0.0217</hullPosition>
      <hitTester>
        <collisionModel>vehicles/russian/R12_A-20/collision/Chassis.model</collisionModel>
      </hitTester>
      <armor>
        <leftTrack> 15 </leftTrack>
        <rightTrack> 15 </rightTrack>
      </armor>
      <topRightCarryingPoint>1.12482 1.77992</topRightCarryingPoint>
      <maxClimbAngle> 25 </maxClimbAngle>
      <navmeshGirth>6.0</navmeshGirth>
      <weight> 5000 </weight>
      <maxLoad> 19950 </maxLoad>
      <terrainResistance>1 1.1 1.9</terrainResistance>
      <brakeForce> 35500 </brakeForce>
      <rotationIsAroundCenter> false </rotationIsAroundCenter>
      <rotationSpeed> 46 </rotationSpeed>
      <shotDispersionFactors>
        <vehicleMovement>0.24</vehicleMovement>
        <vehicleRotation>0.24</vehicleRotation>
      </shotDispersionFactors>
      <bulkHealthFactor>3.0</bulkHealthFactor>
      <maxHealth> 80 </maxHealth>
      <maxRegenHealth> 60 </maxRegenHealth>
      <repairCost>5.0</repairCost>
    </A-20_mod_1941>
  </chassis>
  <turrets0>
    <A-20_mod_1938>
      <userString>#ussr_vehicles:A-20_mod_1938</userString>
      <description>#ussr_vehicles:A-20_mod_1938_descr</description>
      <tags>
      </tags>
      <level> 3 </level>
      <price>1880.0</price>
      <unlocks>
        <turret>A-20bis<cost> 1215 </cost></turret>
      </unlocks>
      <models>
        <undamaged>vehicles/russian/R12_A-20/normal/lod0/Turret_01.model</undamaged>
        <destroyed>vehicles/russian/R12_A-20/crash/lod0/Turret_01.model</destroyed>
        <exploded>vehicles/russian/R12_A-20/crash/lod0/Turret_01.model</exploded>
      </models>
      <hitTester>
        <collisionModel>vehicles/russian/R12_A-20/collision/Turret_01.model</collisionModel>
      </hitTester>
      <yawLimits>-180 180</yawLimits>
      <gunPosition> 0.000028 0.401754 0.735054 </gunPosition>
      <armor>
        <armor_1> 25 </armor_1>
        <armor_2> 25 </armor_2>
        <armor_3> 25 </armor_3>
        <armor_4> 25 </armor_4>
        <armor_5> 10 </armor_5>
        <armor_6> 10 </armor_6>
        <armor_7> 0 </armor_7>
        <armor_8> 15 </armor_8>
        <armor_9> 10 </armor_9>
      </armor>
      <primaryArmor>armor_1 armor_3 armor_4</primaryArmor>
      <weight> 1200 </weight>
      <maxHealth> 62 </maxHealth>
      <rotationSpeed> 45 </rotationSpeed>
      <turretRotatorHealth>
        <maxHealth> 80 </maxHealth>
        <maxRegenHealth> 40 </maxRegenHealth>
        <repairCost>1.0</repairCost>
      </turretRotatorHealth>
      <circularVisionRadius> 300 </circularVisionRadius>
      <surveyingDeviceHealth>
        <maxHealth> 60 </maxHealth>
        <maxRegenHealth> 30 </maxRegenHealth>
        <repairCost>1.0</repairCost>
      </surveyingDeviceHealth>
      <guns>
        <_45mm_20K>shared<maxAmmo> 150 </maxAmmo><unlocks><gun>_37mm_ZiS-19<cost> 160 </cost></gun></unlocks><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_01.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_01.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_01.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_01.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><shotDispersionRadius>0.46</shotDispersionRadius><reloadTime>2.3</reloadTime><aimingTime>1.9</aimingTime><shotDispersionFactors><turretRotation>0.08</turretRotation><afterShot> 3 </afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors></_45mm_20K>
        <_37mm_ZiS-19>shared<maxAmmo> 150 </maxAmmo><unlocks><gun>_37mm_automatic_SH-37<cost>2600.0</cost></gun></unlocks><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_02.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_02.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_02.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_02.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><shotDispersionRadius>0.39</shotDispersionRadius><reloadTime>2.3</reloadTime><aimingTime>1.9</aimingTime><shotDispersionFactors><turretRotation>0.08</turretRotation><afterShot> 3 </afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors></_37mm_ZiS-19>
        <_37mm_automatic_SH-37>shared<maxAmmo> 140 </maxAmmo><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_03.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_03.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_03.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_03.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><reloadTime>4.6</reloadTime><shotDispersionFactors><turretRotation>0.08</turretRotation><afterShot> 2 </afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors><shotDispersionRadius>0.45</shotDispersionRadius><aimingTime>2.3</aimingTime><extraPitchLimits><back>-25 4 25</back></extraPitchLimits></_37mm_automatic_SH-37>
      </guns>
      <emblemSlots>
        <player>
          <rayStart> -0.671719 0.504102 0.521373 </rayStart>
          <rayEnd>-0.329274 0.33544 0.401854</rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.3</size>
          <hideIfDamaged> false </hideIfDamaged>
        </player>
        <player>
          <rayStart> 0.671719 0.504102 0.521373 </rayStart>
          <rayEnd>0.329274 0.33544 0.401854</rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.3</size>
          <hideIfDamaged> true </hideIfDamaged>
        </player>
        <inscription>
          <rayStart>-0.782356 0.57252 -0.704835</rayStart>
          <rayEnd> -0.257113 0.318955 -0.564099 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.62</size>
          <hideIfDamaged> true </hideIfDamaged>
        </inscription>
        <inscription>
          <rayStart>0.782356 0.57252 -0.704835</rayStart>
          <rayEnd> 0.257113 0.318955 -0.564099 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.62</size>
          <hideIfDamaged> true </hideIfDamaged>
        </inscription>
      </emblemSlots>
      <showEmblemsOnGun> false </showEmblemsOnGun>
      <physicsShape>1.000 0.000 1.000 0.000 1.000 0.000 0.500 0.100 0.500 0.500 0.500 0.500 0.600 0.100 0.500</physicsShape>
    </A-20_mod_1938>
    <A-20bis>
      <userString>#ussr_vehicles:A-20bis</userString>
      <description>#ussr_vehicles:A-20bis_descr</description>
      <tags>
      </tags>
      <level> 4 </level>
      <price>5170.0</price>
      <unlocks>
        <gun>_76mm_L-11<cost>450.0</cost></gun>
        <gun>_45mm_VT-42<cost>850.0</cost></gun>
      </unlocks>
      <models>
        <undamaged>vehicles/russian/R12_A-20/normal/lod0/Turret_02.model</undamaged>
        <destroyed>vehicles/russian/R12_A-20/crash/lod0/Turret_02.model</destroyed>
        <exploded>vehicles/russian/R12_A-20/crash/lod0/Turret_02.model</exploded>
      </models>
      <hitTester>
        <collisionModel>vehicles/russian/R12_A-20/collision/Turret_02.model</collisionModel>
      </hitTester>
      <yawLimits>-180 180</yawLimits>
      <gunPosition> 0.000028 0.393654 0.774954 </gunPosition>
      <armor>
        <armor_1> 37 </armor_1>
        <armor_2> 37 </armor_2>
        <armor_3> 37 </armor_3>
        <armor_4> 25 </armor_4>
        <armor_5> 30 </armor_5>
        <armor_6> 10 </armor_6>
        <armor_7> 10 </armor_7>
        <armor_8> 0 </armor_8>
        <armor_9> 20 </armor_9>
      </armor>
      <primaryArmor>armor_1 armor_3 armor_4</primaryArmor>
      <weight> 1300 </weight>
      <maxHealth> 92 </maxHealth>
      <rotationSpeed> 50 </rotationSpeed>
      <turretRotatorHealth>
        <maxHealth> 80 </maxHealth>
        <maxRegenHealth> 40 </maxRegenHealth>
        <repairCost>1.0</repairCost>
      </turretRotatorHealth>
      <circularVisionRadius> 330 </circularVisionRadius>
      <surveyingDeviceHealth>
        <maxHealth> 60 </maxHealth>
        <maxRegenHealth> 30 </maxRegenHealth>
        <repairCost>1.0</repairCost>
      </surveyingDeviceHealth>
      <guns>
        <_45mm_20K>shared<maxAmmo> 150 </maxAmmo><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_05.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_05.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_05.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_05.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><shotDispersionRadius>0.46</shotDispersionRadius><reloadTime>2.3</reloadTime><aimingTime>1.9</aimingTime><shotDispersionFactors><turretRotation>0.08</turretRotation><afterShot> 3 </afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors></_45mm_20K>
        <_37mm_ZiS-19>shared<maxAmmo> 150 </maxAmmo><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_06.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_06.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_06.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_06.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><shotDispersionRadius>0.39</shotDispersionRadius><reloadTime>2.3</reloadTime><aimingTime>1.9</aimingTime><shotDispersionFactors><turretRotation>0.08</turretRotation><afterShot> 3 </afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors></_37mm_ZiS-19>
        <_37mm_automatic_SH-37>shared<maxAmmo> 140 </maxAmmo><pitchLimits>-27 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_07.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_07.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_07.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_07.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><reloadTime>4.2</reloadTime><shotDispersionFactors><turretRotation>0.08</turretRotation><afterShot> 2 </afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors><shotDispersionRadius>0.45</shotDispersionRadius><aimingTime>2.3</aimingTime><extraPitchLimits><back>-27 5 25</back></extraPitchLimits></_37mm_automatic_SH-37>
        <_76mm_L-11>shared<maxAmmo> 50 </maxAmmo><reloadTime> 6 </reloadTime><unlocks><vehicle>T-34<cost> 11500 </cost></vehicle></unlocks><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_09.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_09.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_09.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_09.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><extraPitchLimits><back>-25 3 18</back></extraPitchLimits><shotDispersionRadius>0.51</shotDispersionRadius><aimingTime>2.9</aimingTime></_76mm_L-11>
        <_45mm_VT-42>shared<maxAmmo> 77 </maxAmmo><pitchLimits>-25 7</pitchLimits><models><undamaged>vehicles/russian/R12_A-20/normal/lod0/Gun_10.model</undamaged><destroyed>vehicles/russian/R12_A-20/crash/lod0/Gun_10.model</destroyed><exploded>vehicles/russian/R12_A-20/crash/lod0/Gun_10.model</exploded></models><hitTester><collisionModel>vehicles/russian/R12_A-20/collision/Gun_10.model</collisionModel></hitTester><armor><armor_1> 25 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_1><armor_2> 10 <vehicleDamageFactor>0.0</vehicleDamageFactor></armor_2><gun> 10 </gun></armor><shotDispersionRadius>0.37</shotDispersionRadius><reloadTime>2.3</reloadTime><aimingTime>1.9</aimingTime><shotDispersionFactors><turretRotation>0.1</turretRotation><afterShot>3.5</afterShot><whileGunDamaged>2.0</whileGunDamaged></shotDispersionFactors></_45mm_VT-42>
      </guns>
      <emblemSlots>
        <player>
          <rayStart> -0.807851 0.526268 0.646794 </rayStart>
          <rayEnd> -0.321406 0.326035 0.358214 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.3</size>
          <hideIfDamaged> true </hideIfDamaged>
        </player>
        <player>
          <rayStart> 0.807851 0.526268 0.646794 </rayStart>
          <rayEnd> 0.321406 0.326035 0.358214 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.3</size>
          <hideIfDamaged> false </hideIfDamaged>
        </player>
        <inscription>
          <rayStart> -0.857164 0.553073 -0.530225 </rayStart>
          <rayEnd> -0.350412 0.347861 -0.283065 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.74</size>
          <hideIfDamaged> false </hideIfDamaged>
        </inscription>
        <inscription>
          <rayStart> 0.857164 0.553073 -0.530225 </rayStart>
          <rayEnd> 0.350412 0.347861 -0.283065 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.74</size>
          <hideIfDamaged> true </hideIfDamaged>
        </inscription>
      </emblemSlots>
      <showEmblemsOnGun> false </showEmblemsOnGun>
      <physicsShape>1.000 0.000 1.000 0.000 1.000 0.000 0.500 0.100 0.500 0.500 0.500 0.500 0.600 0.100 0.500</physicsShape>
    </A-20bis>
  </turrets0>
  <engines>
    <V-2>shared<unlocks><engine>V-2-34<cost> 5000 </cost></engine></unlocks></V-2>
    <V-2-34>shared</V-2-34>
  </engines>
  <fuelTanks>
    <Medium>shared</Medium>
  </fuelTanks>
  <radios>
    <_9R>shared<unlocks><radio>_12LL<cost>5600.0</cost></radio></unlocks></_9R>
    <_12LL>shared</_12LL>
  </radios>
</a-20.xml>

В нем есть несколько мест которые отвечают за следующее:

Вот эта часть рисует звезды ,кресты и другие эмблемы принадлежности страны на башне.

проверил,действительно она берет все эмблемы по этому адресу.

\gui\maps\vehicles\decals

 

<emblems>
    <default>ussr_star</default>
    <lodDist>MEDIUM</lodDist>
    <alpha>0.82</alpha>
  </emblems>

 

Вот эта часть рисует надписи на танках.

Она берет все эмблемы по этому адресу

gui\maps\vehicles\decals\inscriptions\ussr

<inscription>
          <rayStart>-0.782356 0.57252 -0.704835</rayStart>
          <rayEnd> -0.257113 0.318955 -0.564099 </rayEnd>
          <rayUp>0.000000 1 0.000000</rayUp>
          <size>0.62</size>
          <hideIfDamaged> true </hideIfDamaged>
        </inscription>

Вот эта часть рисует эмблему клана

Адрес неизвестен.

<emblemSlots>
      <clan>
        <rayStart>-0.715721 0.6885 2.00629</rayStart>
        <rayEnd>-0.708637 0.191109 1.6708</rayEnd>
        <rayUp>0.000000 1 0.000000</rayUp>
        <size>0.01</size>
        <hideIfDamaged> true </hideIfDamaged>
      </clan>
    </emblemSlots>

Вопрос следующий.

Как прога понимает,что;

декали лежат здесь  \gui\maps\vehicles\decals

надписи лежат здесь  gui\maps\vehicles\decals\inscriptions\ussr

и так далее.

Где это указано в указанном мной файле?

В каких строчках?

 

Link to comment
Short link
Share on other sites

Вопрос следующий.

Как прога понимает,что;

декали лежат здесь  \gui\maps\vehicles\decals

надписи лежат здесь  gui\maps\vehicles\decals\inscriptions\ussr

и так далее.

Где это указано в указанном мной файле?

В каких строчках?

Это указано в res\scripts\item_defs\vehicles\нация\customization.xml

Link to comment
Short link
Share on other sites

посмотрел,там только камуфляжи описаны,и больше ничего.
Может я не правильно смотрел?
В каких строчках надо глянуть?

Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...