Skip to main content

Beta Mod Release - Hold the Line: Infantry AI - No more moshpit

Hi all!! A few weeks ago I asked here how you wanted your infantry to fight ( old post ). The top answer by far was "make them hold the line", so that's what I built. It was called Better Infantry AI back then, now it's Hold the Line , and it's out as a beta. Available in Nexus Mods. What it does: No more moshpit: soldiers keep their place in the line and step in and back a little instead of turning into one big blob. AI formations that make contact switch to a charge, so both sides fight the same way. Shields in the front rank: shield and spear first, then other shields, then spears and pikes, then everyone else. Works in shield walls too. No more falxmen eating javelins and arrows in the front while the shield guys wait in the back. Rear ranks fight with spears: the second rank thrusts past the guy in front instead of hitting their back and getting stunned. AI spearmen also keep the spear out more instead of always pulling the sidearm. Deep format...

Question for modders: Can a mesh associated with a town be swapped during gameplay?

Actually I have a few other questions someone might have some input for. But the title question is the primary one which someone might have suggestion I havn't thought of. You're welcome to comment on any element you wish.

  • Objective

I have a rough outline for a new module called Peasant Uprising where you start out as a farmer. Not going to give spoilers on the off chance this module ever sees the light of day. Really tired of the nobility track. It wouldn't effect the ability to go through the standard nobility track, but would be generally incompatible with the nobility track. The concept is to have a new center type, i.e., refugee camps. With a progression track required to take control. Probably not visible at the start of the game. But I also want to be able to upgrade these camps into villages, towns, and cities. Even castles that can be upgraded to cities. The problem is the game internally treats these as distinctly different object (troop) types. But in module_game_menus you can effectively unify the menu options for all 3. It fact the entire menu system can depend of you initial alignment so that nothing changes of you play the standard nobility track, except for position of a few centers being shifted slightly and a few extra camps.

So the idea is to convert all centers to city type centers, but still assign the mesh for encampments, villages, cities, etc representing their state of development. Then create an upgrade tree where the availability of certain center upgrades are dependent on lower tiered upgrades already built. Then the difference between encampments, villages, cities, etc., is determined by the existence of certain upgrades already completed. The existence of the upgrades would then also determine the menu items available for that center. The different menus villages, cities, et al., have is then determined by upgrade progress, rather than the [spt_village, spt_town, etc.] constants defined in module_constants. You're basically just swapping which variables are being tested for before including certain menus and/or menu items.

But to pull this off reasonably well the mesh for refugee camps (bandit camp mesh) will have to be swapped out in game, from what was defined for them in module_map_icons, as certain building upgrades complete. And that's my primary question, is it possible to swap these meshes interactively in game, and how?


Bonus question:

The companions will be usable in a slightly different manner late game as administrators, with the player maintaining a more hands on administration of centers after being turned over to vassals. I also want to be able to give orders to prioritize their objectives. The only viable mechanism for doing this would be through toggling certain subsets of their personality traits. How would you go about toggling personality traits interactively in game?



Submitted October 31, 2018 at 02:46PM by mywan https://ift.tt/2F3KC3g

Comments

Popular posts from this blog

Help with the Subreddit's new Guide! Guide is in the Description and Link in the Comments⬇️

So I got the go-ahead to write a guide for the Mods to post and pin on top of the sub and while my 3000+ hours of Bannerlord and wide experience with speedrunning this quest covers a lot, I am sure that I might have missed some neat tips and tricks. Please also tell if there if something that needs closer clarification with more text or an image. The Bannerlord's Guide to Unite the Empire Written by Octavian_Exumbra So you want to unite the Calradian Empire? Well, my child, this is no simple matter. Many great rulers have attempted to Unite the quarrelling descendants of Calradios the Great under one cause and most have failed, so steel yourself great warrior for today you... I'm just messing with you. It's actually a fairly simple process, so let's just dive right into it. New Campaign: Starting off, we're picking Empire culture. When it comes to skills, you have more liberty, but if we want to do this as effectively as possible then we're mainly focusi...

Detailed Mariner Unit Analysis/Tier List for Campaign

TL;DR Tier List. These are my personal notes and I acknowledge it is just my opinion, just posted to hopefully help others S: Imperial Naute A: Battanian Skipari, Vlandian Nauta, Nord Huscarl, B: Sturgian Reaver, Nord Berserkr, Aserai Bahriyyah, C: Corsair Chief, Nord Skjaldbrestir, Nord Chosen of the Sky-God, Sea Raider Chief D: Various Convoy Guards, Nord Ulfhedinn, F: Nord Youngling Testing is done in actual campaign as well as using custom battles and the Retinue mod to look directly at stats/equipment. General Observations: Shields are required, otherwise you get shredded by ranged attacks. Skills and ship upgrades can boost shield health massively, with some like the Nord Decorated Shield crossing 2,000 hp! I've seen Huscarls with 20+ Javelins in their unbroken shield at the end of a battle. You can assume the high tier shields will not break in battle, meaning a single high damage hit creeping through is the best means of ranged attack rather than quantity. For ra...

👥 All Bannerlord wanderers/companions

⚠️ ANNOUNCEMENT While editing my previous post, I bumped against the 40,000 characters limit, which was unknown to me. I decided to take the following course of action: to avoid encountering the character limit again, I split the wanderers/companions and marriage prospects post into 2 separate ones, with "Bannerlord" in the title for SEO reasons. Furthermore, instead of maintaining posts for each branch, the active posts will be dedicated to the beta branch, with a snapshot of the main branch values accessible for download if pertinent. ​ Up to date as of beta e1.1.0; editing in progress, pardon my dust... e1.0.10 snapshot temporarily redirects to the post PLEASE READ THE FAQ BEFORE ASKING A QUESTION. The purpose of this post is to provide pertinent information about all of Bannerlord's potential companions. Efforts will be made to keep it up to date, and expand on its information. Currently present are the 64 wanderer templates found in spspecialcharacters.xml ...