Jump to content
Asophix

Pauses in an Ai Castle

Recommended Posts

Stronghold Crusader for its time had a fun little Artificial Intelligence. Above all, that was - and still is - defined by a pre-defined castle template that varies per character.

The AI tries to build a castle gradually, where each building has an order (1 being the first one, etc.), so the castle can be built starting with the essential buildings, with the less important ones added later. Some opponents build include a few pauses in their construction, allowing for a more gradual build-up. This is in force for example for Frederick and the Marshal, who don't build their full castles right away, but rather build in three or four larger steps.

I was wondering, what purpose a pause could have? While construction is paused, the AI seems to devote its efforts towards building up defenses and patrols more instead of attacking, but is it meaningful at all?

In later games such as SH2 and SHL, the pause mechanic is present but seems to be completely unutilised by the opponents. Crusader 2 and Warlords has completely phased it out, so even Firefly deemed it an excess feature.

Do you think having pauses is an advantage, or rather a disadvantage?

Share this post


Link to post
Share on other sites

Interesting, I didn't know they paused castle construction. I don't see a reason why they should, and that's probably why Firefly abandoned the idea in later games. 

You mention Frederick and the marshal, but is the pause before or after they build their stables? If it's before then, my guess is that it's a balance decision to prevent them from harassing too early.


My Stronghold Legends custom lords

Vlad's Enemies pack ✝️

Stronghold Lord pack 🐀🐖🐍🐺

Radu for custom skirmish 🏰

Beowulf for custom skirmish  

Share this post


Link to post
Share on other sites

Well, I found the pauses again in the Crusader: Definitive Edition castle files. 😄 

The pause effectively signals the AI to halt construction for a long time. Back a few years when I was experimenting with custom AI castles for vanilla SHC, I found that the bot was much more stable financially, and it could set up its patrol groups much earlier than he usually would, if at all. But this could set back the defensive capabilities of the AI, given how it can build its first walls for free.

In the case of Frederick and Marshal, stables came after the first pause. Frederick usually builds his first walls along with a few workshops, then extends his castle with moat and more buildings, finally comes the complete castle. Marshal is sort of like this, but his castle is kinda unremarkable so all you see is that he adds more stuff.

To be fair I doubt that this is supposed to be a leash mechanic, as Frederick has a balanced personality and Marshal's economy is not very strong on some maps (with the weapon buys included).

On another note: Crusader 2 also has a list of build order on top of the castle definitions, where certain buildings cannot be skipped in the list. There the AI castle is also not allowed to loop, meaning that the castle gets stuck on the same development level for some time until the AI can build the building (mostly walls or a tower).

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

    • Testing a Custom Legends Castle Editor

      Hello Everyone! I have been developing an AI Editor for Stronghold Legends. The aim is to get as much liberty as possible over the design of an AI, making them more competent and fun to play against. I also hope that any user can have a smooth experience, while designing a dream castle! This project is a recompiled and modified variant of the original Stronghold-Knights SH2 AI Editor, adapted for Legends. Currently it knows a little bit more than its predecessor, with a few quality

      in Stronghold Legends

    • Invasion of Closed Castle

      I decided to finish my peace map that I left stalling for a while and I'm having trouble with a final invasion. An army is supposed to assault your wooden fortification but they either stand around indefinitely no matter what I do or they attack in small groups, leaving some of them standing at the invasion point. Apparently, they don't like the closed castle as whenever the siege equipments break the wall, they all start moving. But I don't get why don't they just start assaulting the wooden wa

      in Stronghold 2

    • Ai-aided Historical Castle for Human Player

      Just got a new idea for a map. I could design a new AI that is allied to the human player, that does not produce any units but rather builds a historical castle for a human player. The human player is not allowed to place any walls, towers, or gatehouses. This means that the human player is *forced* to play from behind the confines of a historical castle. This would make historical castle skirmish scenarios possible. What do you think of this idea?

      in Stronghold Crusader & Crusader Extreme

    • Unused Lord Barclay Castle?

      While rewriting our AI lords article, I've stumbled across this castle from lord Barclay which I've never seen before in-game. Has anyone else ever seen Lord Barclay use this Castle?  

      in Stronghold 2

    • A castle builders opinion

      As I intend to upload several castles more I should introduce myself a little bit more. I know stronghold since 2004 and Idesigned since this time lots oc castles, I don?t remember how many. But I hadn`t had Internet for a long time, and I wasn`t interested in uploading too. I am primarily a castle builder, less a strategist. Hence, the scripts were rather weak just at the beginning. I still use Stronghold 1, just because I am a castle builder. The old play enables to combine all elements u

      in Stronghold 1

×
×
  • Create New...