xml

  1. Resolved Another Possible bug in partytemplate and spculture xmls

    Summary: Last time, I found the villager's party template has some problem and report it as a bug, (https://forums.taleworlds.com/index...g-in-partytemplate-and-spculture-xmls.449384/), you fix them, now they works fine, but this time I encountered the same problem when I try to modify the party...
  2. mrj760

    BL Coding Where is the code which spawns troops and chooses gear from their XML equipment rosters?

    I had this [link] problem a while ago... Since then I have moved my mod to XSL entirely but the issue is still not solved and I'm tired of ignoring it. Rosters on the battlefield are still mixed, which adds unwanted and unbalanced RNG to the fights since soldiers are often either too weak or...
  3. TeenBrunette

    BL Coding Possible to have differents troops recruitable in differents kingdoms of the same culture?

    Hello, the question of today is: By xml and xslt is may possible to recruits different troops for 2 different kingdoms of the same culture. I explain myself better: suppose we have the western empire and the southern empire, they have they same culture, but I want to recruits a different troop...
  4. yannis390

    BL Coding Crash when any form of clans xml is loaded from my mod

    So whenever I run the game with my mod it will crash about 30 seconds of letting in game time pass. Either walking around the overworld map or waiting in a town. My mod only touches xmls, and specifically, whenever there is a clans xml loading from my mod this crash will happen. It doesn't...
  5. Custom Culture and deleting existing cultures

    Hello, I have two problems first one when i create a custom culture via xml file the game crashes everytime i start a new campaign why does this happen? And second is there a way to not only appending stuff via xml modding but deleting existing stuff like existing cultures via xml or code...
  6. Kingclonetrooper

    Need More Info Perhaps there is an error in creating a new kingdom with modding.

    Perhaps there is an error in creating a new kingdom with modding. In order to create a new kingdom, I worked on xml manually, HerosError seems to appear when add lords. Crash may or may not occur until "one" lord. However, if I create "two" lords, I get a HeroError error unconditionally...
  7. Set faction and personal relation (<Factions> and <NPCCharacters xml-mod>

    Hi, I'm doing a lightweight mod which basically set my characters background with new (and living :)) parents, grandparents etc. The family tree split under grandparents and I've made a separate faction for this lineage. There's also some inbreeding going on, but so far I've got it to work but...
  8. Resolved [Modding][XSLT]Using XSLT to remove NPCCharacter in lords.xml, then including the same NPCCharacter in an xml in a module causes a crash

    As stated in the title, we are supposed to use XSLT to overwrite lords or remove them and include our own, but using XSLT to remove lords from the native files, then including the same lords in an XML within the module causes a crash when starting a new game. Is there any reason the lord ID's...
  9. [1.7.1] Unable to start sandbox with Custom troops (Mod preview too!)

    Hello! I'm making a mod and I'm at the end of my rope here. I have my troops implemented using parties, but the moment I add them to my SPCultures file the game freezes on sandbox startup. No crash or error, just never starts. Totally at a loss here on why it isn't starting. Is there something...
  10. mrj760

    BL Other How to replace (rather than add to) Equipment Rosters with XML ?

    As you may see below, I made the Equipment Roster for the Mameluke Axeman include some throwing daggers ... but in-game there are two other (default) Rosters that still remain and take up space in the Roster pool. How can I get my custom Roster to be the only one available to the troop? My...
  11. A question about spculture.xml

    Hello, Recently I am researching the game xmls, in "spculture" I notice someting interesting, A line called "town_edge_number", for every culture except khuzait, the Value for that line is "16" and for Khuzait is "4". looks strange, could anyone tell me the function of that line? which part of...
  12. Suggestion General Please make managed_core_parameters moddable

    Many many mods modify this to improve the performance of spears, but the only way to do this is to replace the vanilla file. Since replacing vanilla files is extremely poor practice, could TW please consider making this XML file moddable? I understand that scripts could address this, but it...
  13. Kazet

    SP Other Troop Designer (character design utility)

    Hello, Troop Designer is an utility aiming to help modders to design units for their own mods. How it works is that you can design your unit in a fake inventory screen, then output its XML structure in a file. => Troop Designer mod on Nexus Mods <=
  14. In Progress General Changing weapon pieces of a crafted item will cause a crash when viewing the inventory

    I noticed that in 1.6.1+ (possibly before, unclear), if you change the pieces of a crafted weapon, then load the save, it will cause a crash when viewing the inventory. This doesn't cause a crash when viewing the changed weapon piece in game - If it was already equipped I can bypass the...
  15. Suggestion General Please make strings moddable /loadable via XML or project.mbproj

    As it currently is, there is no way to add in strings to a module without C#. It seems like it would only require some lines being added to the project.mbproj, though forgive me as it could be far more complex then this! The only current method to add in strings is to manually replace the...
  16. BL Coding Need help with modding party template!

    Hi! Im making a small mod that make militia spawn along with peasant to help protect against bandit. After some searching, i found out how to do it by editing partyTemplates.xml file. But when i put it like below: <MBPartyTemplate id="villager_empire_template" > <stacks>...
  17. spnpccharacters.xml missing line report to devs

    So I was messing around with the xml files and noticed that even though the devs included padded leather shoulders in vlandian light cavalry upgrade to vanguard tree, they forgot to add the item to vlandian vanguard's npc character id slot which results in these units not having these items in...
  18. BL Coding XML Party Editing sprites not showing

    Hello! I'm currently trying to recreate the Party Screen by creating a new view model and xml file. However I'm having problems getting some widgets to show on the screen for example this: <Widget WidthSizePolicy="Fixed" HeightSizePolicy="Fixed"...
  19. Medivhtratos

    Resolved Minor Bug(s) (xml adjustments)

    Hey everyone, Maybe this thread can be continued through the EA, related to minor adjustments in xml files. Bug: Weight of Armor Compare the Weight of high quality Armors: High Weight: 1. Imperial Lamellar(22.1) 2. Coat of Plates over Mail(25.1) 3.Northern Lamellar over Hauberk(28.0 )...
  20. Milan Aurelius

    XML Stuff ?

    Hello, I don't know so much about this XML and Modding Stuff. I need to know if I can increase the Health of my Hero with the XML. Like he need to withstand more hits without an armor on him. If someone knows please help me with this.
Top Bottom