I haven't seen anyone post a tutorial for this, so I'll make a short one myself from what I have found out.
- Create a mod with the projectiles table (found in patch.pack\db\projectiles_tables_projectiles) using this tutorial here.
- Clone the row(s) of the projectile you wish to base your new projectile on, and change the name (first column).
- Fiddle around with the stats (in my mini-mod I made shotgunners, so I edited the range and the number of pellets columns). NOTE: If you want to give artillery projectiles to infantry () you need to keep the first column as missile, and also the column that says "small_arm" or "gun" as small_arm, but change the rest to be like the projectile you wish to give to your infantry.
- To give this to a unit, put units_stats_land in your file, and go to the 31st column - Projectile ID Ref - and change it to the name of your projectile (in my case shotgun).
Spoiler Alert, click show to read:
Voila! You have a nice new (possibly lethal and completely unfair) projectile.
Here's one I made earlier:
Spoiler Alert, click show to read:
I won that battle . I attached my shotgunners if anyone wants to check them out.
Two things I forgot for anyone who wants to try out the shotgunners : they are only playable as British (evven though that is really easy to change), and they won't have a screen name unless you download 'localisation.zip'.