Now remember that I don't know the ins and outs of modding total war, but I had a look at the code for this and I think I understand how it all works. My background is web development and database programming so I think in those terms. Though, as I said, I don't know what functions are available in scripting total war.
Here's what I gathered:
1. Make a list of towns and give them a value of 1.
2. Make a garrison script and apply it to towns where the value is 1.
It would make for much easier and definately a shorter code.
You could easily make a very advanced garrison script but have to apply to all cities you want without having to go through the effort of copying pasting, changing and applying.
You could make a script that check what type of town it is, what buildings it contains and add the garrison accordingly, to all towns, but with just one script.
Or am I completely sailing in wonderland here?![]()




Reply With Quote








