Jump to content
EaglePrince

Stronghold 2 AI Editor - trying to add troops on added tower

Recommended Posts

Hi, I have found Stronghold 2 AI Editor at Heaven Games, and I have downloaded, and I tried using it.

http://stronghold2.heavengames.com/downloads/showfile.php?fileid=490

 

There are two Williams castles that needed to be fixed, so I did that - he had problems because of the moat (that was the issue on both castles), so I removed the moat, and he had two towers with doors to outside instead of to inside (that is on one castle), so I deleted those two towers and I put those with correct orientation.

 

Later, to this second one I decided to add two more towers, as from one side he has two round towers, and on the other one only one small gatehouse. The issue is that even though I set the rally point, he sends archers only to the those rally points on the first two towers.

 

Do you have more experience with this tool? Do you know what I could do to make him send troops on all four towers?

Share this post


Link to post
Share on other sites

I've written this article on the Stronghold 2 AI editor, you may find it useful: http://www.strongholdnation.co.uk/article/245-stronghold-2-ai-editor

 

For other users who are viewing this thread, we also have the AI editor which is available for download here: http://www.strongholdnation.co.uk/downloads/file/39-sh2-ai-editor/


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Thanks for your reply. I managed to do this task. Like Doomsword at Stronghold Heaven suggested - the issue was those troop rally points weren't placed at the same time. For some reason it seems that it matters. Also, another thing is that the AI won't send equally many troops on each of those points every time, but one seems to be certain - those towers that are placed first get populated first as well, and those towers get most men.

 

Nice article, thanks for that too. :)

 

I will later submit those two castle I edited - hopefully today. :)

Share this post


Link to post
Share on other sites

Right now before I would submit the castles I would like to ask something... Is it normal that William often doesn't build his engineers guild, or is it something that happens only to me only for some reason? When William builds one of Doomsword's castle he would build those, but when he builds his original castle or his original which I edited he just leaves an empty space, and I am unsure if he is going to build the engineers guild at all...

 

I took a look into the castle in the editor, and in original castles it has priority 6, while in Doomsword's versions it has priority 14. Maybe this is no issue in fact, maybe he would build it in some moment, but only he doesn't need that building at the moment. :/

 

Here are the images of edited castles of William.

 

screen71.jpgscreen72.jpg

Share this post


Link to post
Share on other sites

I can't see an engineer's guild in either of those pictures. Does anything else have priority 6? And does anything (e.g. other building, not wall) overlap with it or is close?

 

I can see in one picture the well is almost overlapping - try and remove or change the position of that, and see if it works.

Edited by Lord_Chris

Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Nothing else has priority 6, only the engineers guild. And no, nothing overlaps. Maybe someone could load the game, and see if the same happens with the original castle file? I am 99% sure that same would happen with original one as well, but I'm not entirely sure. That is correct about the well, it is almost overlapping, but it is just where is was meant to be - next to the position of the guild.

Share this post


Link to post
Share on other sites

Hmm. I'd try to remove the well first, just to make sure. If that doesn't work I doubt it will.


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Thanks. Maybe he just doesn't need it at the moment, maybe that is the reason why he doesn't build it, but it still doesn't make sense to me. Of course, he doesn't ne need it, he can recruit troops from siege camp, but still why wouldn't he build it, it's still pretty cheap. 100 gold... Maybe he would bells it at some point during the war. :/ And besides this - he does build it in Doomsword's castle. I could also try changing priority of the building to another value.

Share this post


Link to post
Share on other sites

It works now, now he builds the engineers guild as he should do. :) Like Doomsword suggested that it may be possible, he builds engineers one square off, so although in the editor it wasn't overlapping with the armory, in reality it was the case. First I removed the armory to see what happens, and then it was clear.

 

Now, if someone could test that with his William I would be grateful. I would like to know if this was an error with original William's castle or it was me messing up with the file... I believe that it was an error with original castle, as I made a backup, but I'm unsure if I mixed up some of the files. :)

Share this post


Link to post
Share on other sites

So, this is the newest version of my castles for William. :) I have added rock tippers, and I also added some man traps in front of the gatehouses and those parts of the wall which are exposed to enemy attacks, or in other words those that can be accessed without digging.

 

I believe those files are ready to be submitted, only it may need few more tests - I haven't seen how it acts when I start as a freeman. Still, I assume if everything works well this way (starting as dukes), it should work well if I start as a freeman too.

 

screen80.jpgscreen81.jpg

Share this post


Link to post
Share on other sites

I have tested everything, everything works well. I picked a fight against five Williams now as freeman, and it's hell of a fight. :) I still own only one estate, they are pushing really hard, though it's a lot easier to deal with them now after I dag moats around my castle and my economy. Farms and many other important building that are not inside my castle are behind the castle, and they can not reach them because of the moats which are attached to the edge of the map. It's calmer now after I did this, and now I shall collect knight and try to defeat them one by one.

 

I also tried to attack one of them relatively early - with swordsmen, but he repelled that attack unfortunately for me. That one had to be the first to fall. :)

 

So, the castles are ready and I shall submit them now.

 

For anyone who wants a challenge in Stronghold 2 I have a suggestion - pick a fight against these Williams! :D Now William is really "Richard the Lionheart" from Crusader in Stronghold 2, just what we would expect from him. :)

Share this post


Link to post
Share on other sites

Yes, I was playing your map from the position on the hill. It is interesting, it's easy position to defend, though there is very little space. On the other hand, there is enough space for farms in lower part of the estate, only it was hard for me to get down to defend it in early stages of the game while I had few archers. Some time later I managed to build a wall in lower part as well, to protect farms - after killing the William in the middle. It was an interesting game - on an interesting map! :) Only I didn't continue it later to kill other Williams, but that would be easier to do with his older castle. :P

 

And thanks, I'm glad you like it. I hope you will use those castles as well, I remember you said you like playing against William too. :)

Edited by EaglePrince

Share this post


Link to post
Share on other sites

That is correct. The resolution is set to lower as the computer I work on is pretty old, though I don't need I better one the moment. That is the computer which is mostly free at my house, because the rest of my family prefers the newer one. :) Still, even that newer one has a cheap GPU, so I left the lower resolution on that one as well, and that applies for all games, including Settlers 7, Stronghold 3, or Crusader 2. The resolution is 1024x768 on both computers.

 

And yes, about William, he is quote hard to handle while he attacks - especially if you don't have moats. With these castle he can be tough to be killed as well. :)

Edited by EaglePrince

Share this post


Link to post
Share on other sites

In my opinion the ai in All strongholds has One issue:

 

Their attacks are hard in early game, ?But the armies are weak in the end.

 

They should be bigger in endgame.

Share this post


Link to post
Share on other sites

I agree with this too - perhaps one day, together we will be able to find a way to make them better! :)


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Well, make someone with the right knowledge shows up... :)

 

Still, have you tried fighting alone against at least five Williams? I'd say it's pretty hard in the end part of the game as well. Just like in Crusader, when you play against one AI lord it's always easy no matter how much money you give him. It can get harder only if you play with more of them, and same applies to Stronghold 2. Right now, in the game in which I was testing these Williams I was holding them back pretty effectively while he was attacking with spearmen, but later he started sending lots of swordsmen, and without moats I had full hands of work - especially as in Stronghold 2 castles are larger, and there is more you need to take care about then in Crusader where it is smaller and you can always monitor entire situation. Of course, when I make it to take down one of them, and when I get more estates it is natural that I will be stronger - I will be recruiting knights more easily, and Williams will stand no chance attacking me with swordsmen, but that's like it in almost any war. When you manage to take control over more resources and defeat some of the enemies things get easier. :)

 

Of course, it would be wonderful if they were programmed to make their attacks less frequently but with larger armies after their failures.

 

EDIT: Tokamaps, if you would like to try fighting against all Williams on your map from your usual position in north-east maybe you could consider downloading castles made by Doomsword. He made smaller castles for William (so he would be able to choose one among four castles, not only two), and he made several tiny castles which can be used by any lord. This way they are way more effective on any position, and even the William on the hill estate would handle quite well, I'm pretty sure about that. I only haven't tested that on your map, but I did on another where some castle estates were smaller.

Edited by EaglePrince

Share this post


Link to post
Share on other sites

Now after what we wrote here about, I hope someone of the moderators would be willing to rename this tread maybe. We were not just speaking about the first issue I had, but about some other issues, such as engineers guild being misplaced, etc... I hope the tread could be renamed to "Stronghold 2 AI editor" for example, so if anyone comes with any question, he can come here, and see if we have an answer here already, or simply ask. :)

 

ABOUT AGGRESSIVE RALLY POINT

I have also noticed one thing I wasn't speaking about in the editor at first. There is a rally point mark "aggressive troops" in the editor, and it is mostly placed on the ground inside the castle. I thought those are troops that are going to be sent into attack later, and that they just sit there until that moment. I though I could make AI lord stronger by putting that rally point on the keep, so those archers would be on top. Now while I was playing a game with my castle I have noticed that those troops are not just being prepared for attack, they are there to defend the castle as well. For that reason they are best to be left on the ground in my opinion, as if you attack William, those troops will run outside as the first line of defense, and if you climb his walls with laddermen those troops will try to stop you from entering the castle.

Share this post


Link to post
Share on other sites

I'm having problem with The Hawk, even though he does have access to the towers, he just doesn't put his troops in'em.

Any ideas?

Share this post


Link to post
Share on other sites

Have you tried placing rally points on the tower?


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

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

    • Need Help Running Stronghold 2: Deluxe Version 1.31

      As some of you may know, there are two versions of Stronghold 2: the Standard edition and the Deluxe edition. The standard edition patches to version 1.4.1, however, the Deluxe edition patches to version 1.31; and it requires a special Deluxe patch. The good news is that this patch was included on the DVD disc itself of late releases of this game (I have a late release which includes a 1.31 patch right on the disc; alternatively, the patch can also be downloaded here: https://www.patches-scrolls

      in Stronghold 2

    • Old Stronghold Knights

      I was recently playing Stronghold Crusader 2 after upgrading my hardware and it has made me want to play stronghold crusader even more. Which reminded me of stronghold knights and a lot of their old stronghold content from Stronghold to Stronghold 2. I was wondering if anyone either had any copies of the many skirmish maps for crusader that were once part of SHK before its downfall.  This is a real shot in the dark but i was wanting to use the maps for old nostalgia as well as to store them

      in Stronghold Crusader & Crusader Extreme

    • Stronghold Warlords Competition- Results!

      Well, after an intense competition which spanned over many months, we can now FINALLY reveal who has won our contest to win Stronghold Warlords for FREE! Thanks goes to everyone who participated in our contest this year. I have to say that when checking the entries, @EaglePrince and I were completely blown away by the quality of the submissions. It's clear that substantial effort has been put into every single one of the entries, and we're really grateful for the submissions members have ma

      in The Town Crier

    • Win a Free Copy of Stronghold Warlords Upon Release!

      Stronghold Nation Summer Contest 2020 The admin team are delighted to announce our latest competition for 2020, working in partnership with Firefly Studios to provide a free Steam code for Stronghold Warlords, upon release, for the winner of our competition. Welcome, Lords and Ladies, to the Stronghold Nation Summer Contest 2020! Prizes 1st place: Free copy of Stronghold Warlords upon release and the Stronghold Kingdoms Starter Pack 2nd place: Free copy of Stronghold Crusa

      in Competitions

    • Problems with links to Stronghold Nation

      Hi, I have seen before that I have some issues with Stronghold Nation links, but I wasn't sure was it about SHN or about the browser or email client. Now I figured out what was the issue. When you give us a link like this:   www.strongholdnation.co.uk/downloads/file/367-a-kings-game/   sometimes it loads the link without "/" at the end (like this: www.strongholdnation.co.uk/downloads/file/367-a-kings-game ). When the page loads without the "/" symbol, error 404 shows up.   I still don't know if

      in Site Questions and Support

×
×
  • Create New...