bastard swords penalty

Users who are viewing this thread

AFIK, bastard swords and two-handed swords suffer 35% penalty to both speed and damage when used with one hand (e.g. on horse). Therefore I don’t see any reason to use the bastard swords: they are weaker than one-handed swords when used with one hand and weaker than two-handed swords when used with two hands. What is worse, they decrease the fighting ability of those poor units who happen to have them in their inventory and who always use them as a one-handed weapon (with a shield). But this could be improved if their damage penalty could be decreased (with the speed penalty being the same). In this case using bastard swords with one hand you will sacrifice speed for length.
So the question is: is it possible to change the damage penalty only for the bastard swords leaving the two-handed swords as is?
 
Delete the ones in module_items, add:
Code:
["bastard_sword_a_rusty", "Rusty Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 162 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(32 , cut) | thrust_damage(23 ,  pierce),imodbits_none],
["bastard_sword_a_alt_rusty", "Rusty Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 162 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(32 , cut) | thrust_damage(23 ,  pierce),imodbits_none],

["bastard_sword_a_chipped", "Chipped Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 212 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(34 , cut) | thrust_damage(25 ,  pierce),imodbits_none],
["bastard_sword_a_alt_chipped", "Chipped Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 212 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(34 , cut) | thrust_damage(25 ,  pierce),imodbits_none],

["bastard_sword_a", "Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 294 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(35 , cut) | thrust_damage(26 ,  pierce),imodbits_none ],
["bastard_sword_a_alt", "Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 294 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(35 , cut) | thrust_damage(26 ,  pierce),imodbits_none ],

["bastard_sword_a_balanced", "Balanced Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1029 , weight(2.0)|difficulty(9)|spd_rtng(101) | weapon_length(101)|swing_damage(38 , cut) | thrust_damage(29 ,  pierce),imodbits_none ],
["bastard_sword_a_alt_balanced", "Balanced Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1029 , weight(2.0)|difficulty(9)|spd_rtng(101) | weapon_length(101)|swing_damage(38 , cut) | thrust_damage(29 ,  pierce),imodbits_none ],

["bastard_sword_a_tempered", "Tempered Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1970 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(39 , cut) | thrust_damage(30 ,  pierce),imodbits_none ],
["bastard_sword_a_alt_tempered", "Tempered Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1970 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(39 , cut) | thrust_damage(30 ,  pierce),imodbits_none ],

["bastard_sword_a_masterwork", "Masterwork Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 5145 , weight(2.0)|difficulty(13)|spd_rtng(99) | weapon_length(101)|swing_damage(40 , cut) | thrust_damage(31 ,  pierce),imodbits_none ],
["bastard_sword_a_alt_masterwork", "Masterwork Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 5145 , weight(2.0)|difficulty(13)|spd_rtng(99) | weapon_length(101)|swing_damage(40 , cut) | thrust_damage(31 ,  pierce),imodbits_none ],

["bastard_sword_b_rusty", "Rusty Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 289 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(34 , cut) | thrust_damage(24 ,  pierce),imodbits_none ],
["bastard_sword_b_alt_rusty", "Rusty Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary, itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 289 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(34 , cut) | thrust_damage(24 ,  pierce),imodbits_none ],

["bastard_sword_b_chipped", "Chipped Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 379 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(36 , cut) | thrust_damage(26 ,  pierce),imodbits_none ],
["bastard_sword_b_alt_chipped", "Chipped Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary, itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 379 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(36 , cut) | thrust_damage(26 ,  pierce),imodbits_none ],

["bastard_sword_b", "Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 526 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(37 , cut) | thrust_damage(27 ,  pierce),imodbits_none ],
["bastard_sword_b_alt", "Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary, itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 526 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(37 , cut) | thrust_damage(27 ,  pierce),imodbits_none ],

["bastard_sword_b_balanced", "Balanced Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1841 , weight(2.25)|difficulty(9)|spd_rtng(100) | weapon_length(105)|swing_damage(40 , cut) | thrust_damage(30 ,  pierce),imodbits_none ],
["bastard_sword_b_alt_balanced", "Balanced Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary, itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1841 , weight(2.25)|difficulty(9)|spd_rtng(100) | weapon_length(105)|swing_damage(40 , cut) | thrust_damage(30 ,  pierce),imodbits_none ],

["bastard_sword_b_tempered", "Tempered Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 3524 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(41 , cut) | thrust_damage(31 ,  pierce),imodbits_none ],
["bastard_sword_b_alt_tempered", "Tempered Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary, itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 3524 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(41 , cut) | thrust_damage(31 ,  pierce),imodbits_none ],

["bastard_sword_b_masterwork", "Masterwork Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn|itp_merchandise| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 9205 , weight(2.25)|difficulty(13)|spd_rtng(98) | weapon_length(105)|swing_damage(42 , cut) | thrust_damage(32 ,  pierce),imodbits_none ],
["bastard_sword_b_alt_masterwork", "Masterwork Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary, itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 9205 , weight(2.25)|difficulty(13)|spd_rtng(98) | weapon_length(105)|swing_damage(42 , cut) | thrust_damage(32 ,  pierce),imodbits_none ],

["bastard_sword_a_horseback_rusty", "Rusty Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 162 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(32 , cut) | thrust_damage(23 ,  pierce),imodbits_none],
["bastard_sword_a_horseback_alt_rusty", "Rusty Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 162 , weight(2.0)|difficulty(9)|spd_rtng(151) | weapon_length(101)|swing_damage(49 , cut) | thrust_damage(35 ,  pierce),imodbits_none ],

["bastard_sword_a_horseback_chipped", "Chipped Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 212 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(34 , cut) | thrust_damage(25 ,  pierce),imodbits_none],
["bastard_sword_a_horseback_alt_chipped", "Chipped Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 212 , weight(2.0)|difficulty(9)|spd_rtng(151) | weapon_length(101)|swing_damage(52 , cut) | thrust_damage(38 ,  pierce),imodbits_none ],

["bastard_sword_a_horseback", "Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 294 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(35 , cut) | thrust_damage(26 ,  pierce),imodbits_none ],
["bastard_sword_a_horseback_alt", "Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 294 , weight(2.0)|difficulty(9)|spd_rtng(151) | weapon_length(101)|swing_damage(54 , cut) | thrust_damage(40 ,  pierce),imodbits_none ],

["bastard_sword_a_horseback_balanced", "Balanced Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1029 , weight(2.0)|difficulty(9)|spd_rtng(101) | weapon_length(101)|swing_damage(38 , cut) | thrust_damage(29 ,  pierce),imodbits_none ],
["bastard_sword_a_horseback_alt_balanced", "Balanced Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1029 , weight(2.0)|difficulty(9)|spd_rtng(155) | weapon_length(101)|swing_damage(58 , cut) | thrust_damage(45 ,  pierce),imodbits_none ],

["bastard_sword_a_horseback_tempered", "Tempered Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1970 , weight(2.0)|difficulty(9)|spd_rtng(98) | weapon_length(101)|swing_damage(39 , cut) | thrust_damage(30 ,  pierce),imodbits_none ],
["bastard_sword_a_horseback_alt_tempered", "Tempered Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1970 , weight(2.0)|difficulty(9)|spd_rtng(151) | weapon_length(101)|swing_damage(60 , cut) | thrust_damage(46 ,  pierce),imodbits_none ],

["bastard_sword_a_horseback_masterwork", "Masterwork Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee,itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 5145 , weight(2.0)|difficulty(13)|spd_rtng(99) | weapon_length(101)|swing_damage(40 , cut) | thrust_damage(31 ,  pierce),imodbits_none ],
["bastard_sword_a_horseback_alt_masterwork", "Masterwork Bastard Sword", [("bastard_sword_a",0),("bastard_sword_a_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 5145 , weight(2.0)|difficulty(13)|spd_rtng(152) | weapon_length(101)|swing_damage(62 , cut) | thrust_damage(48 ,  pierce),imodbits_none ],

["bastard_sword_b_horseback_rusty", "Rusty Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 289 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(34 , cut) | thrust_damage(24 ,  pierce),imodbits_none ],
["bastard_sword_b_horseback_alt_rusty", "Rusty Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 289 , weight(2.25)|difficulty(9)|spd_rtng(149) | weapon_length(105)|swing_damage(52 , cut) | thrust_damage(37 ,  pierce),imodbits_none ],

["bastard_sword_b_horseback_chipped", "Chipped Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 379 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(36 , cut) | thrust_damage(26 ,  pierce),imodbits_none ],
["bastard_sword_b_horseback_alt_chipped", "Chipped Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 379 , weight(2.25)|difficulty(9)|spd_rtng(149) | weapon_length(105)|swing_damage(55 , cut) | thrust_damage(40 ,  pierce),imodbits_none ],

["bastard_sword_b_horseback", "Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 526 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(37 , cut) | thrust_damage(27 ,  pierce),imodbits_none ],
["bastard_sword_b_horseback_alt", "Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 526 , weight(2.25)|difficulty(9)|spd_rtng(149) | weapon_length(105)|swing_damage(57 , cut) | thrust_damage(42 ,  pierce),imodbits_none ],

["bastard_sword_b_horseback_balanced", "Balanced Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1841 , weight(2.25)|difficulty(9)|spd_rtng(100) | weapon_length(105)|swing_damage(40 , cut) | thrust_damage(30 ,  pierce),imodbits_none ],
["bastard_sword_b_horseback_alt_balanced", "Balanced Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 1841 , weight(2.25)|difficulty(9)|spd_rtng(154) | weapon_length(105)|swing_damage(62 , cut) | thrust_damage(46 ,  pierce),imodbits_none ],

["bastard_sword_b_horseback_tempered", "Tempered Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 3524 , weight(2.25)|difficulty(9)|spd_rtng(97) | weapon_length(105)|swing_damage(41 , cut) | thrust_damage(31 ,  pierce),imodbits_none ],
["bastard_sword_b_horseback_alt_tempered", "Tempered Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 3524 , weight(2.25)|difficulty(9)|spd_rtng(149) | weapon_length(105)|swing_damage(63 , cut) | thrust_damage(48 ,  pierce),imodbits_none ],

["bastard_sword_b_horseback_masterwork", "Masterwork Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_one_handed_wpn| itp_primary|itp_next_item_as_melee, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 9205 , weight(2.25)|difficulty(13)|spd_rtng(98) | weapon_length(105)|swing_damage(42 , cut) | thrust_damage(32 ,  pierce),imodbits_none ],
["bastard_sword_b_horseback_alt_masterwork", "Masterwork Heavy Bastard Sword", [("bastard_sword_b",0),("bastard_sword_b_scabbard", ixmesh_carry)], itp_type_two_handed_wpn|itp_two_handed| itp_primary,itc_greatsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
 9205 , weight(2.25)|difficulty(13)|spd_rtng(151) | weapon_length(105)|swing_damage(65 , cut) | thrust_damage(49 ,  pierce),imodbits_none ],
slot_agent_kind_wielded_bs
  ("anti_bs_penalty",
  [
  (try_for_agents, ":agent"),
  (agent_is_alive, ":agent"),
  (agent_is_human, ":agent"),
  (agent_get_wielded_item, ":item", ":agent", 0),
  (is_between, ":item", "itm_bastard_sword_a_rusty", "itm_one_handed_war_axe_a"),
  (agent_get_horse, ":horse", ":agent"),
  (agent_set_slot, ":agent", slot_agent_kind_wielded_bs, 0),
  (call_script, "script_get_num_kind_wielded_bs"),
  (try_begin),
    (gt, ":horse", -1),
    (try_begin),
      (agent_unequip_item, ":agent", ":item"),
      (val_add, ":item", 24), # so, never ever add any item between two bastard swords
      (try_begin),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 1),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (else_try),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 2),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (else_try),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 3),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (else_try),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 4),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (try_end),
    (try_end),
    (else_try),
    (eq, ":horse", -1),
    (try_begin),
      (agent_unequip_item, ":agent", ":item"),
      (val_sub, ":item", 24), # so, never ever add any item between two bastard swords
      (try_begin),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 1),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (else_try),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 2),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (else_try),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 3),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (else_try),
        (agent_slot_eq, ":agent", slot_agent_kind_wielded_bs, 4),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_equip_item, ":agent", ":item"),
        (agent_set_wielded_item, ":agent", ":item"),
      (try_end),
    (try_end),
  (try_end),
(try_end),
  ]),

  ("get_num_kind_wielded_bs",
  [
  (try_for_agents, ":agent"),
  (agent_is_alive, ":agent"),
  (agent_is_human, ":agent"),
  (agent_get_wielded_item, ":item", ":agent", 0),
    (try_for_range, ":agent_i_slot", 0, 4),
    (agent_get_item_slot, ":itm", ":agent", ":agent_i_slot"),
    (eq, ":item", ":itm"),
    (agent_get_slot, ":num", ":agent", slot_agent_kind_wielded_bs),
    (val_add, ":num", 1),
    (agent_set_slot, ":agent", slot_agent_kind_wielded_bs, ":num"),
    (try_end),
    (try_end),
  ]),
(0, 0, 0, [],
[
  (call_script, "script_anti_bs_penalty"),
  ]),

Updated for great justice.
 
Wow, that’s an interesting solution, thank you!

But I have questions :smile:

AFAIUnderstand, you implemented _alt versions of the bastard swords for use as a two-handed weapon. I understand that if I want the two-handed version to inflict bigger damage than the one-handed version, I have to modify the damage in _alt (e.g. change swing_damage 37 to swing_damage 42 etc.). The same for the horseback swords. What I don’t understand is what the horseback_alt versions do. A weapon cannot be wielded with two hands on horse, right?
 
Alex Kit said:
What I don’t understand is what the horseback_alt versions do. A weapon cannot be wielded with two hands on horse, right?
If you wield a bastard sword on foot, you won't get any penalty anymore (with this solution). If you wield a horseback version, again there'll be no penalty, because it's on 1h mode. But if you wield a horseback_alt version (ie. switch to 2h mode while on horseback - these versions enable you to do that), you'll suffer penalty yet its higher stats compensate for it ("normal" and "on horseback" swords must be different weapons because of this).
 
I like this idea, but I have a question. How well does the AI use the swap feature. If they don't have a shield, will they automatically swap to "two-hander" mode? I like how this solves the whole "bastard sword is useless unless you don't have a shield" problem. :grin:
 
Code:
(try_for_agents, ":agent"),
  (agent_is_alive, ":agent"),
  (agent_is_human, ":agent"),
  (agent_get_wielded_item, ":sword", ":agent", 0),
  (this_or_next|eq, ":sword", "itm_bastard_sword_a"),
  (eq, ":sword", "itm_bastard_sword_b"),
  (agent_get_wielded_item, ":board", ":agent", 1),
  (eq, ":board", -1),#none at all
  (val_add, ":sword", 1),#assume 2h version is next item
  (agent_equip_item, ":agent", ":sword"),
(try_end),
 
To: JethroKirby

Um… As far as I understand, the

bastard sword is useless unless you don't have a shield" problem

is partially related to the damage penalty when it is used with a shield. The first code removes this damage penalty therefore removes the problem. The bastard sword becomes a single-handed sword, just a bit longer and slower (and with more damage if you want it). Well, at least it will not be more useless than a usual sword :smile:
 
Alex Kit said:
The bastard sword becomes a single-handed sword, just a bit longer and slower (and with more damage if you want it).
  Not exactly. You can already use some weapons in another mode by pressing X. In fact, you switch to a different item with the same model (2 in 1). What I did was making it start off as a pure 1h (no penalty), turning it into a pure 2h when X is pressed (penalty only on horseback), and making up for the penalty by increasing the stats of the horseback version only. Granted, then using it as a 2h sword would be insanity, but still...
 
Hmmm. Is there a way to remove the "using a 2h from horseback" penalty entirely, either for bastard swords or for swords in general, or is that hardcoded? I really like what you've done with the alt version swap, unfortunantly I have about 10 Katanas (which use bastard sword code) in my mod which, doing it this way is going to result in a LOT of additional code.  Honestly, I could care less what the AI does with them regarding the shield swapping because all of my AI troops packing katanas are either on horseback or don't carry a shield - and removing the penalty at all for variable swords seems like the best idea.

It seems pointless to assign a two-hander penalty to a sword that's designed to be usable in one hand also - isn't that the whole point of HAVING a bastard sword, that flexibility?  :shock:
 
Alex Kit said:
AFIK, bastard swords and two-handed swords suffer 35% penalty to both speed and damage when used with one hand (e.g. on horse). Therefore I don’t see any reason to use the bastard swords: they are weaker than one-handed swords when used with one hand and weaker than two-handed swords when used with two hands. What is worse, they decrease the fighting ability of those poor units who happen to have them in their inventory and who always use them as a one-handed weapon (with a shield). But this could be improved if their damage penalty could be decreased (with the speed penalty being the same). In this case using bastard swords with one hand you will sacrifice speed for length.
So the question is: is it possible to change the damage penalty only for the bastard swords leaving the two-handed swords as is?

So Bastard Swords are bad weapons?!?! And I ALWAYS have one for every single party member, considering them to be great weapons! >,<
 
Wow, very interesting solution, Voyager. Do you think something like that could be possible with this:

FrisianDude said:
Anyway, I came here with a question myself. I'm trying to make a polearm which can slash like the Khergit Hafted Blades from horse if you use it in two hands, but can only be used to stab with if you use it with a shield. If I'd use the hafted blades' ictf_guandao then he won't be able to use it at all with a shield while on foot, but if on horse he can swing it two-handedly, even with a shield. Is what I'm looking for possible without using the alternate weapon type?
? It *looks* possible to me, but I don't really understand it yet.
 
I came up with a new, lazier option:

Flag the two-handed bastard sword versions as "not usable on horseback". Give the Alt versions to your mounted troops, or make sure they have some other weapon for backup.
 
Back
Top Bottom