Jump to content


Object 252U Turret + gun Swap Problem (Crash on matchstart).


  • Please log in to reply
No replies to this topic

von_Scharnstein #1 Posted 05 April 2019 - 11:02 PM

    Private

  • Player
  • 11492 battles
  • 20
  • Member since:
    01-29-2013

Hey guys,

 

I am currently trying to swap the Object 252Us Turret with the one of the ST-I tho when I include the Lod0 of the ST-1 05_gun it works in the garage but I get a crash when the game starts. I guess that this has something to do with the .xml file.

 

This is the gun section xml one for the ST-I turret with the 252Us stock gun, with this it works. Can someone tell me why this crash happens or what I am doing wrong? I tried to change the Joints to the stock gun format but that didn't solve the crash issue. 

 

Thanks anyways!

 

<map_>
  <node>
    <identifier>Scene Root</identifier>
    <transform>
      <row0>1.000000 0.000000 0.000000</row0>
      <row1>0.000000 1.000000 0.000000</row1>
      <row2>0.000000 0.000000 1.000000</row2>
      <row3>0.000000 0.000000 0.000000</row3>
    </transform>
    <node>
      <identifier>nodes_01</identifier>
      <transform>
        <row0>1.000000 0.000000 0.000000</row0>
        <row1>0.000000 1.000000 0.000000</row1>
        <row2>0.000000 0.000000 1.000000</row2>
        <row3>0.000000 0.000000 0.000000</row3>
      </transform>
      <node>
        <identifier>Gun</identifier>
        <transform>
          <row0>1.000000 0.000000 0.000000</row0>
          <row1>0.000000 1.000000 0.000000</row1>
          <row2>0.000000 0.000000 1.000000</row2>
          <row3>0.000000 0.000000 0.000000</row3>
        </transform>
        <node>
          <identifier>G</identifier>
          <transform>
            <row0>1.000000 0.000000 0.000000</row0>
            <row1>0.000000 1.000000 0.000000</row1>
            <row2>0.000000 0.000000 1.000000</row2>
            <row3>0.000000 0.000000 3.000000</row3>
          </transform>
          <node>
            <identifier>HP_gunFire</identifier>
            <transform>
              <row0>1.000000 0.000000 0.000000</row0>
              <row1>0.000000 1.000000 0.000000</row1>
              <row2>0.000000 0.000000 1.000000</row2>
              <row3>-0.001292 -0.005957 1.557035</row3>
            </transform>
          </node>
          <node>
            <identifier>G_BlendBone</identifier>
            <transform>
              <row0>1.000000 0.000000 0.000000</row0>
              <row1>0.000000 1.000000 0.000000</row1>
              <row2>0.000000 0.000000 -1.000000</row2>
              <row3>0.000000 0.000000 -3.000000</row3>
            </transform>
          </node>
        </node>
        <node>
          <identifier>Gun_BlendBone</identifier>
          <transform>
            <row0>1.000000 0.000000 0.000000</row0>
            <row1>0.000000 1.000000 0.000000</row1>
            <row2>0.000000 0.000000 -1.000000</row2>
            <row3>0.000000 0.000000 0.000000</row3>
          </transform>
        </node>
      </node>
      <node>
        <identifier>joint1</identifier>
        <transform>
          <row0>1.000000 0.000000 0.000000</row0>
          <row1>0.000000 1.000000 0.000000</row1>
          <row2>0.000000 0.000000 1.000000</row2>
          <row3>-0.049679 0.235320 -0.123905</row3>
        </transform>
        <node>
          <identifier>joint1_BlendBone</identifier>
          <transform>
            <row0>1.000000 0.000000 0.000000</row0>
            <row1>0.000000 1.000000 0.000000</row1>
            <row2>0.000000 0.000000 -1.000000</row2>
            <row3>0.049679 -0.235320 0.123905</row3>
          </transform>
        </node>
      </node>
    </node>
  </node>
  <renderSet>
    <treatAsWorldSpaceObject>true</treatAsWorldSpaceObject>
    <node>Gun_BlendBone</node>
    <node>G_BlendBone</node>
    <node>joint1_BlendBone</node>
    <geometry>
      <vertices>gun_01_Shape.vertices</vertices>
      <primitive>gun_01_Shape.indices</primitive>
      <primitiveGroup>
        <PG_ID>0</PG_ID>
        <material>
          <identifier>tank_guns_skinned</identifier>
          <fx>shaders/std_effects/PBS_tank_skinned.fx</fx>
          <collisionFlags>0</collisionFlags>
          <materialKind>0</materialKind>
          <property>normalMap<Texture>vehicles/russian/R134_Object_252U/Object_252U_guns_ANM.dds</Texture></property>
          <property>metallicGlossMap<Texture>vehicles/russian/R134_Object_252U/Object_252U_guns_GMM.dds</Texture></property>
          <property>metallicDetailMap<Texture>vehicles/russian/Tank_detail/Details_map.dds</Texture></property>
          <property>g_useNormalPackDXT1<Bool>false</Bool></property>
          <property>g_useDetailMetallic<Bool>true</Bool></property>
          <property>g_maskBias<Float>0.22</Float></property>
          <property>g_detailUVTiling<Vector4>4.20822 2.10411 0.000000 0.000000</Vector4></property>
          <property>g_detailPowerGloss<Float>0.35</Float></property>
          <property>g_detailPowerAlbedo<Float>0.11</Float></property>
          <property>g_detailPower<Float>5</Float></property>
          <property>excludeMaskAndAOMap<Texture>vehicles/russian/R134_Object_252U/Object_252U_guns_AO.dds</Texture></property>
          <property>diffuseMap<Texture>vehicles/russian/R134_Object_252U/Object_52U_guns_AM.dds</Texture></property>
          <property>colorIdMap<Texture>vehicles/russian/R134_Object_252U/Object_252U_guns_ID.dds</Texture></property>
          <property>alphaTestEnable<Bool>false</Bool></property>
        </material>
        <groupOrigin>-0.117611 0.000016 -2.394740</groupOrigin>
      </primitiveGroup>
    </geometry>
  </renderSet>
  <constraints></constraints>
  <boundingBox>
    <min>-0.545268 -0.270954 -0.123830</min>
    <max>0.310045 0.270985 4.913310</max>
  </boundingBox>
  <geometrySize>70326</geometrySize>
  <minUVDensity>0.017443</minUVDensity>
</map_>

 


 

With this setup I get the crash. ST-I Turret plus 05_Gun, renamed to 01:

 

<map_>
  <node>
    <identifier>Scene Root</identifier>
    <transform>
      <row0>1.000000 0.000000 0.000000</row0>
      <row1>0.000000 1.000000 0.000000</row1>
      <row2>0.000000 0.000000 1.000000</row2>
      <row3>0.000000 0.000000 0.000000</row3>
    </transform>
    <node>
      <identifier>nodes_01</identifier>
      <transform>
        <row0>1.000000 0.000000 0.000000</row0>
        <row1>0.000000 1.000000 0.000000</row1>
        <row2>0.000000 0.000000 1.000000</row2>
        <row3>0.000000 0.000000 0.000000</row3>
      </transform>
      <node>
        <identifier>Gun</identifier>
        <transform>
          <row0>1.000000 0.000000 0.000000</row0>
          <row1>0.000000 1.000000 0.000000</row1>
          <row2>0.000000 0.000000 1.000000</row2>
          <row3>0.000000 0.000000 0.000000</row3>
        </transform>
        <node>
          <identifier>G</identifier>
          <transform>
            <row0>1.000000 0.000000 0.000000</row0>
            <row1>0.000000 1.000000 0.000000</row1>
            <row2>0.000000 0.000000 1.000000</row2>
            <row3>0.000000 0.000000 3.000000</row3>
          </transform>
          <node>
            <identifier>HP_gunFire</identifier>
            <transform>
              <row0>1.000000 0.000000 0.000000</row0>
              <row1>0.000000 1.000000 0.000000</row1>
              <row2>0.000000 0.000000 1.000000</row2>
              <row3>-0.001983 -0.012118 1.929198</row3>
            </transform>
          </node>
          <node>
            <identifier>G_BlendBone</identifier>
            <transform>
              <row0>1.000000 0.000000 0.000000</row0>
              <row1>0.000000 1.000000 0.000000</row1>
              <row2>0.000000 0.000000 -1.000000</row2>
              <row3>0.000000 0.000000 -3.000000</row3>
            </transform>
          </node>
        </node>
        <node>
          <identifier>Gun_BlendBone</identifier>
          <transform>
            <row0>1.000000 0.000000 0.000000</row0>
            <row1>0.000000 1.000000 0.000000</row1>
            <row2>0.000000 0.000000 -1.000000</row2>
            <row3>0.000000 0.000000 0.000000</row3>
          </transform>
        </node>
      </node>
      <node>
        <identifier>Joint_01</identifier>
        <transform>
          <row0>1.000000 0.000000 0.000000</row0>
          <row1>0.000000 1.000000 0.000000</row1>
          <row2>0.000000 0.000000 1.000000</row2>
          <row3>0.000000 0.409146 -0.117314</row3>
        </transform>
        <node>
          <identifier>Joint_01_BlendBone</identifier>
          <transform>
            <row0>1.000000 0.000000 0.000000</row0>
            <row1>0.000000 1.000000 0.000000</row1>
            <row2>0.000000 0.000000 -1.000000</row2>
            <row3>0.000000 -0.409146 0.117314</row3>
          </transform>
        </node>
      </node>
    </node>
  </node>
  <renderSet>
    <treatAsWorldSpaceObject>true</treatAsWorldSpaceObject>
    <node>G_BlendBone</node>
    <node>Joint_01_BlendBone</node>
    <node>Gun_BlendBone</node>
    <geometry>
      <vertices>gun_05_Shape.vertices</vertices>
      <primitive>gun_05_Shape.indices</primitive>
      <primitiveGroup>
        <PG_ID>0</PG_ID>
        <material>
          <identifier>tank_guns_skinned</identifier>
          <property>metallicDetailMap<Texture>vehicles/russian/Tank_detail/Details_map.dds</Texture></property>
          <property>g_useDetailMetallic<Bool>true</Bool></property>
          <property>g_maskBias<Float>0.22</Float></property>
          <property>g_detailUVTiling<Vector4>8.41644 4.20822 0.000000 0.000000</Vector4></property>
          <property>g_detailPowerGloss<Float>0.35</Float></property>
          <property>g_detailPowerAlbedo<Float>0.11</Float></property>
          <property>g_detailPower<Float>5</Float></property>
          <collisionFlags>0</collisionFlags>
          <materialKind>0</materialKind>
          <fx>shaders/std_effects/PBS_tank_skinned.fx</fx>
          <property>metallicGlossMap<Texture>vehicles/russian/R63_ST_I/ST_I_guns_GMM.dds</Texture></property>
          <property>normalMap<Texture>vehicles/russian/R63_ST_I/ST_I_guns_ANM.dds</Texture></property>
          <property>diffuseMap<Texture>vehicles/russian/R63_ST_I/ST_I_guns_AM.dds</Texture></property>
          <property>excludeMaskAndAOMap<Texture>vehicles/russian/R63_ST_I/ST_I_guns_AO.dds</Texture></property>
          <property>colorIdMap<Texture>vehicles/russian/R63_ST_I/ST_I_guns_ID.dds</Texture></property>
          <property>alphaTestEnable<Bool>false</Bool></property>
          <property>g_useNormalPackDXT1<Bool>false</Bool></property>
        </material>
        <groupOrigin>-0.059596 0.060829 -2.626865</groupOrigin>
      </primitiveGroup>
    </geometry>
  </renderSet>
  <constraints></constraints>
  <boundingBox>
    <min>-0.509545 -0.312984 -0.113346</min>
    <max>0.390353 0.434641 5.367076</max>
  </boundingBox>
  <geometrySize>163812</geometrySize>
  <minUVDensity>0.010283</minUVDensity>
</map_>

 


Edited by von_Scharnstein, 05 April 2019 - 11:03 PM.





1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users