File information

Last updated

Original upload

Created by

nordicFreeze

Uploaded by

fritzgroes

Virus scan

Safe to use

Tags for this mod

39 comments

  1. vikiluo
    vikiluo
    • member
    • 0 kudos
    Does this mod clash with other mods that modify troop classes, I installed multiple troop mods and tried to modify them myself to create a version that uses ATC to add new troop classes, I was wondering how your mod can be modified after making ATC config so it doesn't change to replace vanilla soldiers
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      I use XSLT (Extensible Stylesheet Language Transformations) to change individual xml tags or values when the files are loaded, so it should have minimal effect on other mods. If you load it last, it will replace the values of the base game and the mods by the values of this mod. I do change whole equipment loadouts of sturgian troops though, so changes of other mods to equipment of sturgia would be overwritten. Just look in the file spnccharacters.xslt to see how it works.

      For example, the code below changes all equipements of the sturgian soldier, everything else is unaffected by this code. It searches for an xml tag that matches the pattern given in the match value of the template tag and changes it to the content inside of it. The advantage to replacing the whole xml file is, that it still works if the original game or a mod changes other values in the same file, as long as the tag it searches for exists. Even if the tag does not exist it still will not break the game or a savegame, because it will just not find the tag and do nothing. 
          <xsl:template match="NPCCharacter[@id='sturgian_soldier']/Equipments">        <Equipments>            <EquipmentRoster>                <equipment slot="Item0" id="Item.sturgia_axe_3_t3" />                <equipment slot="Item1" id="Item.northern_round_shield" />                <equipment slot="Item2" id="Item.northern_spear_2_t3" />                <equipment slot="Head" id="Item.nasal_helmet_with_mail" />                <equipment slot="Cape" id="Item.scarf" />                <equipment slot="Body" id="Item.leather_and_iron_plate_armor" />                <equipment slot="Gloves" id="Item.highland_gloves" />                <equipment slot="Leg" id="Item.wrapped_leather_boots" />            </EquipmentRoster>            <EquipmentRoster>                <equipment slot="Item0" id="Item.bastard_sword_t2" />                <equipment slot="Item1" id="Item.northern_round_shield" />                <equipment slot="Item2" id="Item.northern_spear_2_t3" />                <equipment slot="Head" id="Item.nasal_helmet_with_leather" />                <equipment slot="Cape" id="Item.stitched_leather_shoulders" />                <equipment slot="Body" id="Item.northern_leather_tabard" />                <equipment slot="Gloves" id="Item.rough_tied_bracers" />                <equipment slot="Leg" id="Item.wrapped_leather_boots" />            </EquipmentRoster>            <EquipmentSet id="sturgia_troop_civilian_template_t2" civilian="true" />        </Equipments>    </xsl:template>
    2. vikiluo
      vikiluo
      • member
      • 0 kudos
      thanks?I love your work?
  2. NazgulDread
    NazgulDread
    • member
    • 0 kudos
    so does sturgia have pike infantry now?
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      What do you mean by Pike Infantry? 

      The spearman and heavy spearman have braceable spears now. If that is what you mean, then yes.
  3. DovahJonah
    DovahJonah
    • supporter
    • 0 kudos
    I wanted to ask how you've changed the spearmen, do they have braceable spears? How long are their pikes?
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      That should be all the code for the spearman. I increased its Polearm skill, changed the helmets, added decent shoulder armor and better arm and leg armor. I also changed the one handed weapons, as I had the impression from testing that the northern backsword is really aweful because of its short range. The spearman was the first troop type I changed and was the focus, as I realised that it died more often than the soldier or heavy spearman/axeman. You would have to check yourself if the spear is braceable. At the time I made those changes I either did not know about the bracing option or it was not even implemented.
      <xsl:template match="NPCCharacter[@id='sturgian_spearman']/skills/skill[@id='Polearm']/@value">
        <xsl:attribute name="value">120</xsl:attribute>
      </xsl:template>
      <xsl:template match="NPCCharacter[@id='sturgian_spearman']/Equipments">
        <Equipments>
          <EquipmentRoster>
            <equipment slot="Item0" id="Item.sturgia_sword_3_t3" />
            <equipment slot="Item1" id="Item.viking_round_shield" />
            <equipment slot="Item2" id="Item.northern_spear_2_t3" />
            <equipment slot="Head" id="Item.goggled_helmet_over_mail" />
            <equipment slot="Cape" id="Item.mail_shoulders" />
            <equipment slot="Body" id="Item.sturgian_chainmale_shortsleeve" />
            <equipment slot="Gloves" id="Item.northern_plated_gloves" />
            <equipment slot="Leg" id="Item.northern_plated_boots" />
          </EquipmentRoster>
          <EquipmentRoster>
            <equipment slot="Item0" id="Item.sturgia_sword_3_t3" />
            <equipment slot="Item1" id="Item.viking_round_shield" />
            <equipment slot="Item2" id="Item.northern_spear_2_t3" />
            <equipment slot="Head" id="Item.goggled_helmet_over_leather" />
            <equipment slot="Cape" id="Item.a_brass_lamellar_shoulder_white_b" />
            <equipment slot="Body" id="Item.sturgian_chainmale_shortsleeve" />
            <equipment slot="Gloves" id="Item.northern_plated_gloves" />
            <equipment slot="Leg" id="Item.northern_plated_boots" />
          </EquipmentRoster>
          <EquipmentSet id="sturgia_troop_civilian_template_t3" civilian="true" />
        </Equipments>
      </xsl:template>
    2. DovahJonah
      DovahJonah
      • supporter
      • 0 kudos
      It appears that the spear you've assigned them is the Broad Leaf-Shaped Spear, which is a really bizarre spear. It's very short and is able to be swung, much like the Menavlion. I think this should be changed, as Sturgia has no pikemen which is a significant issue when they're supposed to be the infantry focused faction.

      Substituting a decent pike like the Thamaskene pike (thamaskene_pike_t4), or the Fine Steel Hewing Spear (northern_spear_4_t5e) should make them function much better. Luckily, the implementation for pike bracing AI is automatic as long as the troop has a spear that is braceable, so all you'd have to do is swap the weapon. 

      Technically the Sturgian Warrazor (sturgia_polearm_1_t5) can also be braced, but it might be a bit too overpowered.

      I'd love to start my Sturgian playthough soon and was interested in your changes, I hope you might be able to make some adjustments soon.
    3. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      I agree with you in the point that the spearman/heavy spearman should have a decent bracable spear. What spear actually is bracable is confusing to me. I can not find any pattern that would explain it.

      However, I feel like some constraints have to be in place.
      - The spear should also be onehanded to use with a shield as well.
      - It has to be either marked as sturgian culture or neutral (and fit the northern theme)
      - It should be somewhat balanced

      What I plan to do now is the following:
      - Sturgian Soldier keeps the Broad Leaf Shaped Spear
      - Sturgian Spearman gets the Triangular Headed Spear (neutral)
      - Sturgian Heavy Spearman gets the Fine Steel Hewing Spear (sturgian)
      - Varyag veteran loses its spear (has already a throwing weapon)
      - Horse Raider will get a sturgian lance (so he has a couchable spear)

      BTW, I did not give the spearman that spear, he also has the Broad Leaf Shaped Spear in the original game, I just did not change it
    4. DovahJonah
      DovahJonah
      • supporter
      • 0 kudos
      Spear bracing is primarily limited to spears that have a length greater than 230, or have the bracing keyword attached to it. Your proposed changes are great, I suppose giving the Soldiers a pike might be a bit overpowered. 

      My bad about saying you assigned them the spear, I probably should have expected Taleworlds to make that mistake. I'll be the first to try out your changes once it's out!
    5. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      New version with proposed changes is out. Let me know if it works for you.

      Please, drop an endorsement if you like the mod.
  4. JJBorrego01
    JJBorrego01
    • member
    • 0 kudos
    I tried to use your mod and i cant seem to find out why it doesnt work so i disabled every other mod i had and started a new game with just your mod on and nothing. I am using version 1.7
    Any idea on what i could try?
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      Are you sure you have version 1.3.0. I just tested it again starting a new campaign or sandbox, both worked.

      What does happen exactly. Does the game crash?

      Make sure the mod is loaded after all the default modules.
      Also verify the game files in steam to make sure no other files are corupted or changed.
    2. JJBorrego01
      JJBorrego01
      • member
      • 0 kudos
      yes i am using the new one 1.3.0 and the game does not crash it comes out it plays but when i go to recruit from sturgia there is no troops that look like the ones you have nor is there any other troop tree that shows your the troops and yes i did load it after all the default. I verified the files when i wasnt able to get it to work it changed nothing the troop tree doesnt come out. I also looked at the encyclopedia and the troops dont come out there either. Am i missing something? 
    3. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      The mod only changes the troops from Sturgia. In the latest version I changed some small things, e.g. replaced the shoulder armor from the Sturgian Soldier by a scarf again, or removed the shoulder armor of the Line Breakers. The pictures are not up to date for every version. The Sturgian Spearman, however, should look exactly like the image I posted and the Vanilla one definitely looks different. Please compare that one first, maybe even post a screenshot of it. It could be that the mod works but you don't notice it.
    4. JJBorrego01
      JJBorrego01
      • member
      • 0 kudos
      i deleted all mods and reinstalled along with yours and now they come out idk what happened or why but thanks its working now! Awesome mod btw!
    5. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      No problem. Glad that it works. Please leave an endorsement if you like it.
  5. issac16aj
    issac16aj
    • member
    • 0 kudos
    your troops look awesome bro. 
     I edited my native troops file because I don't wanna break my save :o
    I keep the troops names and just changed their armor's to your works.
    Now they start beating other especially in siege.
    Thx for your work!
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      thx
    2. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      BTW, the newest version of the mod should work with old save games and can be switched on and off. Check it out.
  6. kuba402618
    kuba402618
    • member
    • 0 kudos
    Hey,
    How can I modify the skills of the troops? In the current file when I open the file when I can modify troops equipment I cannot find skills lines, what should I do in order to change it. 
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      In the newest version of the mod I use xslt to modify the original xml files instead of exchanging items, see the following lines in the spnpccharacters.xslt. This method enables switching the mod on and off in existing save games and makes it more compatible with other mods.
      <xsl:template match="NPCCharacter[@id='sturgian_spearman']/skills/skill[@id='Polearm']/@value">        
          <xsl:attribute name="value">120</xsl:attribute>    
      </xsl:template>
      You have to know a bit of the xslt language, but for just changing some skills you can pretty much copy the lines above and change the values.

      There is a short tutorial from Talewords about this method at xslt_usage_tutorial.
  7. swindlerst
    swindlerst
    • member
    • 0 kudos
    Is it competible with 1.6.0 beta? 
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      Yes, see the changelog.
  8. NazgulDread
    NazgulDread
    • member
    • 0 kudos
    does this mod remove the warlord helmet with cheek guards? Usually theres a female sturgian lords who bear the helmet on vanilla? im hoping to marry whomever has this helmet although im not sure ill find it because it seems like alll the lords have the same helmet?.. is this beacause of the mod?
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      No, I don't think so. This mod does not touch lords equipment, only that of troops. The only equipment that is changed are the armor and weight values of a particular shoulder armor.
    2. NazgulDread
      NazgulDread
      • member
      • 0 kudos
      ok cool thank you.. also is the 1.1.0. version of this mod for 1.5.9.?
    3. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      No, its for 1.6.0, see the change log. It probably won't work because it uses some new equipment of 1.6.0
  9. NazgulDread
    NazgulDread
    • member
    • 0 kudos
    I notice the mod isnt working how do i get it to work? the troops are still vanilla i started a fresh playthrough a few times trying to see if i had it in the wrong load order but its the same evrytime troops upgrade vanilla as well

    edit: ive found another mod "realistic female troops was the culprit for this mod, problem solved
  10. Mattar19K
    Mattar19K
    • supporter
    • 0 kudos
    Thanks for doing this.  I'm going to start a new Sturgian campaign, and it always irked me to have to recruit outside my culture to get a decent army.  This may be what I need to pull it together in the North.
    1. fritzgroes
      fritzgroes
      • member
      • 3 kudos
      This is also why I did it. Focus was on infantry and noble line. Archers and Skirmishers should be very similar. Drop an Endorsement if you like it.