coding

  1. Cyrus The Great

    right to left text in warband

    I am making a mod changes game language to Persian (is like Arabic RTL) and I want to make menus RTL
  2. Alternative perk window

    Hi, I like to try to rearange the perk choices per role instead of per skill. (eg. governor, party leader, captain,..) But I'm new to making mods for BL and I'm aware it's a lot of work. So before I start on this project I want to know if it's even possible to do with the current acces to the...
  3. Yagababa

    OSP Code Combat Leviathan Axe (from God of War) [WSE]

    Hey everyone, I'm very proud to announce my new OSP--my attempt at recreating the Leviathan Axe from God of War! The idea is to have a two-handed battle axe that can be used as a throwing weapon with the following features: 1. Melee cuts and a ranged splash AOE will cause a 'frost' status...
  4. AlbertFaubrein

    Presentation's slider not working

    Hello, I have a problem with my presentation, I create a range of image_buttons but only 3 of them are working and like the title say my presentation's slide is not working. Thanks for your help.
  5. The Solution to Fix the Spear/Polearm Issues

    The spear/polearm issue in bannerlord can be fixed. So many of us are aware about the annoyance on the use of polearm against other infantry units. When performing an attack with a polearm in formation, the polearm with either get interrupted by friendly from behind or get interrupted by the...
  6. Where is the formula for calculating the survivor bonus in medicine?

    For the life of me I can't find it, would love some insight. Edited for clarity
  7. Medivhtratos

    1.5.10 Athletics to slow for you? Here a solution

    1. Install DNSpy or Visual Studio 2. Open the TalesWorldCampaign.dll 3. Search in this .dll after the "DefaultSkillEffects" class 4. Change in this class the numbers, regarding Athletic, by right clicking the Method "InitializeALL" and than press "C# to work with method" 5. Save your changed...
  8. Help initializing a battle of my own

    Hello everyone, I need to initialize a field battle within my campaign and, while searching for how native starts its battles I found how it started its custom battle. It uses the function "OpenCustomBattleMission" which can be found in the class "BannerlordMissions". This is the function which...
  9. I am having some difficulty creating a dropdown menu

    Hey everyone, I am working on a GUI for my mod and I need to create a dropdown menu. I am having some difficulties doing it though and the mod I am using as an example is not helping. I am looking for other mod examples which have dropdown menus I can take inspiration from. Thank you in advance
  10. Makarov45

    Help with code

    i used to find StatExplainer in TaleWorlds.CampaignSystem.SandBox.GameComponents.Party in that code public static void Postfix(MobileParty party, StatExplainer explanation, ref int __result) in last update StatExplainer isnt in TaleWorlds.CampaignSystem.SandBox.GameComponents.Party and i cant...
  11. Is there a way to create new Behaviors from BehaviorComponent?

    Hello everyone, I am currently working on a mod that aims to overhaul the battle AI currently implemented on Bannerlord. I am using Harmony and I already know what I need to do in order to change the AI during a battle. I have created my own tactics which use the behaviors already implemented by...
  12. KratosMKII

    Making player teleport to the prison entrance?

    How do i make the player character teleport next to the prison of a town/castle? I tried making a copy of "town_center" menu in the module_game_menus.py and set the entry point to the player to 24 (the prison guard entry) but the player enters the scene off map and is stuck. Other attempts at...
  13. KratosMKII

    Constants

    It is very annoying that there is a need to manually assign values to constants like slot_item_is_checked = 0. Is there a way that i can edit the process files to make them auto assign the values based on order of placement in the module_constants.py file?
  14. KnowsCount

    WSE on Unix?

    I am a modder using a macOS, and everything was good so far but one thing: WSE has a .exe file. How can I also use WSE on Unix systems?
  15. DetektivAro

    Coding advice? Anyone?

    So I was thinking of making a magic weapon that will act like a ranged weapon. It would shoot like a bow or crossbow, but instead of a arrow coming out, a meteor would fall out of the sky on the targeted place with it not falling right on the crosshair but in its general vicinity ( like some...
  16. is_mafia, is_outlaw?

    There are a few values you can add to your custom factions such as is_outlaw, is_mafia and is_sect. How do these affect the faction's behaviour, though? I've marked one of my modded factions as outlaws but they don't seem to act any different.
  17. The_Schwarz

    Does Anyone Run into the method for Agent Despawn?

    Hey all I am looking for the opposite action of this: public Agent SpawnAgent( AgentBuildData agentBuildData, bool spawnFromAgentVisuals = false, int formationTroopCount = 0) {...} Want to control when an Agent I spawn into a mission fades away and is disposed (Despawns)...
  18. InputToken in ConversationSentence

    Hello, I am trying to mod Bannerlord and I am going to be working close with dialog and sentences, as I've seen in the decompiled code, there's an important class named ConversationSentence and as of writing this I think I have a good understanding on how it works. However, I do not understand...
  19. PeasantOP

    New Modder> Is there somthing wrong with my code on troop editing. Followed the examples on the web

    Took 3 days to do this please, why does it crash on campaign map start up and on custom battles? I followed the examples and samples on the web Revamp Folder> ModuleData Folder and SubModule.xml> STroops.xml> SubModule.xml File: Code: <Module> <Name value="Revamp"/> <Id...
  20. PeasantOP

    How do you delete this forum thread, accidentally clicked solved

    How do you delete this forum thread, accidentally clicked solved
Back
Top Bottom