Shiggs713
Immortal
Ok I followed another guide that I found first, then stumbled upon this one and I have created a simple mod (which I plan on expanding) to remake the american civil war. I have added some of the needed countries, leaders, and units without much problem... Even have the buttons and civlopedia working.
But I have ran across a problem which I'm not sure about so I figured maybe somebody could answer my semi-noobish question...
To start off I made confederacy and union civs, added leaders, and 1 UU just to get things started. Everything appears ok in civlopedia, and even works in game, but I'm having serious problems getting the units to animate correctly.
In the civlopedia animated picture and in-game the unit stands with his hands out and doesn't animate.
I used somebody's skin job for union and confederate infantry, and I placed both in seperate folders named union_rifleman and confederate_rifleman respectively. The skin pack that I downloaded did not include a KFM file so I basically just copied the rifleman animations and replaced only the files which looked replaceable.
Anything in bold I changed and anything not in bold is from the original rifleman UnitArtInfo. Any file represented here is present and in the correct folder... I dont really know anything about animation though so I'm kinda lost.
Really everything about the unit works fine except the animation... I'm sure i goofed something up in here, or need an extra file or something... I tried copying the rifleman.kfm and putting in the corresponding folder in my mod and changed file path, but that didn't help either. Thanks ahead of time

To start off I made confederacy and union civs, added leaders, and 1 UU just to get things started. Everything appears ok in civlopedia, and even works in game, but I'm having serious problems getting the units to animate correctly.
In the civlopedia animated picture and in-game the unit stands with his hands out and doesn't animate.
I used somebody's skin job for union and confederate infantry, and I placed both in seperate folders named union_rifleman and confederate_rifleman respectively. The skin pack that I downloaded did not include a KFM file so I basically just copied the rifleman animations and replaced only the files which looked replaceable.
Code:
<UnitArtInfo>
[B]<Type>ART_DEF_UNIT_UNIONINFANTRY</Type>[/B]
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
[B]<NIF>Art/Units/Union_Infantry/american_rifleman.nif</NIF>[/B]
<KFM>Art/Units/Rifleman/Rifleman.kfm</KFM>
[B]<SHADERNIF>Art/Units/Union_Infantry/american_rifleman_fx.nif</SHADERNIF>[/B]
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.9</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.05</fRangedDeathTime>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
<UnitArtInfo>
[B]<Type>ART_DEF_UNIT_CONFEDERATEINFANTRY</Type>[/B]
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
[B]<NIF>Art/Units/Confederate_Infantry/confederate_rifleman.nif</NIF>[/B]
<KFM>Art/Units/Rifleman/Rifleman.kfm</KFM>
[B]<SHADERNIF>Art/Units/Confederate_Infantry/confederate_rifleman_fx.nif</SHADERNIF>[/B]
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.9</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.05</fRangedDeathTime>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
Anything in bold I changed and anything not in bold is from the original rifleman UnitArtInfo. Any file represented here is present and in the correct folder... I dont really know anything about animation though so I'm kinda lost.
Really everything about the unit works fine except the animation... I'm sure i goofed something up in here, or need an extra file or something... I tried copying the rifleman.kfm and putting in the corresponding folder in my mod and changed file path, but that didn't help either. Thanks ahead of time
