+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 20 of 76

Thread: Crusader Kings Developer Diary 22 – Combat Tactics

  1. #1
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478

    Cool Crusader Kings Developer Diary 22 – Combat Tactics

    One of the things we looked to do in CK2 is make the traits and abilities of the commanders become as important as possible. To this end we removed dice rolls and replaced them with combat tactics. Combat tactics affect the power of the unit types in either attack or defence. Before you ask, yes, they are fully modable.

    Click image for larger version

Name:	Crusader_kings2_developerdiary_111215_01.png
Views:	5784
Size:	1.59 MB
ID:	44041


    The random factor in combat is all in the selection of the tactics. The combat tactics use the same scripting logic as events. You first have the trigger block that determines when a tactic is selected. One use we put for this feature is to restrict certain tactics until combat has run a certain amount of time (the transition from skirmish to melee phase is one example of this)

    The real magic is in the next part; the “mean time to happen”. This is the weight that each valid tactic gets. The game will then roll a dice to select the tactic. Here we can do neat things like weight the tactic selection looking at the flank force composition and also my military ability and traits of the commander. This gives us structured randomness; yes, sometimes your amazing general will not pick the right tactic, but more often than not he will.

    The other nice thing is that instead of rolling a dice roll you get a name. So instead of Robert the Bruce rolling a 9, Robert the Bruce unleashes an awesome charge sweeping the English off the battlefield. I don’t know but the second just sounds so much better.

    Anyway, there is a brief rundown on combat tactics. I just leave you with one last lesson, check to see if your bastard offspring are not imbeciles before legitimising them, otherwise you need to have a handy bishopric empty.

    Click image for larger version

Name:	Crusader_kings2_developerdiary_111215_02.png
Views:	5751
Size:	1.64 MB
ID:	44042
    Nostalgia is not as good as it used to be

  2. #2
    Second Lieutenant tajerio's Avatar
    Deus Vult!EU3 CompleteRome GoldHeir to the ThroneMount & Blade: Warband
    Divine WindCrusader Kings IISword of the Stars IICrusader Kings II Holy Knight

    Join Date
    Feb 2011
    Location
    Mountain View, CA
    Posts
    187
    Excellent stuff. Do advances in military technology have any influence on the number of available tactics or the likelihood that certain tactics will be selected?

  3. #3
    Major postm00v's Avatar
    Deus Vult!EU3 CompleteRome: Vae VictisRome GoldHeir to the Throne
    Mount & Blade: WarbandVictoria 2Divine WindDarkest HourCrusader Kings II
    Mount & Blade: With Fire and SwordSengokuVictoria II: A House DividedCrusader Kings II Holy KnightA Game of Dwarves
    March of the Eagles

    Join Date
    Apr 2009
    Location
    The Netherlands
    Posts
    759
    Finally, no more dice rolls !

  4. #4
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by tajerio View Post
    Excellent stuff. Do advances in military technology have any influence on the number of available tactics or the likelihood that certain tactics will be selected?
    Not directly but technology advances allow upgrade buildings that then modifiy the troop mix raised from certain provinces.
    Nostalgia is not as good as it used to be

  5. #5
    Isn't this actually Dev Diary #22? #21 was user modding.

  6. #6
    Captain Kluska's Avatar
    Deus Vult!Victoria: RevolutionsRome GoldMount & Blade: WarbandVictoria 2
    Cities in MotionEU3: ChroniclesSword of the StarsDarkest HourCrusader Kings II
    Mount & Blade: With Fire and SwordHearts of Iron III CollectionVictoria II: A House DividedCrusader Kings II Holy KnightHOI3: Their Finest Hour
    Victoria 2: Heart of Darkness

    Join Date
    Jun 2011
    Location
    Dublin, Ireland
    Posts
    459
    I have a question, will defenders still recieve a bonus from being stationary when attacked and/or pentalties when on the march and then attacked?

    Anyway, it is looking so freaking awesome! I so need this game now, it is no longer a want.

    Say, King, I will trade you: three marbles, a rusted penny and a used toothpick to have this game right now?


  7. #7
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by Kluska View Post
    I have a question, will defenders still recieve a bonus from being stationary when attacked and/or pentalties when on the march and then attacked?

    Anyway, it is looking so freaking awesome! I so need this game now, it is no longer a want.

    Say, King, I will trade you: three marbles, a rusted penny and a used toothpick to have this game right now?

    There are terrain bonuses as well.
    Nostalgia is not as good as it used to be

  8. #8
    Captain Kluska's Avatar
    Deus Vult!Victoria: RevolutionsRome GoldMount & Blade: WarbandVictoria 2
    Cities in MotionEU3: ChroniclesSword of the StarsDarkest HourCrusader Kings II
    Mount & Blade: With Fire and SwordHearts of Iron III CollectionVictoria II: A House DividedCrusader Kings II Holy KnightHOI3: Their Finest Hour
    Victoria 2: Heart of Darkness

    Join Date
    Jun 2011
    Location
    Dublin, Ireland
    Posts
    459
    Ahh, coolio.

    One more question just popped into my head!

    Can any particular flank attack prematurely of the others? As in, can your left flank not partake in the Skirmish phase and directly charge the enemy while your center and right flank remain in the Skirmish phase?

    Or would that be too convoluted and unnecessary?

  9. #9
    I like this. Nice last minute surprise.
    Much more flavourful.

    Can terrain also be used as a trigger?
    (I'm thinking mountain passes for ambushes or whatever).

  10. #10
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by Kluska View Post
    Ahh, coolio.

    One more question just popped into my head!

    Can any particular flank attack prematurely of the others? As in, can your left flank not partake in the Skirmish phase and directly charge the enemy while your center and right flank remain in the Skirmish phase?

    Or would that be too convoluted and unnecessary?
    All flanks open in the skirmish phase. Then a minimum ammount of time must pass before the flank can move into melee phase. The choice of when to do this is upto the commander of the flank and each flank does so sperately.
    Nostalgia is not as good as it used to be

  11. #11
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by Romtos View Post
    I like this. Nice last minute surprise.
    Much more flavourful.

    Can terrain also be used as a trigger?
    (I'm thinking mountain passes for ambushes or whatever).
    No

    Edit: Although by the end of the day you should be able to do so.
    Nostalgia is not as good as it used to be

  12. #12
    What are the reasons for putting Lappland in the game? Don't get me wrong, that province in the game is where I live in real life, I just have trouble imagening feudal warfare in northern Sweden when it was barely populated.

  13. #13
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by Prinz Wilhelm View Post
    What are the reasons for putting Lappland in the game? Don't get me wrong, that province in the game is where I live in real life, I just have trouble imagening feudal warfare in northern Sweden when it was barely populated.
    We don't need a reason. We add stuff in purely because we can, becasue we want too, because it is cool, because it's there. No every single decision is taken in reference to some master plan.
    Nostalgia is not as good as it used to be

  14. #14
    Euro-centric Diplomat Negru Voda's Avatar
    EU3 OwnerDeus Vult!Hearts of Iron IIISemper FiVictoria 2
    MagickaCrusader Kings IIFor the MotherlandVictoria II: A House DividedHOI3: Their Finest Hour
    Victoria 2: Heart of Darkness

    Join Date
    Nov 2006
    Location
    Colchester, England
    Posts
    579
    So, do traits also affect the MTTH? (At least can we mod it in?)

    For example, the coward trait may increase the chase of defensive tactics being chosen by the commander. Brave, or Reckless may have the opposite.

    Any stuff like that?
    ~And then there was Vicky II, and Johan saw that it is good and was pleased.
    ~And then Johan said: Let there be CK2.. and the masses rejoiced.
    ~Then Johan did something crazy, and announced Sengoku... and I rejoiced.

    ~Having closely observed King's posting style, I have come to the firm conclusion that he is the Chuck Norris of the Paradox Forums. No one messes with the King, cause the King is not to be messed around with. His word is typed void of notions of right or wrong and full of legitimate, indisputable authority.

  15. #15
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by Negru Voda View Post
    So, do traits also affect the MTTH? (At least can we mod it in?)

    For example, the coward trait may increase the chase of defensive tactics being chosen by the commander. Brave, or Reckless may have the opposite.

    Any stuff like that?
    Yes there is stuff like that. A misguided warrior is less likely to select a good tactic.
    Nostalgia is not as good as it used to be

  16. #16
    Bend Me / Break Me Communazi's Avatar
    Supreme Ruler 2020 GoldVictoria 2Darkest HourCrusader Kings IISupreme Ruler: Cold War
    Hearts of Iron III CollectionVictoria II: A House DividedHOI3: Their Finest Hour

    Join Date
    Nov 2005
    Location
    Brisbane, Australia
    Posts
    749
    why hello there extra map modes

  17. #17
    Quote Originally Posted by King View Post
    We don't need a reason. We add stuff in purely because we can, becasue we want too, because it is cool, because it's there. No every single decision is taken in reference to some master plan.
    Fair enough.

  18. #18
    Euro-centric Diplomat Negru Voda's Avatar
    EU3 OwnerDeus Vult!Hearts of Iron IIISemper FiVictoria 2
    MagickaCrusader Kings IIFor the MotherlandVictoria II: A House DividedHOI3: Their Finest Hour
    Victoria 2: Heart of Darkness

    Join Date
    Nov 2006
    Location
    Colchester, England
    Posts
    579
    Quote Originally Posted by King View Post
    Yes there is stuff like that. A misguided warrior is less likely to select a good tactic.
    And I assume we can add more tactics, with whatever effects we want, right?

    Thanks for the answer.
    ~And then there was Vicky II, and Johan saw that it is good and was pleased.
    ~And then Johan said: Let there be CK2.. and the masses rejoiced.
    ~Then Johan did something crazy, and announced Sengoku... and I rejoiced.

    ~Having closely observed King's posting style, I have come to the firm conclusion that he is the Chuck Norris of the Paradox Forums. No one messes with the King, cause the King is not to be messed around with. His word is typed void of notions of right or wrong and full of legitimate, indisputable authority.

  19. #19
    Shadow Tribune Tecnócrata's Avatar
    EU3 OwnerEuropa Universalis: RomeEU3 CompleteRome: Vae VictisHearts of Iron III
    Heir to the ThroneSemper FiCrusader Kings IIPride of NationsCrusader Kings II Holy Knight

    Join Date
    Jul 2008
    Location
    The Land of Thieves.
    Posts
    211
    Great the 1+1=?

  20. #20
    Part Time Game Designer Paradox Dev Team King's Avatar
    Hoi2 Beta MemberVictoria Revolutions BetaEU3 Collectors Edition OwnerDeus Vult!Europa Universalis: Rome
    Victoria: Revolutions200k ClubVictoria 2Divine WindCrusader Kings II
    SengokuCrusader Kings II Holy Knight

    Join Date
    Dec 2001
    Location
    In Exile
    Posts
    12,478
    Quote Originally Posted by Negru Voda View Post
    And I assume we can add more tactics, with whatever effects we want, right?

    Thanks for the answer.
    Yeh they are all in plain text files so you can add and edit them to your hearts content. It is one of those open features that you could always add more too and as such we have to make a choice at what point to say this is done and now we only limit ourselves to fixes and tweaks.
    Nostalgia is not as good as it used to be

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Posting Permissions

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