coding

  1. Help finding party information an respective GUI

    Hello everyone, I am starting to learn how to mod Bannerlord in order to try and build a mod focused on army placement before battles. I've been reading the game's source code but I would like to have some help finding what I need: - When you encounter an hostile party a GUI appears asking if...
  2. HammY2776

    Creating new conversations

    I have an event that occurs, after it occurs I want to open a Map Conversation with a character (mostly heroes).But I want him/her to say something specifc, give an option or two on how to respond and then the conversation will be over. The conversation will of course be related to the event. I...
  3. SP - General A way to make troops more organic and decrease work time

    Hello, i hope this fits here, because well, its something that affects a huge part of the game (characters as in units and so on) and i hope that a developer gets to read this so this can be considered (if it hasnt already, maybe it came up and just doesnt work) the way troops are given gear...
  4. CutContent

    Player's face code to troop, invalid player ID

    [anyone|plyr,"member_talk", [ (troop_get_type,":gender","$g_talk_troop"), (troop_get_type,":p_gender","trp_player"), (get_player_agent_no, ":plyr"), (eq, ":gender", 1),(eq, ":p_gender", 0),(str_store_troop_face_keys, s30, "$g_talk_troop", 1),(str_store_player_face_keys...
  5. Makarov45

    Help with Protection level of Code

    i was fixing a dead mod (Workshop Stash) and had a problem with this code: protected override void DefineGenericClassDefinitions() { this.ConstructGenericClassDefinition(typeof(MBObjectManager.ObjectTypeRecord<TownWorkshopStash>)); } the...
  6. Garedyr

    Formula for the final weapon speed

    Hello guys, I've been doing a lot of tests lately and the results were satisfying up to some point where the numbers stopped being accurate so my guess & proof method failed at sth. What's the actual formula for the weapon speed that takes the speed rating, animation sequence duration and...
  7. Companion to create its own clan or be a noble ?

    So after when I have created my own Kingdom, I would like to have an option to make my Companion to either create its own clan and or become a noble. Simply because I would like that they take a lead for their own clan and performing actions that nobles would normally do. Its annoying me that...
  8. [via XML] How to ragdoll Enemys with a throwing Axe?

    I was once(1.3.0) able to let Enemys ragdoll over 10m, when they got hit by my custom created Twohanded Axe. (CraftedItem Mod) Now its not possible anymore, doesnt matter what i tried. I lost my files somehow due to wrong deleting of files by myself and cant recreate this effect for my new...
  9. How to make an item into market?

    For example,I create a food-type item named Apple,how can I make it be saled in market?Are all the food or other raw materials produced in village?I know village-type in settlement.xml defines what items are produced in a villiage.If I add a new village-type in spprojects.xml,will it work?And...
  10. Mod idea plus how to update my mod version to game version

    Hello, new modder here. I have an idea i want to get working, an outline of it is that when you buy troops from persons in a town or city i feel like you should be getting some kind of reputation boost or increase, if you buy regularly from someone your reputation will improve. Does anyone have...
  11. c0d3d

    Creating a new kingdom and new culture?

    Hello, I was wondering if this was possible in the current state of banner lord and if anyone knows how or where I could find this information. I didn't seem to find any reference to this in the previous questions however, please forgive me if I just missed it.This is important as I am working...
  12. jcsm130988

    Walking animation messing the weapon animation

    Hello. As part of the mod I'm working on I've added a few animations, including several weapon animations, problem is when I walk, the walking animation is blended into the weapon animation and, well, as the title says, the walking animation messes the weapon animations, so my question is: would...
  13. man_versus_chat

    I made a script to play Bannerlord through twitch chat!

    It was a pretty fun project done with python, AHK, and a few modules. I think melee might be extremely difficult, but ranged may be okay! This is a video going through the tutorial and showing it off! : I think it would need more viewers to spam before it could really do much. But it was a fun...
  14. Is there an example of a "finished" mod or of a sandbox for Bannerlord?

    Hi there, I'm sorry if this is a stupid question. I'm new to C# and to modding for TaleWorlds games. I have a lot of experience in other languages. I was able to use the tutorial and create my first Hello World mod, but I am not sure how to spawn a map or load a game to test different methods...
  15. jcsm130988

    Question about family relations and courting

    Hello, as part of my mod I'm individually setting each family relationship and I'm leaving some (several in fact) lords and ladies without family relations (no parents, no wife/husband, no sons/daughters), but I've noted that the script for courting has some entries referring the lady's...
  16. jcsm130988

    Three questions about the script

    Hello, I'm trying to make a (single player) mod and have three questions regarding the garrison, spawn frequency and the wives and family relations. First, garrison: where is the max garrison determined? Say I want a town to have a max 200 troops garrison and a castle to have a max 10 troop...
  17. Antonis

    How to force war between factions?

    Hey guys, a question. I've been trying to make war happen at a specific condition between factions. Now, I am not interested on how to change faction relation, just to have the at war. I'm pretty sure I've used something like this before, I've talked about it recently with someone. But I can't...
Back
Top Bottom