This is my first attempt at modding anything in the Total War series. With the help of various tutorials around the site, I thought I'd take a shot at creating a new unit: Sharpe's Rifles.
I created a new unit based off the British Rifles, cloning and modifying their rows in:
- building_units_allowed
- uniform_to_faction_colours
- uniforms
- unit_required_technology_junctions
- unit_stats_land
- unit_to_unit_abilities_junctions
- units
My goals for this unit were:
- Increased accuracy.
- Increased melee attributes.
- Inspires nearby units.
- Scares enemy.
- Unique icon and info picture.
- Limited to 1.
I also tried experimenting with rifle bullets in the projectiles table, doubling the range and reducing the reload time to two shots a minute.
However, the mod refuses to run. I've added the user.script and set the pack type as a mod, but other than that I'm not sure what's left.
I realise I may have missed something, here's the file if anyone wants to skim through it.