• Civilization 7 has been announced. For more info please check the forum here .

Quick .kfm question (adding a new unit)

aokces

Flanking III Submarine
Joined
Aug 17, 2005
Messages
116
Location
California
I added in a new Galleas unit, but the animation (swaying, death, attack) does not work. Now i have the NIF files referenced just fine, but I don't know what to put for the KFM line. There's a bunch of .kf files for the unit, but not KFM file. I've done this before and its worked, but for the life of me I just can't remember what to do now. Thanks.

<Type>ART_DEF_UNIT_GALLEAS</Type>
<Button>,Art/Interface/Buttons/Units/Galleas.dds</Button>
<fScale>0.14</fScale>
<fInterfaceScale>0.6</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Galleas/Galley.nif</NIF>
<KFM>Art/Units/Frigate/Frigate.kfm</KFM>
<SHADERNIF>Art/Units/Galleas/Galley_FX.nif</SHADERNIF>
 
Linking to the original one is okay, could only be a problem, if the animations were changed.

And yes, the are packed. There are 4 .fpk files in the civ4 main folder, which contains the art. If you want to look at them, search for PakBuild, it can unpack them.
 
Top Bottom