Jump to content
Mathew Steel

A map editor tutorial

Recommended Posts

1. It was Edwin's castle (otherwise it wouldn't work at all).


2. Everyone is set to enemy, except the non-present characters (I don't know how it is possible to change the AI's alliance with another AI though without turning it into my friend).


3. Building site only serves as a dummy trigger to have outlaws only join you if you complete an optional quest. It doesn't belong to the estate change stuff.


Invasion points: Yellow 1 marks Edwin's castle, Red 1 marks your estate


Ownership: If the estate belongs to Edwin, the taking over switching it to me. If I take the estate before that and I turn my former estate into a village, every estate I took will belong to my "friend" which I can change with a click on their "take estate" option. The latter case when I turn my former estate into a village also turns my captured estates into neutral estates.


If you want it, I can send the map itself, so it would be more easier to overlook it.

Share this post

Link to post
Share on other sites
On 17/02/2017 at 11:14, Lord_Chris said:
1. Annoyances: when I delete carter's posts the cart remains. Same happens when I deleted a hobelar, yet his horse remained on the map.


This does sometimes happen, although these are only present in the editor, and can have things painted over the top of them. In short, although the graphic model still exists, just ignore it as it only exists in the editor as a model. You can add trees, rivers .etc. over the top and the game treats them as if they don't exist.

They can sometimes get in the way of buildings. If you really want a building there though you can play the map for a second, make a save and navigate to your saves folder. find your save and convert from a sh2 file into a s2m file and then move it into your maps folder. All the carts should be gone.

Save game conversion can be very tricky and so it's best to practice with it before breaking your map. Try to only do conversions on maps with NO script or only script that will setup your new save and be deleted later. NEVER convert a map save that is still waiting for a delayed trigger, or ANY trigger, but especially the delayed ones.

Try to limit the amount of save conversions you make to a minimum.


On 17/02/2017 at 11:14, Lord_Chris said:
2. Knight problem: When I set an invasion that includes knights, they attack on foot, instead of sitting on horse. However, in the campaign, Barclay's knight in chapter 6 attack on horseback and when I modded chapter 8 to make Hugo Blanc attack the player, those knights also came with horse. Is there a way to put those invading knights on horseback?


As far as I'm aware, unfortunately not. I don't think there is any way to get invading knights to use a horse unless they are modified from a campaign chapter which does. Though I am astonished that this functionality isn't added into the game editor.

"AI Troops Retreat" is the way I would get around this. I can't remember the mission you are referring to here too well, but I suspect that the knights you're talking about are already on the map from the start. They will start on horseback and be set to an aggressive stance. They can be told to retreat (or just move) to a map marker along with ALL other troops of the same faction (except the Lord). After that event has occurred if the AI is still active for that Lord then he will continue to recruit new troops and not throw them at the marker. So an invasion form the same point that already has knights waiting for the army to arrive, along with an AI Troops Retreat event would most likely work.


On 17/02/2017 at 11:14, Lord_Chris said:
Major issue with changing castle and estate ownership: the peace campaign had a feature when I relocate to a castle and convert the old estate into village. However, when I'm trying to do that, it becomes a neutral village or a "friend" if I don't touch the estate. The change also left me buggy.


Could you describe exactly how you're doing this, what process you're following and all details such as event markers and estate colours so we can try to replicate this?

Sorry, I can't find a way to remove that last quote!

On 17/02/2017 at 02:45, Cortez said:

3. Major issue with changing castle and estate ownership: the peace campaign had a feature when I relocate to a castle and convert the old estate into village. However, when I'm trying to do that, it becomes a neutral village or a "friend" if I don't touch the estate. The change also left me buggy.


A: getting like 500 gold from somewhere, despite I'm having set the resources. I'm also receiving 10 honor/month without having statues on the lord's estate or in my old one. No monastery either.


B: just like in chapter 6, the estates' banner not changing with the owner. I or an enemy lord taking an estate and despite capturing it, the banner remains the original owner's.

3. I can't be sure here, and may only be partly correct if at all, but I think that the AI swaps the characters around somehow within the map. So now your old castle is actually the Lord you conquered or perhaps even Sir William. So, with the same trigger that switched your castles, make a new event that has a delay of +1 and "Convert Enemy Castle to Estate". I would try the Lord you switch with first, failing that it will be Sir William, who you can now script to become your enemy to capture the estate.

A. Perhaps the 500 gold is already in the treasury of your new castle? Make sure all estates begin with nothing, and try to limit the AI's ability to acquire funds before you get there. An active AI with a treasury WILL tax the people and acquire funds, so if the map doesnt need an active AI then disable it. If you want the AI to recruit new troops then don't give him a treasury and limit his build space. The AI will use any gold that you might want to give it to recruit troops and spend at the market (so don't give it one). You should be able to balance it so the gold has all been spent before you get there.

B. I don't encounter this bug too often myself, but the castle switch is most likely the issue here.

On 17/02/2017 at 11:14, Lord_Chris said:
Similarly, I have found no options for ownership change or anything specific about the estate. For example chapter 11 has me to take Upwey from William, which is a feature I can't replicate. The peace campaign also gives me neutral or other lord's estate with a trigger I didn't manage to find. It's something coded or I'm just missing it somehow?


Unfortunately, in some cases, such as custom messages and other things in the Peace Campaign, there is no way to create this in the game. You can only use existing campaign maps and unlock them to use their events instead. This is a pain, but unfortunately there is no other way of doing this that I'm aware of.

Only thing here is to use "Control Number of Estates" and build the map accordingly.


On 17/02/2017 at 11:14, Lord_Chris said:
War chapter 8 had custom lords such as Duke de Montparnasse, Lord Beaufort and Hugo Blanc. Each of them shared the default Matthew Steele lord. Is there a way to change the lords' appearance or at least rename them?


If the lord is a built-in Lord (e.g. Olaf) then you can change their appearance by renaming the .uni files. If the lord is not a built-in lord, such as Duke de Montparnasse, you must edit the appearance of your own lord which will also change them. There is no other way to do that.


In terms of renaming lords, all game text is found in the file C:\Program Files (x86)\Firefly Studios\Stronghold 2\i18n\en.xml. All Lord names are also in there, so you can change them from there.


I'm sorry to say that we don't currently have a tutorial on doing that, but you simply edit the XML file and run the game again, which should show the new text. Though if you have any questions, I'm more than happy to answer them.

There is a way, but it involves converting save files. If you basically want Olaf in a green cape then you need make Lord Barclay where you want him.

Make your map as complete as possible. Begin playing. Save. Convert. Load in editor. On the map overview, change Lord Barclay's Castle Estate into Olaf's. Save. Play, Green Olaf

On 17/02/2017 at 14:40, Cortez said:

I'm familiar with the .uni change, but the problem with it is that I have to change my own lord into someone else in order to have another "matthew steele" lord. Hugo Blanc and his pals were all default lords and from what I know, changing the .uni files can't have similar names, thus I can only have one "matthew steele".


The xml modification is like the .uni change as it works only for me? So, if I want to upload my finished map, I have to include the xml file too in order to other people see the changes as well?

Can't delete again...but the last thing gets around this.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Topics

    • Warlords Ai Modding Map Creation

      The game isn't out yet, but i am very curious how the map creation and AI modifications work in it. If you have suggestions what i should try on my Release live-stream, let me know! Looking forward to keeping all the information gathered up and sorted afterwards! :D

      in Stronghold Warlords

    • Wip Eyecandy Invasion Map

      Hey folks, I haven't done any map making in years, and I quite fancied having a go again, so I'm making an invasion map, as yet unscripted, so just eyecandy for now. I do have various resources for map making in an external drive, however the usb is broken so it is inaccessible at the moment, I recall that when I enquired it was cheaper to buy a new external casing than it was to get the port repaired, so I'll see about doing that some time. Anyway, here's a stitched together pano

      in Stronghold 1

    • Sh2 Ai Editor Help (Noob)

      Not sure how active this forums is, or if anyone here is able to assist.   Was having fun recently with Stronghold 2, and came across the AI editor.  (Program from this site, to create/edit .aic files for starting castle templates for the various AI personalities in game) I am trying to learn how to use it, but when I open it, it wont maximize.  I am using windows 10, the program seems to be opening and running fine, I just cant see it in its entirety. To be 100% clear on the dire

      in Stronghold 2

    • Microsoft Just Killed the Crusader Ai Village Editor

      Microsoft changed what the F1 key does: it pulls open the Bing browser (eww) and opens a useless help file. (why????) In the Stronghold Crusader AIV editor, F1 did a critical function: SAVING the file in progress. I believe Firefly was a bit lazy when they designed the AIV editor because they didn't think that anyone would be using it nearly 20 years later - the AIV editor does not have a save file button! Anyone know a way around this issue? Do I need to install Windows XP on my compu

      in Stronghold Crusader & Crusader Extreme

    • New map in progress - Free Build

      I don't usually announce a new map being created, but given that I've recently got back into Crusader 2, I've noticed one massive gripe...   SIEGES FOR FREE BUILD SPAWN IN THE MOST RIDICULOUS SPOTS EVER AND RUIN THE FUN!   Therefore, I am making a free build map with sensible siege spawns, to allow you to defend sensibly against a realistic enemy attack! Keep your eyes peeled! :P

      in Stronghold Crusader 2

  • Create New...