-
October 07, 2015, 03:39 PM
#1
Libertus
Changing Crossbow Cavalry to have lower armor-piercing damage/no fire-while-moving
The kind of crossbow that you can successfully draw from horseback shouldn't have the same armor-piercing capabilities of a footman's crossbow, that can be drawn using the full force and movement of your entire body.
I want to reduce crossbow cavalry's armor-piercing damage from 50 (same as ballistarii) to 20 (twice that of heavy shot from bowmen, so they still have a significant advantage over them in this regard).
If that proves too difficult, then I just want to remove their ability to fire/reload while moving, because if they can draw back a crossbow with as much draw weight as a footman's, while being on horseback, then they must be using some kind of tool, the operation of which should be restricted by managing a horse at full gallop in a cavalry formation.
How would on go about changing the AP damage of a unit? AP damage isn't covered in land_units, and I'm thinking it may be governed by what weapon is used - in which case, I'd have to make a new type of crossbow with lower AP damage (although I'd just copy everything from the normal crossbow except that one stat).
As for changing whether or not a unit has fire-while-move, I don't know which directory I'd have to look under.
Thanks in advance for any help
-
October 07, 2015, 05:23 PM
#2
Re: Changing Crossbow Cavalry to have lower armor-piercing damage/no fire-while-moving
You're looking for the projectiles table to change AP damage.
Changing whether a unit has Fire Whilst Moving is done by changing their attribute group. That can be done either by using their existing attribute group and adding/removing that ability to the list (in unit_attributes_to_groups_junction) or by changing which attribute group they have in the appropriate column in the land_units table.
-
October 07, 2015, 05:25 PM
#3
Libertus
Re: Changing Crossbow Cavalry to have lower armor-piercing damage/no fire-while-moving
Thanks.
I'm assuming I have to create a new projectile type, and then change crossbow cavalry to use it?
-
October 07, 2015, 07:15 PM
#4
Re: Changing Crossbow Cavalry to have lower armor-piercing damage/no fire-while-moving
Yes. I think you'll actually have to make a new weapon. Correct me if I'm wrong, but crossbow cavalry use the same crossbow as all other crossbow units, right? In that case, you'll have to make a new weapon in the missile_weapons table, create the projectile types for that weapon in the projectiles table, then assign that weapon projectile types in the missile_weapons_to_projectiles table.
-
October 07, 2015, 10:07 PM
#5
Libertus
Re: Changing Crossbow Cavalry to have lower armor-piercing damage/no fire-while-moving
I'm getting a problem - even though I added att_arrow_crossbow_light in the projectiles table, and added all appropriate values (actually just copied the normal crossbow bolt values, and changed the AP value), it doesn't show up under the possible choices for projectile types in the missile_weapon_to_projectives table. When I try to copy directly from the key entry in projectiles, it gives an error message saying "can't do that, no matching value in 'key' column of 'projective_tables'". Even when I'm copying directly from the key column of the projectiles table.
-
October 08, 2015, 03:17 AM
#6
Re: Changing Crossbow Cavalry to have lower armor-piercing damage/no fire-while-moving
Save your changes in the projectiles table, close PFM, and open it again. Then it should recognize the new entry.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules