preload button hover image:
Current Time: Jul 14, 2020, 04:27:28 am
 Mount&Blade Repository » Modding Tools » Barrel script
Registration is not required to download. However, it will allow you to vote, comment, and request upload access. Forgot your password?
View this file on the M&B NexusFile Listing: Barrel script
Last Updated: Nov 05, 2011, 02:57:35 pm
File version: 1.0
For M&B version: Warband 1.143
Downloads: 1,693 Size: 3.38 MB
Views: 8,180 Type: ZIP
Rating (1 votes): 5.0 / 5.0

Barrel script is a script engine which can execute code stored into map files. The engine must be built into the module and after that you can create some special map specific scripts and compile them with a provided compiler into the map file itself. The scripts in the map will then only be active in that map.

Barrel script brings a lot more power into map creation. You can move anything anywhere by using any usable object. Or you can create nice rotating windmills by periodically rotating the windmill flaps (or the whole windmill, if you prefer it that way). Drawbridge is a simple feature, teleporting doors can be used to have an interior for buildings. With some effort, you could even create usable economy into the map to allow players buy items and build structures as long as they have enough money.

Better yet, you are free to merge it to a mod as long as you mention the barrel script in credits or similiar location. Installation should be relatively easy and also flexible.

One quite heavily scripted example map is included in the package. You can add it to your mod for testing either manually to the module system files, or you can use MapPackApplier to add the map after the compilation.

More information can be aquired from the documentation site inside the package or from


Static pictures don't actually show the features well...
More From This Author
IP: logged
 Barrel script (v 1.0)  » posted by Tred on Nov 05, 2011, 04:58:54 pm
you saved my life!
i'll use your tool in my mod and of course ill put the tool and your name.
Really GOOD work
IP: logged
 Barrel script (v 1.0)  » posted by computica on Nov 08, 2011, 07:22:54 pm
Nice work, I hope I could use this for something in the future.
comment last edited by computica on Nov 08, 2011, 07:23:10 pm

Hosted by Hypernia.
Website © 2020 FenriSoft. The core site script is PHCDownload (© 2005-2020).