#1 31st Dec 2018 22:30:49

Ascertes
Serf
Reputation: 0

Registered: 20th Apr 2018
Posts: 2

SH Legends: How to do proper invasions?

(Apologies in advance if this is in the wrong forum!)
Hey all, I have a question that I've had for years and was never able to get answered/solved. I'm trying to do an invasion in SH Legends and I've never figured out the proper technique to get the AI to behave properly. In SH2 it was relatively simple. You told the game where the AI would come in at, who to attack, where to siege from, voila. With SH Legends I haven't had such a luxury. I tell the AI what to do, but when they get to the siege point they just sit there and do nothing. They never attack, and all the siege equipment comes in with the rest of the army rather than from a built siege camp like in the campaigns or SH2.
I know about the various markers: siege camp, missile, etc. but I've never figured out how to use them properly or how the AI reads them.
If anyone knows how all of this works and could explain it, that would be great. I looked around the website and didn't find anything so apologies if I missed something related to this. Thanks in advance! smile


"Birth, pain, fear, death; the cycle of existence." -Dread Master Calphayus.

Offline
  • 0

#2 30th Apr 2019 13:58:07

Mathew Steel
Regent
Reputation: 133

From: Wales, United Kingdom
Registered: 27th Aug 2014
Posts: 963

Re: SH Legends: How to do proper invasions?

*Post moved to Stronghold Legends section*

Sorry I can't be of much help as Stronghold Legends isn't my forte. Hopefully moving it here will bring more attention to your issue!


"Gofyn wyf am galon hapus, calon onest, calon lân."

Offline
  • 0

#3 30th Jul 2019 17:27:10

Planewalker
Peasant
Reputation: 4

Registered: 27th Jul 2019
Posts: 5

Re: SH Legends: How to do proper invasions?

Hey there, Ascertes. Planewalker here. smile

Let me give you a rundown of how every component of the SHL invasion works. It's entirely possible that you may never see this, considering that it is now seven months after your original post, but hopefully it will. It might help someone else out too.

The basics of an invasion are quite straightforward. You pick what troops, how many, and what color. Below that you can choose which map marker the army will appear from. Let's get into the meat of it by going into the Advanced menu below that. I'll explain these features from top to bottom.

Repeat time: A simple setting to create repeating invasions. The first invasion will occur on the date set for this trigger. Every repeating invasion will occur at the interval of months you put here. You can choose how often you want it to repeat as well, to a maximum of either 10 or infinite repeats. This is useful for lengthy scenarios with a objective that is not related to the invasions.

(AI Deployment) Normal Invasion / Siege Point / Target Point: Determines where the invasion moves upon entering the map. A normal invasion will seek to immediately perform its Orders (next setting), choosing its own deployment site as it sees fit. A siege point invasion will ignore all AI helpers (and its own plans) and move its units to the indicated map marker, immediately placing its siege camp there. A target point invasion will simply move the entire army to the indicated map marker before it does anything else. Depending on its Orders, it may move very far away from the target point.

(AI Orders) Free AI / Attack Player / Reinforce Player: Determines what the invasion does once it has finished deploying. A free AI will do whatever it thinks it must do to execute its Plan (explained later) and chooses targets based on its own calculation. Attack Player will cause the invasion to focus its attack on the listed player color, emphasizing the main castle if one exists. Reinforce Player, by contrast, will bring in troops who change to the chosen player's color after deployment and are then placed under their control. Note that reinforcement troops are under the chosen player's control before they arrive at their deployment site, if the player is human.

No Lord / Include Lord: Does what it says. Includes the correct Lord for that color's player and faction, or does not. Note that lords spawned this way do not seem to count toward the "All Enemy Lords Dead" script condition.

Full Warnings / Normal Warnings / Early Warnings / No Warnings: Indicates what messages the player will receive about the coming invasion. Early Warnings are the classic "A large force of the enemy's men are marching towards us" messages. These will alert the player 3 months (1 minute at game speed 40) in advance of an incoming invasion. Normal Warnings occur when the invasion enters the map, with the "We are under attack!" or "An ally has sent us some reinforcements." messages. The Full Warnings setting (preferred for normal circumstances) will use both types. No Warnings will, of course, include none.
Some notes about this. First, regardless of the settings, a minimap marker will always flash when an army enters the map -- red for enemy armies and green for ally or reinforcement armies. Second, reinforcements do not have Early Warnings, only a message on entering the map (Normal Warning). Lastly, allied troops generate no messages whatsoever, regardless of settings.

Don't leave map / Leave map: If an invasion's Plan (explained next) is Movement, has a set map marker as a target point, and the invasion is set to Leave Map, the units in the army will disappear from the map when they stop moving upon reaching the specified location. This has no effect on other kinds of invasions.

(AI Plan): Determines the main purpose of this invasion once it has deployed and how it will decide to carry out its Orders. Also affects how siege equipment appears and behaves.

  • Siege: This classic invasion enters the map with its troops and places a siege camp on the map after all troops have arrived at the deployment site. The siege equipment chosen for this invasion will then be built from the siege camp.

  • Attacking Army: These troops spawn into the map and attack from the deployment site. They will target troops and estates. They will attack the main castle if there is a path to the lord or if there are exposed buildings and troops. Missile units tend to be aggressive about this. This invasion cannot have siege equipment.

  • Defensive Army: These troops move to the deployment site and stay there. They will attack anyone who comes close. This invasion cannot have siege equipment.

  • Vandalize: These troops move to the deployment site and then attack exposed buildings and estates in raids. This invasion can only bring limited types of siege equipment with it.

  • Movement: These troops will appear, with all their siege equipment, and do absolutely nothing. However, if you set them to a Target Point, they will move to it and then sit there. As mentioned earlier, this pairs well with the Leave map setting.

AI Helpers
These are the little flags that can be accessed and placed by clicking on an estate's keep in the map editor. The AI will do what it needs to do without any of these. They're just here to let you shape how the AI performs. It is particularly useful if you have some unusual map design or terrain, or if you have the AI attack a prebuilt castle where you can guarantee the layout.

  • (Tent) Siege camp position: These indicators recommend where the AI should place siege camps during deployment. The AI will generally choose this over its own recommendation. If multiple siege camp helpers are placed they will choose one based on how they want to attack and where they are attacking from.

  • (Arrow) Missile unit attack position: These flags help the AI choose where to send archers and crossbowmen. The AI doesn't always take these recommendations, but they do influence their decision-making process.

  • (Broken wall) Siege camp position: This indicator is misnamed. It should be called "Siege attack position". The AI will take this as a recommendation of where to send its mobile ranged siege equipment (catapults, ballistae, stake hurlers, etc.). Note that this flag is for where the units will move, not where they will attack. Placing one of these next to the player's wall will influence the AI to move catapults right up to the walls instead of firing at a distance. Trebuchets will tend to ignore this and fire from the siege camp or the first available location in range. Likewise, rams and siege towers will ignore this and move into position.

Hope that helps! big_smile

Offline
  • 3

#4 4th Aug 2019 10:45:14

EaglePrince
Knez
Reputation: 156

From: Novi Sad, Serbia
Registered: 6th May 2014
Posts: 2,157
Website

Re: SH Legends: How to do proper invasions?

This is very useful, thanks for taking your time to write it down for everybody. Indeed, it tells a lot why Stronghold Legends is the favorite Stronghold game for many, here they really thought of everything. I'm even surprised that there are options to help the AI with the choice for siege camp positions, helping AI with where to send their archers and crossbowmen, etc. Fantastic! I mean, the only downside of SHL for me has been that it is not "realistic" like other Stronghold games, with all that magic, and stuff like that, but they truly made learned from their mistakes from Stronghold 2.

Last edited by EaglePrince (4th Aug 2019 10:48:12)

Offline
  • 0

#5 6th Aug 2019 05:41:08

Planewalker
Peasant
Reputation: 4

Registered: 27th Jul 2019
Posts: 5

Re: SH Legends: How to do proper invasions?

Of course, EaglePrince. Glad to do it. The possibilities in the editor need to be more known. This game should have a thriving user map experience.
Stronghold Legends really does have a remarkable amount of polish. The design details and the available options really enhance the gameplay. It is easily the second or third best Stronghold if I were to rank each entry in the series by their merit, and is likely my favorite if ranking by mere preference.

Offline
  • 0

#6 7th Aug 2019 11:13:50

Mathew Steel
Regent
Reputation: 133

From: Wales, United Kingdom
Registered: 27th Aug 2014
Posts: 963

Re: SH Legends: How to do proper invasions?

Like EaglePrince said, an absolutely fantastic guide. If you’d like to create this, along with some pictures maybe into a separate thread, I’d love to article it for others to find more easily. Your name will remain in the author name of course! smile


"Gofyn wyf am galon hapus, calon onest, calon lân."

Offline
  • 2

#7 7th Aug 2019 15:06:12

Planewalker
Peasant
Reputation: 4

Registered: 27th Jul 2019
Posts: 5

Re: SH Legends: How to do proper invasions?

Sounds good, Matthew! I have posted it in the Stronghold Legends forum. Can't link to it yet, unfortunately, but it's out there. smile

Offline
  • 0

#8 9th Aug 2019 14:35:36

Lord_Chris
Lord Commander
Reputation: 150

From: England, United Kingdom
Registered: 14th Aug 2013
Posts: 2,219
Website

Re: SH Legends: How to do proper invasions?

I've promoted you, you can now post links smile


The fields have eyes, and the woods have ears.
— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles
All Stronghold Legends Trails & Walkthroughs
Adding Units From Stronghold Legends into Stronghold 2
Extracting Audio Assets from Stronghold 3
Locking/Unlocking Stronghold Crusader 2 Maps

Offline
  • 0

#9 9th Aug 2019 15:24:17

Planewalker
Peasant
Reputation: 4

Registered: 27th Jul 2019
Posts: 5

Re: SH Legends: How to do proper invasions?

Ah, marvelous! Thank you.
Obligatory link post: https://forums.strongholdnation.co.uk/t … -settings/

Offline
  • 0
Users in this topic: 0 guests, 0 registered users

Board footer

Powered by Aura

[ Generated in 0.057 seconds, 13 queries executed - Memory usage: 2.01 MiB (Peak: 4.31 MiB) ]