Mount & Blade

File information

Last updated

Original upload

Created by

Tempered

Uploaded by

Tempered

Virus scan

Safe to use

Tags for this mod

About this mod

ENTRENCHMENT KIT Author: Tempered Version: 1.3 Module System version: 1.011.0 This kit adds an option to the camp menu to quickly entrench your camp site. If attacked while entrenched, you will fight from a fortified position. Not very useful for cavalry heavy armies, but very effective for armies with plenty of archers or that need to

Permissions and credits
ENTRENCHMENT KIT

Author: Tempered
Version: 1.3
Module System version: 1.011.0


This kit adds an option to the camp menu to quickly entrench your camp site. If attacked while entrenched, you will fight from a fortified position. Not very useful for cavalry heavy armies, but very effective for armies with plenty of archers or that need to defend against cavalry. If ,while camping, you are attacked and did not take the time to entrench your position, you will fight at a disadvantage.
Currently there is a different camp fortification setup for each terrain type. I may expand this in the future based on the parties engineer skill and time spent entrenching.

Each camp scene has a hand made walk mesh that will help the attackers and defenders deal with the fortifications. There are no invisible walls or ai barriers used. For the most part, it works pretty good. You will occasionally see a few agents do something stupid, like run into a wall of spikes or drown themselves in a river.

FUTURE PLANS

Create default camp scenes without fortifications to simulate being unprepared for an attack. Scenes created but need to be edited.
Add supply penalty for enemies over running encampment.
Stop missle resupply if enemies have over run encampment.
Make entrenchment option for castle/town sieges.
Make random entrenchment scenes for each terrain type and continue work on current scene files.



INSTALL

I have included the source code and a compiled version of native with the kit installed.

To install the compiled version, extract the Native_entrenched.rar file. Cut and paste the extracted folder into your modules directory. You should not be prompted to overwrite anything, if you are, just say no.

If you are a modder and want to add this to your mod, you should already know how to install it. Everything you need is in the source code folder. I do not have time to give step by step instructions on how to cut and paste from the .py files. I have included only the files that have been changed or added. All changes have been noted with the key word Tempered.



Permission

Do with it as you see fit, no need to ask. Credit for the work would be nice, but I won't hunt you down or kill your dog if it is not given. That is all.



Version History

1.0

Initial release

Feature list:

Added the following scenes:
scn_entrenched_plain.sco
scn_entrenched_plain_forest.sco
scn_entrenched_snow.sco
scn_entrenched_snow_forest.sco
scn_entrenched_steppe.sco
scn_entrenched_steppe_forest.sco

Added drowning to water levels above head height in entrenchement scenes, mounted and unmounted. Note that drowning horses were not implemented.
Scripting changes to many parts of the module system.

Added missle resupply to players party while in entrenchment.

Change morale cost for entrenchment to -5.

1.1

Added the following scenes:
scn_not_entrenched_plain.sco
scn_not_entrenched_plain_forest.sco
scn_not_entrenched_snow.sco
scn_not_entrenched_snow_forest.sco
scn_not_entrenched_steppe.sco
scn_not_entrenched_steppe_forest.sco

Added the following resources:
Tempered_mat.brf
Tempered_mesh.brf

New scene prop, bell tent.
Added enable/disable drowning toggle to the camp actions menu.
Made new mission template for camp scenes.
Added skill/troop number based time system to entrenchment. You no longer instantly entrench your camp site.
Changed morale cost for entrenchment to -10.

1.2

Fixed problem with tent collision mesh.

1.3

When attacked while camping, you and your soldiers start unmounted.
Horses added to all camp scenes.
Some small tweaks to camp scenes.
If your camp is overrun, you may lose gold, horses, or food.
If your camp is overrun, your troops will no longer be resupplied with arrows during the battle.
Removed inventory chest and replaced with supply tent for camp scenes.
Supply tent not accessible if your camp has been overrun.
You must have tools in inventory in order to entrench your camp.
You may lose tools if your camp is overrun.
If you leave an entrenched camp, you can return to it now without having to rebuild and without the moral loss. This only works for the last entrenched camp site and you must be very near the original site. If your camp is overrun, you will see smoke or flames coming from various camp items.

CREDITS

Taleworlds, for a great game and modding support.
Adorno, for his excellant video of entrenchment in action.