Results 1 to 2 of 2

Thread: Cavalry No Secondary

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Cavalry No Secondary

    Is there a way to remove a cavalry unit's secondary weapon and force them to attack with their primary?I'm trying to get mounted knights to only attack with lances.What would happen if I did this, would they swing the lance like a sword?Or would they just sit there and not attack with their lances unless I charged them at an enemy?

  2. #2
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Cavalry No Secondary

    Here is an example of how to do it easily:
    Code:
    type				Riddere
    dictionary			Riddere
    category			cavalry
    class				heavy
    voice_type			Heavy
    banner faction		main_cavalry
    banner holy			crusade_cavalry
    soldier				Mailed_Knights, 22, 0, 1
    officer				northern_captain_early_flag
    officer				northern_captain_early_flag
    mount				heavy horse
    mount_effect		camel -4
    attributes			sea_faring, hide_forest, very_hardy, can_withdraw, knight, can_formed_charge
    formation			1.6, 3.4, 3, 6, 2, square
    stat_health			1, 7
    stat_pri			11, 14, no, 0, 0, melee, missile_mechanical, piercing, spear, 25, 1.5
    stat_pri_attr		ap, launching
    stat_sec			13, 2, no, 0, 0, melee, melee_blade, piercing, sword, 30, 1 ;L7
    stat_sec_attr		no
    stat_pri_armour		9, 18, 4, metal
    stat_sec_armour		0, 0, flesh
    stat_heat			5
    stat_ground			0, -4, -8, 3
    stat_mental			15, disciplined, trained
    stat_charge_dist	45
    stat_fire_delay		0
    stat_food			60, 300
    stat_cost			1, 4500, 450, 450, 450, 1270, 4, 220
    armour_ug_levels	3, 4, 7
    armour_ug_models	Riddere, Riddere_ug1, Riddere_ug1
    ownership			norway
    era 1				norway
    era 2				norway
    recruit_priority_offset    20
    The blue bit is the animations, you need to make lancers into spearers... So we switch 'Mailed_Knights', in the example above, with 'Mounted_Sergeants' in the example below.

    The green bit is for secondary weapons and it's where we tell the game not to use any secondary weapon in the example below:

    Code:
    type				Riddere
    dictionary			Riddere
    category			cavalry
    class				heavy
    voice_type		Heavy
    banner faction		main_cavalry
    banner holy		crusade_cavalry
    soldier			Mounted_Sergeants, 22, 0, 1
    officer			northern_captain_early_flag
    officer			northern_captain_early_flag
    mount			heavy horse
    mount_effect		camel -4
    attributes			sea_faring, hide_forest, very_hardy, can_withdraw, knight, can_formed_charge
    formation			1.6, 3.4, 3, 6, 2, square
    stat_health		1, 7
    stat_pri			11, 14, no, 0, 0, melee, missile_mechanical, piercing, spear, 25, 1.5
    stat_pri_attr		ap, launching
    stat_sec			0, 0, no, 0, 0, no, melee_simple, blunt, none, 10, 1 ;L7
    stat_sec_attr		no
    stat_pri_armour	9, 18, 4, metal
    stat_sec_armour	0, 0, flesh
    stat_heat			5
    stat_ground		0, -4, -8, 3
    stat_mental		15, disciplined, trained
    stat_charge_dist	45
    stat_fire_delay		0
    stat_food			60, 300
    stat_cost			1, 4500, 450, 450, 450, 1270, 4, 220
    armour_ug_levels	3, 4, 7
    armour_ug_models	Riddere, Riddere_ug1, Riddere_ug1
    ownership			norway
    era 1				norway
    era 2				norway
    recruit_priority_offset    20
    Sorry about the messed up formatting in the examples, something is lost in translation with tabs...

    The reason you have to switch animations is that lance animations can't attack to the sides. The engine expects cav to be able to attack to the sides (it doesn't turn them to face opponents), so if they're stuck on lancer animations - they're screwed. But it's not ideal to use spear, it has it's own drawbacks, like no couching animations.

    BTW it's the reason why in my opinion officers should never use lance animations. They cannot have a secondary weapon, so they just suck once the charge is over.
    Last edited by Taiji; January 11, 2011 at 11:13 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •