coding

  1. Multiplayer server code

    So im working on one big community multiplayer server and we have multiple classes of units with each unit having multiple perks, and depending on a perk you choose the color of your troop changes. The question is i want to make that depending on a perk or a class you choose in spawn menu, the...
  2. Barabashenko

    Phased reload for muskets in Warband

    Hi. Does anyone now (or, maybe, can suggest) how to implement phased reload for muskets with a custom (not NW) animation? And does the use_phased_reload option works only with use_crossbow_as_firearm like in WFaS and NW? Because I have both crossbows and muskets in my mod. I would be very...
  3. Age attached Skin (Model) setting

    Hi guys, I noticed that the adult skin was used when npc turned into 21 yo, but that's too old for a 21 yo man to look like 40s. I tried many age mods but it turns out that come of hero age is not the same as the adult skin/model applied age. Does anyone know how to configure the age using adult...
  4. Animation's and meaning type of weapon's in game

    hello i need help with two things, the first is the item animations and the second is the weapon types I know that animations for bows and crossbows described as "Vertex Anim." begin and end with the pulling the chord But I don't know how it would work with other weapons for example swords, or...
  5. MajorRoyMcCalluster

    Implementation of a custom-made Battering Ram - assistance needed

    Hey legends! I'm desperately seeking further information or resources regarding the implementation of a custom Battering Ram asset that I have created. I have rigged and animated the model inside of Blender, and have exported the mesh, armature and animation according to the Taleworlds...
  6. Changing an agent's skeleton mid-mission

    Can an agent skeleton be changed after the agent has been built? I tried using AgentVisuals.SetSkeleton() but the character becomes all wonky with all the bones pointing to the right. And many functions cause the game to crash such as SetActionSet. This occurs even when using the native...
  7. TeenBrunette

    How change comment strings and how does works tags?

    Hello Has pop-out a problem, already present in games. When you talk for the first time with a lord, he presents himself yo you. For example Garios and Rhaegea says they are the rightful emperor, but not Lucon. Becase I am working on a mod, I made new kingdoms and cultures, the problem is the...
  8. How to Make Custom Bannerlord Scripts Run on a Multiplayer Server

    Here is a video I made that talks about getting custom scripts in the scene editor to work on a multiplayer server. Ive attached the code examples from the video. I made a similar post earlier for getting scripts to run just in single player...
  9. How to deal damage to an agent

    Hi, I have written code to deal damage to an agent when they get too close to an object. The code works however when the player dies the game crashes. There are alot of options I could set and im not sure what I need to in order to get a proper death and avoid a crash, all im doing now is...
  10. [Solved] Add MissionBehavior in custom battle

    This is a question related to bannerlord modding api Current implementation of my mod uses campaignGameStarter.AddBehavior to add a campaign behavior and that behavior later on adds mission behavior via Mission.Current.AddMissionBehavior This is working for campaign, but I would like the same...
  11. XDaron

    Creating a method that outputs the Name of a faction that is at war with me

    I am attempting to create a mod that adds more flavor dialog to the game, I wanted to create something similar to warband ''how goes the war dialog", where the lord would first say ''yes we are at war with (insert faction)", the only problem being I'm stupid and don't understand how to create a...
  12. How to Set Hero Death

    Working on a mod that involves deterministic hero death. However, the hero NPCs are always set to wound after I used "Agent.Die()" on that hero at OnRegisterBlow(). Does anyone know where my code is overridden?
  13. The_Schwarz

    Suggestion General Customized assets accessible in Custom Battle Mode

    Hello, I was wondering if it is possible or could be possible to have custom assets recognizable while in CustomBattle Mode. If it already is possible can someone please shine some light on the solution for me? I currently have not seen or found a way to have customized assets that I have...
  14. In Progress Imperial Golden Great Sword Guard

    The Imperial Golden Great Sword Guard, a smithing part, only is useable on 1handed swords. This is strange, as it is a large, quatrefoil guard in the exact style of many scottish claymores. And it is called a great sword guard.... It should be craftable on two handed weapons. I have modified my...
  15. In Progress General (C#) MBDebug renders & editor console text not working

    After the main branch was updated from 1.7.1 to 1.7.2, my implementations of TaleWorlds.Engine.MBDebug no longer work, specifically calls to RenderDebug objects (spheres, lines, 3d text, etc). My code compiles okay, and I can hit breakpoints but no shapes or 3D text actually render. This bug...
  16. Ishapar

    Stuck on a Menu Screen (Mod Help)

    I have been trying to mod Warband using this mod as a base: https://www.nexusmods.com/mbwarband/mods/6044. I enjoy this mod as it adds various features to native without rehauling the game (especially making there be 12 factions with 2 extinct ones to use and the ability to execute lords). On...
  17. Kaiser_SG

    Custom order menu

    Hello there! Someone can help me to do a custom order menu (b menu) for a Napoleonic Wars server. Thx.
  18. Finding base game's classes/functions implementations

    Hello, everyone, I'm trying to make a mod using the new Deployment function, more specifically the camera part. It it very easy to use the Mission class to activate the flying camera, but it is confined to the Deployment boundaries that seem to be governed by the DeploymentHandler. The Mission...
  19. Hardcoded values are a nightmare - Coding pattern suggestion for devs

    Hello. We don't have a suggestion section for modding related issues so I'm posting this here. I'm working on a mod currently and I'm amazed by the amount of hardcoded values I've found. This makes it very hard to mod since we don't have much flexibility and we have to patch the whole function...
  20. 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
Back
Top Bottom