thasdasdas
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Problem with horse artillery model having replace texture bug when dismount

2 posters

Go down

Problem with horse artillery model having replace texture bug when dismount Empty Problem with horse artillery model having replace texture bug when dismount

Post by dietermoreno Mon 13 Apr 2015 - 15:21

So I was texturing horse artillery and I ran into a problem.  Everything is fine until I target the unit on a unit causing the model to dismount.

Fine here.

Problem with horse artillery model having replace texture bug when dismount Screen4

Problem with horse artillery model having replace texture bug when dismount Screen5


Then back to this.
Problem with horse artillery model having replace texture bug when dismount Horse_Artillery

What is the solution?





When I opened the stripped model in 3ds max 8 it appears that the stripped model also has the gunman riding the horse.

This was just guessing from the bone names though. I can only see the skeleton when I import the model into 3ds max 8.

What do I need to do to see the polygons and texture?

None of the modeling tutorials actually import a gr2 model into 3ds max.



Weird.  The horse artillery for the Napoleon unit doesn't do this in the Wotta mod.  They retextured the cannon, but not the gunner guy, unless I didn't notice it.  However, I retextured the gunner guy [for my own enjoyment] and I didn't have this problem.

Perhaps the Wotta team solved this problem because they were planning on texturing the gunner guy, but aborted the idea.

I'd hate to put my texture on top of Wotta's Napoleon texture, claiming this to be my texture but they actually did the hard part.

I can confirm that the Delta version of Wotta has been successful at texturing the gunner guy of the horse artillery for Australia's QF Pom-Pom Autocannon unit.  I can't tell if the creator did 3D modeling work, or if he is that good with bump maps.

Problem with horse artillery model having replace texture bug when dismount UnitShowcase4Colonial_zps79dbc5e8

So I have come to ask the pom-pom Wotta unit's creator, Peugout407, how he solved getting his texture onto the dismounted gunner guy.
dietermoreno
dietermoreno
Enemy of the Realm
Enemy of the Realm

Age : 32
Posts : 121
Join date : 2012-12-29

https://www.youtube.com/dietermoreno

Back to top Go down

Problem with horse artillery model having replace texture bug when dismount Empty Re: Problem with horse artillery model having replace texture bug when dismount

Post by peugeot407 Mon 13 Apr 2015 - 20:30

It's a separate texture. Just open both the mounted and dismounted models in the Granny Viewer and look under the Textures tab, you should be able to figure it out.


peugeot407
peugeot407
peugeot407
K&B Founder
K&B Founder

Age : 32
Posts : 6423
Join date : 2010-07-23

http://twitter.com/rjfaber91

Back to top Go down

Problem with horse artillery model having replace texture bug when dismount Empty Re: Problem with horse artillery model having replace texture bug when dismount

Post by dietermoreno Sat 18 Apr 2015 - 18:11

So I tried using the Iroquois artillery falconet texture, which is referenced to in the Granny Viwer. I painted some brown tags on to the Iroquois artillery guy to identify if the new texture was applied. The brown tags appeared when the horse artillery was mounted, but did not appear when the horse artillery was dismounted. This was when I used replace texture tag only for the main model.

When I used replace texture tag for the the main model to go to my new horse artillery texture and when I used replace texture tag for the stripped model to go to my new Iroquois artillery falconet texture, the unit is invisible.

Code:

   <component>
      falconet
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                     
                  </assetreference>
                  <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>            
               </none>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <component>
      falconet Stripped
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_stripped</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery_stripped</from>
                           <to>Art4\Art\units\artillery\iroquois_falconet\falconet</to>
                        </replacetexture>                                          
                  </assetreference>
               </none>
                  <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
               </fieldgun>
            </logic>
         </normal>
         <lowpoly>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\lp_horse_artillery_stripped</file>
                  </assetreference>
               </none>
               <fieldgun>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\lp_horse_artillery_stripped</file>
                  </assetreference>
               </fieldgun>
            </logic>
         </lowpoly>
      </logic>
dietermoreno
dietermoreno
Enemy of the Realm
Enemy of the Realm

Age : 32
Posts : 121
Join date : 2012-12-29

https://www.youtube.com/dietermoreno

Back to top Go down

Problem with horse artillery model having replace texture bug when dismount Empty Re: Problem with horse artillery model having replace texture bug when dismount

Post by peugeot407 Sat 18 Apr 2015 - 20:27

Don't know if it helps, but here is my animfile for the Pom-Pom.

Code:
<?xml version="1.0" encoding="utf-8"?>

<animfile>
   <definebone>bone_launchpoint</definebone>
   <definebone>bone_fuse</definebone>
   <definebone>bone_cart</definebone>
   <definebone>bone_wheelcannonR</definebone>
   <definebone>bone_wheelcannonL</definebone>
   <definebone>Bip01 Head</definebone>
   <definebone>bone_hat</definebone>
   <attachment>
      attachment_battlefield_smoke
      <component>
         battlefield_smoke
         <assetreference type="ParticleSystem">
            <file>units\artillery\cannon\battlefield_smoke.particle</file>
         </assetreference>
      </component>
      <anim>
         Idle
         <component>battlefield_smoke</component>
      </anim>
   </attachment>
   <component>
      pompom
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_stripped</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>units\peugeot407\pom_pom\pom_pom</to>
                        </replacetexture>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery_b</from>
                           <to>units\peugeot407\pom_pom\pom_pom_b</to>
                        </replacetexture>
                  </assetreference>
               </none>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <anim>
      Walk
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Jog
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Run
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      idle
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      bored
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_bored</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Death_by_melee
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatdeath</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.46</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.60</tag>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Death_by_range
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatdeath</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.46</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.60</tag>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Cheer
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_cheer</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Limber
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Unlimber
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_ranged_idle
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_ranged_attack
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
         <tag type="Attack">0.08</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="SettlerGunShot">0.08</tag>
         <tag type="Particles" particlename="musketshot">0.08</tag>
      </assetreference>
      <component>pompom</component>
      <attach a="attachment_battlefield_smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
   </anim>
   <anim>
      Bombard_aim
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_reload
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_bored
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_bored</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_walk
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_jog
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_run
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_limber
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_unlimber
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_cheer
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_cheer</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_Recoil
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil2</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil3</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_death
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatdeath</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.46</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.60</tag>
      </assetreference>
      <component>pompom</component>
   </anim>
</animfile>


peugeot407
peugeot407
peugeot407
K&B Founder
K&B Founder

Age : 32
Posts : 6423
Join date : 2010-07-23

http://twitter.com/rjfaber91

Back to top Go down

Problem with horse artillery model having replace texture bug when dismount Empty Re: Problem with horse artillery model having replace texture bug when dismount

Post by dietermoreno Sun 19 Apr 2015 - 8:05

Success!

Thank you.  That did help.  I made some changes to your anim file to have a limbered and unlimbered component and animations targeted to both components, and it worked to give my horse artillery my texture both limbered and unlimbered and all correct animations.  Except, the horse artillery will not shoot at a target.    I used the horse artillery bombard attack animation and it didn't work and I tried the falconet idle animation for the bombard attack and it didn't work either.

Problem with horse artillery model having replace texture bug when dismount Screen15

Code:

<?xml version="1.0" encoding="utf-8"?>

<animfile>
   <definebone>bone_launchpoint</definebone>
   <definebone>bone_fuse</definebone>
   <definebone>bone_cart</definebone>
   <definebone>bone_wheelcannonR</definebone>
   <definebone>bone_wheelcannonL</definebone>
   <definebone>Bip01 Head</definebone>
   <definebone>bone_hat</definebone>
   <attachment>
      attachment_battlefield_smoke
      <component>
         battlefield_smoke
         <assetreference type="ParticleSystem">
            <file>units\artillery\cannon\battlefield_smoke.particle</file>
         </assetreference>
      </component>
      <anim>
         Idle
         <component>battlefield_smoke</component>
      </anim>
   </attachment>
   <component>
      pompom
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                              
                  </assetreference>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>                  
               </none>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>  
   <component>
      pompom unlimbered
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_stripped</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>
                  </assetreference>
              <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>      
               </none>           
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
<anim>
  Walk
  <assetreference type="GrannyAnim">
    <file>animation_library\artillery\horse_artillery\walk</file>
  </assetreference>
  <component>pompom</component>
</anim>
<anim>
  Jog
  <assetreference type="GrannyAnim">
    <file>animation_library\artillery\horse_artillery\jog</file>
  </assetreference>
  <component>pompom</component>

   </anim>
   <anim>
      Run
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\run</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      idle
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\idle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      bored
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\idle</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Death_by_melee
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death1</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.20</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.16</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death2</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.48</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.79</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.38</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.09</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death3</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.53</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.13</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.05</tag>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Death_by_range
       <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death1</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.20</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.16</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death2</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.48</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.79</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.38</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.09</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death3</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.53</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.13</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.05</tag>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Cheer
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\cheer1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\cheer2</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Limber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\limber</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Unlimber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\unlimber</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_ranged_idle
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_ranged_attack
       <assetreference>
         <file>animation_library\artillery\horse_artillery\bombard_attack</file>
         <tag type="Attack">0.08</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.08</tag>
         <tag type="Particles" particlename="smallcannonmuzzle">0.08</tag>
      </assetreference>
      <component>pompom unlimbered</component>
      <attach a="attachment_battlefield_smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
   </anim>
   <anim>
      Bombard_aim
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_reload
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\bombard_reload</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_bored
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_bored</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_walk
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_jog
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_run
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_limber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\limber</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_unlimber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\unlimber</file>
      </assetreference>
      <component>pompom</component>
   </anim>
   <anim>
      Bombard_cheer
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_cheer</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_Recoil
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil2</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil3</file>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
   <anim>
      Bombard_death
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatdeath</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.46</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.60</tag>
      </assetreference>
      <component>pompom unlimbered</component>
   </anim>
</animfile>


Then I copy and pasted the horse artillery original code into my anim file and used replace texture tags the same way that Wotta did and it worked.  In the past I was just refering to the wrong components and wrong texture to replace texture to because I didn't understand how the artillery components worked or what texture was in the model but now I understand.

 I found that my unit reverted to its old texture while unlimbering, and then realized that I forgot to replace the texture for a 3rd component.  It appears that a 3rd component is used in the horse artillery anim file to tell the model what texture to use while the unlimbering animation is applied only.  

Problem with horse artillery model having replace texture bug when dismount Screen16

Problem with horse artillery model having replace texture bug when dismount Screen17

Problem with horse artillery model having replace texture bug when dismount Screen18



So I fixed it and now the unit has its new texture while unlimbering.

Problem with horse artillery model having replace texture bug when dismount Screen19

Problem with horse artillery model having replace texture bug when dismount Screen20



Even though the model in Granny Viewer says that Iroquois falconet texture is used for the stripped model, actually the same horse artillery texture is used every time, applied to different models.  The same horse artillery texture is applied to the three components: "falconet", "falconet_stripped", and "limber".

I'm not sure why my anim file wouldn't shoot if I didn't have a 3rd component when the falconet only has two components.  It appears that was my issue that I now solved.

So:

"falconet" component
Code:

   <component>
      falconet
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                     
                  </assetreference>
               </none>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>

"falconet_stripped" component
Code:

   <component>
      falconet Stripped
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_stripped</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                        
                  </assetreference>
               </none>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>

"limber" component
Code:

   <component>
      falconet Limber
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_limber</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                        
                  </assetreference>
               </none>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>


So my new anim file in total:

Code:

<?xml version="1.0" encoding="utf-8"?>

<animfile>
   <definebone>bone_launchpoint</definebone>
   <definebone>bone_fuse</definebone>
   <definebone>bone_cart</definebone>
   <definebone>bone_wheelcannonR</definebone>
   <definebone>bone_wheelcannonL</definebone>
   <definebone>Bip01 Head</definebone>
   <definebone>bone_hat</definebone>
   <attachment>
      attachment_battlefield_smoke
      <component>
         battlefield_smoke
         <assetreference type="ParticleSystem">
            <file>units\artillery\cannon\battlefield_smoke.particle</file>
         </assetreference>
      </component>
      <anim>
         Idle
         <component>battlefield_smoke</component>
      </anim>
   </attachment>
   <attachment>
      hats
      <component>
         hat
         <assetreference type="GrannyModel">
            <file>units\artillery\horse_artillery\horse_artillery_hat</file>
         </assetreference>
      </component>
      <anim>
         Idle
         <component>hat</component>
      </anim>
   </attachment>
   <component>
      falconet
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                     
                  </assetreference>
               </none>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <component>
      falconet Stripped
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_stripped</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                        
                  </assetreference>
               </none>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <component>
      falconet Limber
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_limber</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                        
                  </assetreference>
               </none>
               <attach a="hats" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <anim>
      Walk
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\walk</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Jog
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\jog</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Run
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\run</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      idle
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\idle</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      bored
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\idle</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Death_by_melee
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death1</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.20</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.16</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death2</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.48</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.79</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.38</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.09</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death3</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.53</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.13</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.05</tag>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Death_by_range
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death1</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.20</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.16</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death2</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.48</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.79</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.38</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.09</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death3</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.53</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.13</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.05</tag>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Cheer
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\cheer1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\cheer2</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Limber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\limber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Unlimber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\unlimber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Bombard_ranged_idle
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_ranged_attack
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\bombard_attack</file>
         <tag type="Attack">0.08</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.08</tag>
         <tag type="Particles" particlename="smallcannonmuzzle">0.08</tag>
      </assetreference>
      <component>falconet Stripped</component>
      <attach a="attachment_battlefield_smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
   </anim>
   <anim>
      Bombard_aim
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_reload
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\bombard_reload</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_bored
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_bored</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_walk
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_jog
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_run
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_limber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\limber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Bombard_unlimber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\unlimber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Bombard_cheer
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_cheer</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_Recoil
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil2</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil3</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_death
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatdeath</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.46</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.60</tag>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
</animfile>


Then to top it off, a pith helmet.

Code:

   <attachment>
      pith_helmet
      <include>units\new\pith_helmet.xml</include>
    </attachment>   

Code:

                        </replacetexture>                     
                  </assetreference>
                  <attach a="pith_helmet" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>                  
               </none>
            </logic>
         </normal>
      </logic>


My pith helmet wasn't appearing before because I neither defined it in an XML file as an attachment nor put the "<attach a="" ....from...to.../>" tag before the tech tag </none>. Hats are attached inside the tech tag, so that you can have a tech make a hat attach.

new anim file with pith helmet:

Code:

<?xml version="1.0" encoding="utf-8"?>

<animfile>
   <definebone>bone_launchpoint</definebone>
   <definebone>bone_fuse</definebone>
   <definebone>bone_cart</definebone>
   <definebone>bone_wheelcannonR</definebone>
   <definebone>bone_wheelcannonL</definebone>
   <definebone>Bip01 Head</definebone>
   <definebone>bone_hat</definebone>
   <attachment>
      attachment_battlefield_smoke
      <component>
         battlefield_smoke
         <assetreference type="ParticleSystem">
            <file>units\artillery\cannon\battlefield_smoke.particle</file>
         </assetreference>
      </component>
      <anim>
         Idle
         <component>battlefield_smoke</component>
      </anim>
   </attachment>
   <attachment>
      hats
      <component>
         hat
         <assetreference type="GrannyModel">
            <file>units\artillery\horse_artillery\horse_artillery_hat</file>
         </assetreference>
      </component>
      <anim>
         Idle
         <component>hat</component>
      </anim>
   </attachment>
   <attachment>
      pith_helmet
      <include>units\new\pith_helmet.xml</include>
    </attachment>      
   <component>
      falconet
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                     
                  </assetreference>
                  <attach a="pith_helmet" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>                  
               </none>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <component>
      falconet Stripped
      <linksection>
         <linkoffset>-0.8</linkoffset>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_stripped</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                        
                  </assetreference>
                  <attach a="pith_helmet" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>                  
               </none>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <component>
      falconet Limber
      <linksection>
         <linkoffset>.1</linkoffset>
         <linkcomponent>horse</linkcomponent>
         <linkcomponent>gunner</linkcomponent>
         <linkcomponent>gunner_hats</linkcomponent>
         <linkcomponent>screw_pole</linkcomponent>
         <linkconstraint>0</linkconstraint>
      </linksection>
      <linksection>
         <linkoffset>-1.6</linkoffset>
         <linkcomponent>cannon</linkcomponent>
         <linkconstraint>1</linkconstraint>
      </linksection>
      <logic type="LowPoly">
         <normal>
            <logic type="Tech">
               <none>
                  <assetreference type="GrannyModel">
                     <file>units\artillery\horse_artillery\horse_artillery_limber</file>
                        <replacetexture>
                           <from>units\artillery\horse_artillery\horse_artillery</from>
                           <to>Art4\Art\units\artillery\horse_artillery\horse_artillery_new</to>
                        </replacetexture>                        
                  </assetreference>
                  <attach a="pith_helmet" frombone="bone_hat" tobone="Bip01 Head" syncanims="0"/>                  
               </none>
            </logic>
         </normal>
      </logic>
      <decal>
         <effecttype>default</effecttype>
         <texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
         <selectedtexture>shadows_selections\selection_oval_32x64</selectedtexture>
         <width>2.00</width>
         <height>4.00</height>
      </decal>
      <watersplash>
         <texture>units\artillery\cannon\wheel_B</texture>
         <width>1.75</width>
         <height>2.00</height>
      </watersplash>
   </component>
   <anim>
      Walk
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\walk</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Jog
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\jog</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Run
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\run</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      idle
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\idle</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      bored
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\idle</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Death_by_melee
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death1</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.20</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.16</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death2</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.48</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.79</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.38</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.09</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death3</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.53</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.13</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.05</tag>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Death_by_range
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death1</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.20</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.16</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death2</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.48</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.79</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.38</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.09</tag>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\death3</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.53</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.13</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="AmbienceHorse">0.05</tag>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Cheer
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\cheer1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\cheer2</file>
      </assetreference>
      <component>falconet</component>
   </anim>
   <anim>
      Limber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\limber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Unlimber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\unlimber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Bombard_ranged_idle
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_ranged_attack
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\bombard_attack</file>
         <tag type="Attack">0.08</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.08</tag>
         <tag type="Particles" particlename="smallcannonmuzzle">0.08</tag>
      </assetreference>
      <component>falconet Stripped</component>
      <attach a="attachment_battlefield_smoke" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
   </anim>
   <anim>
      Bombard_aim
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatidle</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_reload
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\bombard_reload</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_bored
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_bored</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_walk
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_jog
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_run
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_bombard_walk</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_limber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\limber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Bombard_unlimber
      <assetreference type="GrannyAnim">
         <file>animation_library\artillery\horse_artillery\unlimber</file>
      </assetreference>
      <component>falconet Limber</component>
   </anim>
   <anim>
      Bombard_cheer
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_cheer</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_Recoil
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil1</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil2</file>
      </assetreference>
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_recoil3</file>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
   <anim>
      Bombard_death
      <assetreference type="GrannyAnim">
         <file>units\artillery\falconet\falconet_combatdeath</file>
         <tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.63</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.46</tag>
         <tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.60</tag>
      </assetreference>
      <component>falconet Stripped</component>
   </anim>
</animfile>


Problem with horse artillery model having replace texture bug when dismount Screen21

Problem with horse artillery model having replace texture bug when dismount Screen22

Problem with horse artillery model having replace texture bug when dismount Screen23

Problem with horse artillery model having replace texture bug when dismount Screen24

Problem with horse artillery model having replace texture bug when dismount Screen25
dietermoreno
dietermoreno
Enemy of the Realm
Enemy of the Realm

Age : 32
Posts : 121
Join date : 2012-12-29

https://www.youtube.com/dietermoreno

Back to top Go down

Problem with horse artillery model having replace texture bug when dismount Empty Re: Problem with horse artillery model having replace texture bug when dismount

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum