TaleWorlds Modding Q&A

Callum

Community Manager
Best answers
0
This thread contains a list of answers to questions put forward to the development team by the modding community.

Some of the information contained may be old or outdated.

The list has a section for additional questions that have been put forward but are yet to be answered.
 

Callum

Community Manager
Best answers
0
General

A1. Can you provide us with screenshots and/or a list and description of the various tools that you use and that may be made available to modders?
  • Scene editor
  • Mesh editor
  • Material editor
  • Model/Animation viewer
  • Skeleton editor
  • Replay editor
  • Particle editor
  • Atmosphere Editor
  • Cloth editor
  • Path editor
  • Resource Browser
  • Runtime performance profile tools
A2. Will modding tools be made available prior to release and/or as part of an early access?
Not decided.

A3. Will we have a TW developer working with the community to support modding (learning, tools, tutorials, feedback, etc.)?
We will share a documentation site and we are planning to make some tutorial videos. Also, we will be taking feedback and engaging with users on our forums.

A4. With Warband the list of hardcoded features lessened as time progressed. Will this be the same for Bannerlord as you decide over time what should and shouldn't be hardcoded?
Most probably.

A5. Will there be an in-game/engine tool/camera to create FMV sequences?
We will provide a replay editor.

A6. Will we be able to launch/select several mods (like elder scroll games) or it will be one module at a time (like Warband)?
The game will support multiple mods at the same time.

A7. How will (texture) folder structure be handled? Is it still a single folder like in Warband with all textures placed together or will it have subfolders for things like ground textures, armours and such? And if so will the subfolders name and structures be moddable?
You can use any number of folders for resources but it is a flat system, so we don’t support subfolders within folders.

A8. Would it be possible to make the player, as well as the bots, swim when they are in enough deep water, given that they are not heavily armoured and thus weighed down?
Unfortunately, we don’t have a swimming system in the game.

A9. Since the game is played through Steam, will it be possible to get the users' steam IDs in multiplayer?
Technically possible.

A10. Does the game still use the BRF format for resource storage?
No, we use a different resource file now. There will be no need for the modders to create viewer for it. In our editor, modders will be able to view and change them easily.

A11. Will modding be handled through Steam workshop?
Yes, Steam workshop will be integrated as an option for downloading mods.

A12. Will we be able to mod the game in a way we can completely remove death and disable aging, heir system and random characters?
To some extent, you probably will be able to remove death, manipulate heir system and random characters but disabling aging could be tricky. It is too soon to say if that would be modifiable or not. However this is subject to change.

A13. Regarding the record of movie clips, will it be possible to arrange events/triggers directly on the timeline? And is it possible to switch between cameras?
Yes, you can have different clips with different timelines. Also, you can have camera curves which are smooth or like a step like blend throughout the timeline.

A14. Are we able to make a map with pre-made companions only (I understand the majority of the companions are generated). What about the city notables (business owners, quest givers...)?
Companions, business owners, lords are added through their own campaign behaviours. Modders will be able to disable existing campaign behaviours and/or add their own if.

Coding

B1. What language will be used for modding?
We are using C# as the scripting language. Data files are generally formatted in XML.

B2. Which IDE will have support (like Visual Studio Express) from TW?
You can use any version of Visual Studio 2015 (e.g. Community edition)

B3. How is the code split between hard-coded (engine) and modsys (open to the modding community)? What level of access do we have to the game UI code, AI, etc.? Could you provide us with an example of what will likely remain hard-coded?
Unlike Warband, the vanilla game scripts will not be directly modifiable by modders. However, it will be possible for modders to add new scripts as plugins and also have modifications for XML data files. In Warband, we had the problem that, whenever we released a new version or patch, almost all existing mods would immediately become incompatible with the new version and modders had to go through the lengthy process of reapplying their changes on the new version’s scripts. Moreover, it was impossible for players to run multiple mods in conjunction. The new system will make modders’ lives much easier and also support multiple mods.

By changing XML files, it will be possible to modify or add/delete most types of game objects such as items, characters, factions etc. Of course it will also be possible to add new assets such as meshes or textures.

Modders will be able to add new campaign behaviours, mission behaviours and quests. Campaign behaviours are executed while the player is spending time on the campaign map, whereas mission behaviours are executed when the player is in a scene. For example, if you want to create some extra bandit parties every few days, you can do that with a campaign behaviour.

Modders will also be able to change most of the formulas used in the game. For example, if you want to add a special item that makes you move faster on map, you will add the item through an xml file, and also modify the formula for campaign map speed so that it returns a higher number if a party is in possession of the said item.

Modders who want to change an existing behavior (like party members deserting when morale is low) will have two options: Either they will modify the default formula, or if that’s not adequate for some reason, they will be able to disable the default behavior entirely and add a new one from scratch.

B4. Will we be able to seed a randomized number? This is highly important in order to seed a randomized process and utilize pseudo-data. Is it possible to procedurally generate the terrain/towns/castles/villages/NPCs?
You can use random seeds and any kind of random number generator.

B5. How has the Dialogue system been improved? Is the Dialogue system dynamic?
There is a very powerful string processing system, (you can pretty much embed programs into the string itself.) Dialogs, game menus, and everything text related can make use of that.

B6. How many factions can this system support? Are there easy mechanisms to create/modify factions?
You can add as many factions as you like. Technically, creating factions is just a method call, but of course making them interesting would be the harder part!

B7. Will battlefield AI (Both the troop AI and the strategic AI) be accessible or hardcoded?
Lowest-level troop AI is hard-coded, but you can customize it somewhat by changing aggressiveness, maximum speed etc. You can also give AI target movement points.

Formation AI and overall battle AI is extendable and modders can add new tactics and AI behaviours.

B8. Will troop and party pathfinding AI be accessible or hardcoded?
Pathfinding will be hardcoded. You can turn faces on/off in a navigation mesh though, so there are ways to control path-finding behaviour.

B9. Assuming that the AI takes into account terrain - will we be able to translate this understanding of the battle scene into a graphical representation? In other words, while you decided against a minimap in the main game, do you intend to provide us with a framework and/or operations that will enable us to generate a simplified visual representation of unit locations, terrain details and possibly even AI strategy?
It will be possible to draw graphical primitives on screen. Also, one can render multiple scenes on the screen for other uses. (As long as they are lightweight, they won’t affect the overall performance that much).

B10. Will there be greater control over the core variables and Booleans of the core combat mechanic? For example, will we be able to directly edit the code used for horse charge damage, hit detection, AI movement and so on?
It will be possible to change certain variables, but a lot of constants may remain hard-coded.

B11. Will it be possible to alter where the AI aims with ranged weapons?
You can give them an entity to target.

B12. What is the file format of replays? Can replays be converted to other formats?
We have two different formats for replay. First one is a lightweight one which can only be played forward. In the editor, we have another tool that converts this information to a bigger sized replay format, in which the changing agents are recorded frame by frame. That replay file can be used to play, pause, jump to specific frames, re-wind etc. Also, the camera paths can be constructed and modified in the later replay file.

B13. Can you do PInvoke a DLL?
Yes, modders can pinvoke a dll similar to Unity3D.

B14. Is it possible to attach Bannerlord process and step through managed code?
When you select your mod’s DLL through the Launcher, it will be loaded and specific functions will be run there. You can attach Bannerlord to your debugger and debug the functions in your mod.

B15. How do you code the UI?
It is very similar to WPF. UI Layout is defined from xml files and the data preparation is done from C# code.

B16. Would it be possible to add a "natural" and somewhat realistic animal life in the different environments, such as birds flying around, squirrels climbing the trees, moose etc? By this I mean that animals would be entities moving around, making noise and maybe even reacting to the player as well as interacting.
Flying and climbing animals would require the usage of the regular entities instead of agents with a default AI. But there is no limit in what you can do with the scene entities. You can animate them (also with skeleton if necessary) and move them around the 3D space however you like.
Other animals like moose can use the default agent system. Agent AI can be overriden by giving them a target location to move to.

B17. Are we able to add different music/sound effects to be played when the player is specifically passing through a certain area on the campaign map?
One can add our sound emitter scripts with different collision boxes like sphere, box etc. When the camera enters these zones, those ambient (continuous) sounds will be played.

B18. Assuming C#/.net integration:
Will it be proper .NET integration (as in we can build and inject our own dll into the game in some way) or just the syntax of C# and the compiling will be done by some bannerlord tool instead?

Yes it is. The game runs on .NET 4.7.2 on Windows.

Debugging



Scenes


D1. Is it possible to combine designed elements with procedurally generated elements into the same scene?
Of course. Script components can be used to add, alter or remove stuff from the scene. Materials, other scripts, physics and polygon attributes can be changed at run time.

D2. How does the AI pathfinding work? Will sceners have to create AI meshes for their scenes?
Yes, scene makers will need to create navigation meshes. The scene editor has a tool to create the nav-mesh automatically but results vary and we generally prefer to create them manually.

D3. Is there an inbuilt method to voxelize the scene in order to use cheap ray-tracing for global illumination?
No.

D4. Are seasonal effects generated or will they have to be manually added? Will it be possible to preview them in the editor?
You can definitely preview what the scene will look like in different seasons and different atmosphere settings in the editor. You can set alternative terrain materials and alternative foliage for different seasons. It’s all very customizable.

D5. Will it be possible to make caves/ tunnels in the map/scene editor? Will it be possible to alter terrain during play and/or will modders have the tools to enable/alter such a functionality?
For tunnels and caves you need meshes, the terrain system does not support them. We do not currently support dynamic changes to terrain height-maps during the game.

D6. What is the biggest scene the editor can handle?
Depends on the power of the computer and available RAM. Our typical scenes are not too large because we want scenes to load quickly and not take an excessive amount of hard disk space. We experimented with larger scenes on a few occasions but this is not something that’s a priority.

D7. Do you think the level editor will support multi-user working? I.e. Cooperative scening over a server.
No. The editor does not support that.

D8. Will we be able to simulate the flow of time in a scene without forcing a re-entry? (Morning-Noon-Evening-Night)
The atmosphere system is not designed to update in real-time, so you cannot simulate that without stutters. Maybe you can darken the screen, change the atmosphere and then do a fade in.

D9. How will scene files be organized and managed in Bannerlord? Will terrain codes and scene prop files remain separated?
We divide scene files into two groups. One is the editable data for the scene editor (some binary, some text) and the other one is loading time optimised binary files.

D10. Can we have some indication of how long it takes to create all the scenes for a town for example, including baking in lighting etc. Scening in Warband was tedious, but Bannerlord scening looks infinitely more time-consuming.
With design, visual details, siege mechanics, and sound, it takes 3 weeks to complete a town scene, which is our most complex scene that we use for various civilian and combat missions. This includes 3 levels of towns for both civilian and siege usage.
There is also a couple days of gameplay tests and fixes. It covers anything from siege missions to walking around to small gang fights in back alleys

Items/Textures/Animations/Shaders/Sounds/Etc

E1. How will movable scene props/objects be handled? Will they meet the same limitations as they currently have in Warband (e.g. polycount, collision detection, etc.)?
The physics objects for dynamic rigid bodies will have some polygon count restrictions.

E2. Is Armour created the same way as you have shown the weapons to be created?
The crafting system only works for melee weapons. Armour, shields, bows and crossbows cannot be crafted.

E3. Does this mean that creation of arms and armour now are internal to the game superstructure and if so, does this support independent artists from adding their own weapons and armour to the game?
Crafted and non-crafted items are added in different ways, but modders can add both. For crafting, modders can easily add new crafting parts. They can also add new weapons by editing an xml file only, specifying which parts the new item is made of.

E4. Will we be able to add custom skeletons and new bones? If yes, would it be able to support static object bones for real time animations (e.g. destruction effects)?
Yes, you can add custom skeletons to meshes.

E5. Any information on model dimensions etc.? Poly count?
Poly count is very varied but we use LOD meshes heavily.

E6. Any information on average texture sizes? Will 4k be supported?
Average texture size is 2k. You can add 4K textures to the game.

E7. Will every piece of equipment have physics options (tassels, cloth, etc.), including weapons?
Not every piece probably, but modders can add it to all types of equipment. Weapons can have them as cosmetic only, so no flails with cloth system.

E8. Will we have access to shader source files?
Not decided.

E9. What level of moddability can we expect for the new PBR engine? PBR relies less on the shaders and textures themselves and more on skymaps, screenspace posteffects, and the location and detail of lights. Can we expect to be able to implement dynamic GI, for example? Can we expect GI and SSR at all?
We have good variety of post effects, and you can probably add new post effects. We have SSR. It should be possible to add dynamic GI in theory but in practice it can be very hard or even impossible.

E10. Can we force certain body parts/bones to play specific animations and apply ragdoll physics on them? (Useful to simulate various injuries on different body parts)
Sorry, the game engine does not support that.

E11. What modelling/viewing program(s) will or should be used for Bannerlord?
For basic polygonal modelling, our artists use mainly Max, Maya and Blender and we will document work flows for these. We also use a ton of other tools for sculpting, painting textures, viewing etc.

E12. What tools support animating campaign map icons?
We have some script components, which can add simple looping animations to entities in any scene. It is not as complicated as the animation system of characters in battles.

E13. Will you add in features like decals like in ue4 (with option to pick what is affected and what not so that it does not project onto moving characters and so on when near them) and terrain blend? (like battlefront and this: https://polycount.com/discussion/18...ending-tool-inspired-by-star-wars-battlefront, which would both help with environments and so on)
We have a decal system in which you can decide whether the decal should be projected to terrain and/or to objects. You can also disable particular render layers to be projected like “do not blend diffuse” , “ do not blend normals”, “do not blend specular”. Only blending the specular and gloss is particularly useful for projecting wetness effects through decals.

Also, we have a system in which the terrain layers can blend into the meshes. Their diffuse, normal, ao, specular and gloss values are blended, making it a seamless transition. Looks very similar to the link provided.

E14. Is there a limit to the amount of animations we can add? (Are there limited animation slots?)
No

E15. Can projectiles have particle effects?
Yes

E16. Can more item slots be added? If so, can the items equipped in a custom animation slot appear on the character? (Cape slot)
The item count limit that can be wielded is 5. 5th slot is only for the items that get dropped when sheathed. But there is no limit to the number of items that are not wielded. In fact, the engine doesn’t know anything about them, except their meshes.

E17. Will it be possible to blend textures with different UV Channels? (To for example have a > 0-1 UV space texture be blended with a unique 0-1 UV space texture)
We have two different UV inputs. We do not have an in-built shader in the engine for that but one can write a simple shader that does that and by exporting a mesh with UV layouts, can have different effects with two different texture samples.

E18. Will it be possible to switch between different UV tiling values based on distance? And also switch materials?
Need to write a custom shader that changes different render layers(diffuse, normal, specular etc.) That shader can continue to use the default shading function.

E19. How are siege weapons made at this stage? Is it prop with vertex animation? Or is it a skeleton body?
They are skeleton animations.

Multiplayer/Server-Client

F1. Well, I'd like to ask some questions about how multiplayer modding will work. Can we make custom game modes, factions and units, with people being able to join servers with these mods without having to install them, so long as we only use vanilla assets? In other words, are there in-game tools for creating these sorts of mods? Can those tools, if they exist, also be used for creating new systems such as recreating the Warband equipment system? If not, have you considered doing auto-download, as most games with multiplayer modding communities do?
Making new game modes is possible on the mission side, but auto-download, mod loading etc. is unknown at this stage.
 
Last edited by a moderator:

Callum

Community Manager
Best answers
0
General

A15. Would it be possible to create mechanical troopers such as drivable tanks, aeroplanes or ships, or even mechas?

A16. Are we going to see a return of the module system and its scripts, like last time, or will we be scripting in another way?
Things will be way different than Warband. In Bannerlord, you can run multiple modules at the same time. And all the scripting is done by C#

A17. Can you share the windmill script mentioned in the engine video (Blog 8 ) as an example of what coding might look like?

A18. Would you be willing to share the Bannerlord equivalent of Warband's header_operations?

A19. Would you be willing to share a base human model for reference before the game comes out?

A20. Would you partner with a team to create a stand alone offering?

A21. Are multiple game/world maps possible?

A22. Do you have a hard limit for the number of world map terrain types and map icons?

A23. Is seafaring/battles implemented? If not, will it be possible for modders to introduce seafaring (f.e. by teleporting a party unto sea terrain and changing its icon)?

A24. Can the clipping plane distances (near/far) be changed? (In Warband we only could change the far clipping distance via module.ini)

A25. Will you provide a framework for mods to utilize assets from several TW games and/or DLCs (by f.e. requiring the player to own the respective products)?

A26. Will it be possible to load different global maps during the game and switch between this?

A27. Will we have (or at least be able to) create items like books or artifacts and relics that would give the player or the kingdom some sort of bonus?

A28. Regarding Skills and Perks - will we be able to modify/rearrange the skill tree in a way we don't have to choose between 2 perks (like either "Horse Killer" or "Footwork", in the Polearms skill tree)?

A29. Will we be able to somehow name rivers/mountains/forests etc, like using a transparent font as we zoom in?

A30. Is there any limit regarding the size of the campaign map? What about the number of groups of agents (like lords,looters) or villages, castles and cities?

A31. Would it be possible to add or somehow change morale so you have different morale stats for different troops? Say that recruits have low morale and veterans have high morale and won't flee as easily, or that faction X has troops with worse morale than faction Y.

A32. Is it possible to call external programs and run them in the background? (useful to run a dedicated server on demand in the background)

A33. Are native mscorlib such as system.net.sockets and filestream available?

A34. Will it be possible to go from one scene to another without going back to the campaign map?


Coding

B19. Can moving objects (e.g. missiles) be manipulated on the fly? (Would allow us to apply dynamic friction/drag, wind and aerodynamic lift)

B20. Can animation-speeds be changed dynamically, without messing around with weapon proficiencies or -stats?

B21. Which version of Mono/.NET (and which version of C#) does the game utilise?

B22. Will the development tools include TW's library of C# operations in the absence of a proprietary programming language like Warband's?


B23. Will we be able to add C# Library?

B24. Will 3rd party C# libraries be supported? Is this decided by what is shipped with the game client or can it be part of a mod?

B25. Is it possible to query the AI state and party in the campaign map?


Debugging

C1. Can we debug code at runtime using variable inspection, break points, variable value manipulation, etc ? In other words, will we get a version of the game .exe that allows debugging our mods?

C2. Will we have more control for logging data? Warband requires use of Edit Mode and only uses one file (rgl_log.txt), we could use different modes so logging is available on normal gaming (to support bug reporting), and the use of different files would simplify testing individual mods.

C3. What strategy is being used for testing code? Will we get the modsys with unit tests included? Are mocks being used? Or is it dependent on the engine for running?

C4. Warband allows for quick reloading (refreshing) of the game code after compilation. Will we have this for Bannerlord as well?

C5. Will we have an in-game tool to create bug reports? If so, what will players be able to submit (img, txt, savegame, logs, etc.)?


Scenes

D11. To what extent will modders be able to access and/or tweak the random scene generation for battles?

D12. In the Engine Power dev blog we were shown new scening mechanics such as animated objects (windmills rotating), multi-material painting and the decal system. What other new features do we get with the new scening tool?


Items/Textures/Animations/Shaders/Sounds/Etc

E20. What sort of metadata is set around the new weapon component (and armor?) system

E21. Will it be possible to create new item types?

E22. Any information on how the new sound engine works? How many sounds can be played at once? What file format is used? How does the engine handle music transitions? What will be available for the modder to change and adjust?

E23. Will we be able to dynamically change a sound's volume and frequency? (So we could create some filters for distant sounds or underwater/indoor sounds)

E24. Will firearms be supported? Will there be a (hidden) firearms weapon type proficiency again?

E25. Regarding Channel Packing, which textures should use which channels?

E26. How many channels can be used for vertex painting materials?

E27. Flipped Y-Channel Normals?

E28. Given World Maps are now constructed in the scene editor, does this include tools to:
1. Smooth or shape realistic coastlines,
2. Curve and narrow rivers,
3. Sculpt fine detail as working on a different scale to scenes


Multiplayer/Server-Client

F2. Can a server provide players with necessary files/code modifications upon joining/after asking for permission?

F3. Will we have full control of all data which is sent between server and clients? (Pretty useful for optimization purposes, e.g. reducing network traffic in order to maximize the possible player count)

F4. Is it possible to send data from client to client directly (P2P)? (Could be useful to reduce the server's traffic as well)

F5. What is the native admin system like? What type of moderation and admin tools will come natively with servers (MP)?

F6. Is the custom smithing feature available for multiplayer? If not, is it possible to port it?

F7. Will we be able to send http requests; post and get?

F8. Will it theoretically be possible to implement an in-game voice-chat?

F9. When a player is on a server can you connect/move him to another server if he performs a particular action?

F10. Will a MP server be able to query a database directly instead of using a website as a proxy?

F11. What network commands will exist to update both client and server? (Spawn item network command was added to allow armor to be updated on clients as well as server in warband)


F12. What configuration options will exist on the server? (Custom factions using existing assets, for example)

F13. Will there be a way to remotely control a server through something like a web API or webhooks?

F14. In multiplayer, how can you customize player stats? Can I have access to the same stats as in single-player mod like strength, agility, or maybe lower level stats like health, speed?
 
Last edited by a moderator:

LeChat

Sergeant Knight at Arms
WBM&BWF&SVC
Best answers
0
Thanks for your answers TW, you are very dedicated to the modding community. <3
29. Is Armour created the same way as you have shown the weapons to be created?
The crafting system only works for melee weapons. Armour, shields, bows and crossbows cannot be crafted.
Will a crafting armour be possible one day (update, DLC) or via modding ?
 

NPC99

Baron
M&BWBWF&SVC
Best answers
13
‘48. Can we have some indication of how long it takes to create all the scenes for a town for example, including baking in lighting etc. Scening in Warband was tedious, but Bannerlord scening looks infinitely more time consuming.
With design, visual details, siege mechanics, and sound, it takes 3 weeks to complete a town scene, which is our most complex scene that we use for various civilian and combat missions. This includes 3 levels of towns for both civilian and siege usage.
There is also a couple days of gameplay tests and fixes. It cover anything from siege missions to walking around to small gang fights in back alleys’


Thanks for confirming this. It helps explain development timescales and why Bannerlord’s Early Access will ship with duplicated scenes for those locations still to have unique scenes constructed.
Hopefully, there will be ways we can mod quicker scenes by adopting less professional standards or it will make modding different historical eras extremely difficult or repetitive.
 

EmielRegis

Sergeant Knight at Arms
Best answers
0
oWo whats dis. Cant wait to trash this thread for years to came and then tell newbies to look for materials here.
 

EmielRegis

Sergeant Knight at Arms
Best answers
0
Customise the game to experience an entirely different adventure of your own creation. The engine and tools used to develop Mount & Blade II: Bannerlord are being made available to the community, so that modders can re-interpret Calradia or create their own worlds!
Ok, so where I can acess those tools.
 

Iberian Wolf

Grandmaster Knight
Best answers
0
56. Are we able to add different music/sound effects to be played when the player is specifically passing through a certain area on the campaign map?
One can add our sound emitter scripts with different collision boxes like sphere, box etc. When the camera enters these zones, those ambient (continuous) sounds will be played.
For one time events, modders can add a script to an entity which can check to play a particular sound every time the camera enters their zone.

57. Will we be able to mod the game in a way we can completely remove death and disable aging, heir system and random characters?
To some extent, you probably will be able to remove death, manipulate heir system and random characters but disabling aging could be tricky. It is too soon to say if that would be modifiable or not. However this is subject to change.
Oh mate that's amazing...thank you so much for your answers, really looking forward to it!
 

Wyzilla

Veteran
WB
Best answers
0
Is there any way to edit the performance of armor in bannerlord similar to how warband has MCM values to adjust the performance of cut, piercing, and blunt damage? Ie the part of the module folder that contained a like of script that looked like this -

Code:
# You can modify the damage system by editing the following values:
# The first three values determine the amount which will be directly subtracted from damage due to armor.
# The next three values determine the percentage reduction from the damage.

armor_soak_factor_against_cut       = 1.0
armor_soak_factor_against_pierce    = 0.85
armor_soak_factor_against_blunt     = 0.75

armor_reduction_factor_against_cut       = 1.0
armor_reduction_factor_against_pierce    = 0.8
armor_reduction_factor_against_blunt     = 0.7


horse_charge_damage_multiplier        = 1.0
couched_lance_damage_multiplier       = 0.65
fall_damage_multiplier                = 1.0

#missiles with damage > shield_penetration_offset + shield_penetration_factor * shield
#will penetrate.

shield_penetration_offset = 30.0
shield_penetration_factor = 3.0

#setting speed_power to 2.0 makes damage scale with the square of missile's speed.
# you can set it to 1.0 to make it scale linearly as it was before.
missile_damage_speed_power = 1.9
melee_damage_speed_power = 2.0
 

Computica

Grandmaster Knight
M&BWBWF&S
Best answers
0
I could use some clarification on #10:
10. How is the code split between hard-coded (engine) and modsys (open to the modding community)? What level of access do we have to the game UI code, AI, etc.? Could you provide us with an example of what will likely remain hard-coded?
Unlike Warband, the vanilla game scripts will not be directly modifiable by modders. However, it will be possible for modders to add new scripts as plugins and also have modifications for XML data files. In Warband, we had the problem that, whenever we released a new version or patch, almost all existing mods would immediately become incompatible with the new version and modders had to go through the lengthy process of reapplying their changes on the new version’s scripts. Moreover, it was impossible for players to run multiple mods in conjunction. The new system will make modders’ lives much easier and also support multiple mods.
Does this mean that if I want to change a code that is in Native that I can't modify/add/remove it? This sounds like the death of Total Conversion mods.
 

GetAssista

Baron
M&BWF&SWB
Best answers
1
Where to find `GameNotificationManager` and `ChatLog`, which dll? Your tutorial shows these two classes, but the VS can't find them in the Taleworlds.* dlls.
Both are in Modules/Native/bin/Win64_Shipping_Client\TaleWorlds.MountAndBlade.GauntletUI.dll
 

FutureHendrix

Recruit
Best answers
2
I could use some clarification on #10:

Does this mean that if I want to change a code that is in Native that I can't modify/add/remove it? This sounds like the death of Total Conversion mods.
No, this is where you would use Reflection and/or Harmony. They probably won't publicize that method since it can cause headaches if multiple mods are patching methods in a way that clashes with other enabled mods.
 

Adonnay

Recruit
Best answers
1
Help!

My custom troop tree suddenly shows up as babies... I know some people do that on purpose but I don't! They're all using the villager_vlandia template for the face_key_template value but I also tried to set the values manually by using the <BodyProperties> tags with explicit age brackets (like 25 to 45), nothing helps. I must be missing something. Anyone else had that happen to him?

nevermind: I changed it back to direkt <BodyProperties> and <BodyPropertiesMax > and now it woks. I assume if the troop is culture_neutral it does not have a fallback facegen value as the other cultures.
 
Last edited:

Slaxipants

Recruit
Best answers
0
A30. Is there any limit regarding the size of the campaign map? What about the number of groups of agents (like lords,looters) or villages, castles and cities?
Is there any response to this from anywhere? I'd like to know the potential, and limitations, of map modding to work out the probability of making some mods. Is there a max map size? Max faction amount? Town numbers/castles etc?

And unless I've missed it, when will the scene editor be released so we can start on making our own worlds?
Thanks!