It is very simple. Very simple, indeed..... LOL What is amazing is that it took me 1 month to figure it out,,,-_-
1. First, extract animation_tables.txt(Some pack files include it. Look for it. In my case, I used patch.pack)
2. Open animation_tables.txt and put the following words into the txt. And save it.
animation_table shogun_man_teppo_yari
{
skeleton_type man_shogun
fragment shogun_man_unarmed_fragment
fragment shogun_man_yari_fragment default_equipment_display = secondary_weapon, ambient
fragment shogun_man_yari_combat_fragment default_equipment_display = secondary_weapon, ambient
fragment shogun_man_musket_combat_fragment default_equipment_display = primary_weapon, ambient
}
3.Create a new mod, and integrate the txt into the mod. Beware: You should add animations directory, not just the file.
(Alternatively, if the newest patch file doesn't include the txt, you could just directly add the directory into the pack)
4. And now let's directly edit the patch.(You could just extract and make it on your own)
First, go to unit_stats_land, and select oda matchlock ashigaru, and you will see something called animation table. Delete the entry and replace it with shogun_man_teppo_yari
Second, go to warscape_equipment_themes and clone shogun_infantry_teppo, and name the clone as shogun_infantry_yari_teppo. Then edit the secondary weapon as shogun_yari
Third, return to unit_stats_land and edit Warscape Equiment Theme IDref as shogun_infantry_yari_teppo. And if you go leftward, you will find a table called melee weapon. Replace the sabre with spear.
And you are done!!! LOL
P.S. You could extract the needed tables and just create your mod without editing the original pack file. And if your edit the pack file, BE SURE TO BACKUP YOUR PACKFILE!!!




Reply With Quote






