Tutorial purpose – Removing bayonets from any given soldier.
I know this is probably not something that is in high demand, but it was giving me trouble when I tried to do it for my Great War mod, and so I figure it must be giving someone else trouble as well. So here it goes,
First and foremost, you must be at least reasonably acquainted with the PFM and how to make a mod in the first place. Please refer to this tutorial by Erasmus, a regular modding god.
We are going to be editing several different values across two different files, so this is a bit more difficult then might be anticipated for something seemingly so simple.
1) Fine and open unit_stats_land_tables.
2) Scroll right until you see a value named “Melee Weapon”
3) Change socket_bayonet to rifle_butt (no, you are not done.)
4) Scroll right five columns to ‘unknown.’ It will read foot_bayonet. Change it to foot_rifle_butt.
5) Now, find and open unit_to_unit_abilities_tables.
6) Scroll to the unit you are editing and find the ability entitled “Socket_bayonet”
7) Delete it.
You are done, no more bayonets.