Sahran
Grandmaster Knight
Credits:
Papa Lazarou's great work (used for underhand thrust): http://forums.taleworlds.com/index.php/topic,134185.0.html
Moderation: The animations only allow for use by other modders in their (mod) projects. Code itself can be considered OSP
The folks in the topic who've offered some critiques and help!
What this does:
-Spears on foot are able to attack in two directions. Up (overhand) and Down (Underhand).
-Spears on horseback are only able to thrust underhand (Down)
-1h weaponry are now unaffected by this change.
Installation for players
http://www.sendspace.com/file/aoiqw7
http://www.mediafire.com/?i4r7g492z4rn7p1
Drop the text files (actions & items_kind) into your module's folder. Add animation_two_spear_strike to your load_module_item list in the module text file. All spears are adjusted to be able to attack up and down - lances are not touched. So unless I left a bug in there, it should work for you just to drop in and play. If you have an existing item file you want to adjust to:
1) Make Spears swing and thrust damage the same damage and damage type (pierce)
2) You have to make sure that spears are classified as 'itc_staff' in the python file. This'll let them attack up and low, so I am not sure how to do it just with text files.
=======================================================================================================================
Installation for Modders
http://www.sendspace.com/file/oe7p9x
http://www.mediafire.com/?uqbtpniq5rjwdlk
Use the included python files, make sure you add the animation_two_spear_strike to the load_module_items list.
In Text Files
Make all spears have the same swing damage + damage type (pierce) as their thrust + thrust damage type (pierce).
Highly suggest adding the itp_no_blur to spears, as otherwise their overhand thrust blurs really silly like.
In the python files, what you have to edit:
header_items: Replace itc_staff's line with this:
module_animations: More complicated. You need to find and replace the following entries:
Papa Lazarou's great work (used for underhand thrust): http://forums.taleworlds.com/index.php/topic,134185.0.html
Moderation: The animations only allow for use by other modders in their (mod) projects. Code itself can be considered OSP
The folks in the topic who've offered some critiques and help!
What this does:
-Spears on foot are able to attack in two directions. Up (overhand) and Down (Underhand).
-Spears on horseback are only able to thrust underhand (Down)
-1h weaponry are now unaffected by this change.
Installation for players
http://www.sendspace.com/file/aoiqw7
http://www.mediafire.com/?i4r7g492z4rn7p1
Drop the text files (actions & items_kind) into your module's folder. Add animation_two_spear_strike to your load_module_item list in the module text file. All spears are adjusted to be able to attack up and down - lances are not touched. So unless I left a bug in there, it should work for you just to drop in and play. If you have an existing item file you want to adjust to:
1) Make Spears swing and thrust damage the same damage and damage type (pierce)
2) You have to make sure that spears are classified as 'itc_staff' in the python file. This'll let them attack up and low, so I am not sure how to do it just with text files.
=======================================================================================================================
Installation for Modders
http://www.sendspace.com/file/oe7p9x
http://www.mediafire.com/?uqbtpniq5rjwdlk
Use the included python files, make sure you add the animation_two_spear_strike to the load_module_items list.
In Text Files
Make all spears have the same swing damage + damage type (pierce) as their thrust + thrust damage type (pierce).
Highly suggest adding the itp_no_blur to spears, as otherwise their overhand thrust blurs really silly like.
In the python files, what you have to edit:
header_items: Replace itc_staff's line with this:
Code:
itc_staff = itc_parry_polearm| itcf_thrust_onehanded_lance |itcf_thrust_onehanded_lance_horseback | itcf_overswing_musket | itcf_overswing_polearm |itcf_thrust_polearm|itcf_slashright_polearm|itcf_slashleft_polearm
module_animations: More complicated. You need to find and replace the following entries:
Code:
["ready_thrust_onehanded", acf_thrust|acf_rot_vertical_sword|acf_anim_length(100)|acf_enforce_rightside, amf_priority_attack|amf_use_weapon_speed|amf_use_inertia|amf_keep|amf_client_owner_prediction|amf_rider_rot_thrust,
## [ready_durn, "anim_human", combat+8500, combat+8510, blend_in_ready],
[ready_durn, "1h_low_thrust_30.9.10", 0, 5, blend_in_ready],
],
["release_thrust_onehanded", acf_thrust|acf_rot_vertical_sword|acf_anim_length(100)|acf_enforce_rightside, amf_priority_attack|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust|amf_continue_to_next,
## [0.61, "anim_human", combat+8510, combat+8540, blend_in_release],
[0.62, "1h_low_thrust_30.9.10", 5, 34, blend_in_release],
],
["release_thrust_onehanded_continue", 0, amf_priority_continue|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust|amf_client_owner_prediction,
[0.35, "1h_low_thrust_30.9.10", 34, 39, blend_in_continue],
],
["blocked_thrust_onehanded", acf_enforce_rightside, amf_priority_blocked|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust,
[attack_blocked_duration_thrust, "parry_single_lefttoright", 0, 75, blend_in_parry],
],
["parried_thrust_onehanded", acf_enforce_rightside, amf_priority_parried|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust,
[attack_parried_duration_thrust, "parry_single_lefttoright", 0, 75, blend_in_parry],
Code:
["ready_thrust_onehanded_lance", acf_thrust|acf_rot_vertical_sword|acf_anim_length(100)|acf_enforce_rightside, amf_priority_attack|amf_use_weapon_speed|amf_use_inertia|amf_keep|amf_client_owner_prediction|amf_rider_rot_thrust,
## [ready_durn, "anim_human", combat+8500, combat+8510, blend_in_ready],
[ready_durn, "1h_low_thrust_30.9.10", 0, 5, blend_in_ready],
],
["release_thrust_onehanded_lance", acf_thrust|acf_rot_vertical_sword|acf_anim_length(100)|acf_enforce_rightside, amf_priority_attack|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust|amf_continue_to_next,
## [0.61, "anim_human", combat+8510, combat+8540, blend_in_release],
[0.62, "1h_low_thrust_30.9.10", 5, 34, blend_in_release],
],
["release_thrust_onehanded_lance_continue", 0, amf_priority_continue|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust|amf_client_owner_prediction,
[0.35, "1h_low_thrust_30.9.10", 34, 39, blend_in_continue],
],
["blocked_thrust_onehanded_lance", acf_enforce_rightside, amf_priority_blocked|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust,
[attack_blocked_duration_thrust, "anim_human", combat+9515, combat+9513, blend_in_parry],
],
["parried_thrust_onehanded_lance", acf_enforce_rightside, amf_priority_parried|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust,
[attack_parried_duration_thrust, "anim_human", combat+9515, combat+9513, blend_in_parry],
Code:
["ready_overswing_musket", acf_thrust|acf_rot_vertical_sword|acf_anim_length(100)|acf_enforce_rightside, amf_priority_attack|amf_use_weapon_speed|amf_use_inertia|amf_keep|amf_client_owner_prediction|amf_rider_rot_thrust,
## [ready_durn, "anim_human", combat+8500, combat+8510, blend_in_ready],
[ready_durn, "attacks_thrust_onehanded", 5, 13, blend_in_ready],
],
["release_overswing_musket", acf_thrust|acf_rot_vertical_sword|acf_anim_length(100)|acf_enforce_rightside, amf_priority_attack|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust|amf_continue_to_next,
## [0.61, "anim_human", combat+8510, combat+8540, blend_in_release],
[0.62, "attacks_thrust_onehanded", 12, 32, blend_in_release],
],
["release_overswing_musket_continue", 0, amf_priority_continue|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust|amf_client_owner_prediction,
[0.3, "attacks_thrust_onehanded", 32, 54, blend_in_continue],
],
["blocked_thrust_overswing_musket", acf_enforce_rightside, amf_priority_blocked|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust,
[attack_blocked_duration_thrust, "anim_human", combat+8515, combat+8513, blend_in_parry],
],
["parried_thrust_overswing_musket", acf_enforce_rightside, amf_priority_parried|amf_use_weapon_speed|amf_play|amf_rider_rot_thrust,
[attack_parried_duration_thrust, "anim_human", combat+8515, combat+8513, blend_in_parry],