Jump to content
Kronoxus

Delayed invasion script

Recommended Posts

Hello

I have got a problem with map making? - a script to my invasion map in Stronghold Legends. The main goal is to save our ally by killing all enemies who are going to invade his castle. But they are not invading immediately - they have to settle in some distance when the game begins (this is time to kill them) and after for example 2 years they are invading our ally (this is time when is too late to save our ally). It's the same as mission 4 from Stronghold 2 (Bull's army is waiting until invasion next to Sir Grey's castle). How to make the delayed invasion like in description? I was trying with delay settings (date and delay buttons), but it resulted only that the invasion has begun late, but immediately (we don't have chance to kill enemy troops because there aren't any earlier)...

 

I'm not native English, so sorry for my mistakes and i hope you will understand my problem's description?;)

 

EDIT: I don't know why this text is green and contains indexes... sorry

Edited by Lord_Chris
Fixed font issue

Share this post


Link to post
Share on other sites

Hi Kronoxus, and Welcome to Stronghold Nation!

 

I tried to correct the Font color of your Post - alas without much success. Dis you use our Site Editor or did you copy and paste from your own software? I use to have a similar issue "ages" ago and found it was me. Try using our Editor on The Site and see what happens.

 

Regarding your Question, what kind of System are you using and what version of The Game - as well? Are you suing a Map you've created or is it part of the Game Engine? Did you download if from another Gaming Site? I could very well be a "Bug" in you Map. Try to give some more information!

 

Thanks again and Welcome!

Share this post


Link to post
Share on other sites

Thank you for the fast reaction.

My game version: Stronghold Legends v1.3 Steam Edition

My operating system (is this what you meant by system?): Windows 7 Ultimate x64

 

I'm creating all my maps from new and clear default maps in editor.

 

My map file is uploaded below, if you could have a look of it.

Red - our army,

Lightblue: ally's army

Purple- enemy invasion

Dont suggest about bad description of quest, originally it is written in Polish and i just tried to translate it to make you understand something of it ;)

 

Map: i'm not allowed to post links... i will send it on private message

Share this post


Link to post
Share on other sites

Map link:?http://mega.nz/#!rWgHhB6L

I can't find edit button anywhere :/

 

Decryption key if needed:?!f3jBBf954zss_liM_LP88ZmE6-88nuqmu_3tRC0KikE

Edited by Lord_Chris
Linkified link, fixed posting issues

Share this post


Link to post
Share on other sites

Hi @Kronoxus, welcome to StrongholdNation!

 

I've fixed your post formatting issues. Apologies for that. This is next on my list of things to fix on the site.

 

Thanks for writing into us, I've taken a look at your map. The problem was you were setting the "date" option to +1, which should have been at 0 (circled in red below). You are looking for the delay invasion option (circled in blue). The delay option will delay the event by the amount of months you specify, but you were also adding in the "date" option, which was why you were getting the result you were. I set the event of months to +1 and it successfully delayed the invasion by one month. :)

 

266

Legends Editor.png


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 help.

 

Unfortunately, it didn't solve my problem.

I set the date button to 0, as you said and the delay button to 10.

The result was: all enemies appeared on the map in 10th month from game begin and when the slowest units came to the marked position, the invasion began immediately.

My goal in example above: all enemies are appearing at the beginning of the game to the marked position, they stay there and they begin invading enemy in 10th month.

 

I hope you will understand what i mean. :)

Is there any possibility to make it?

Share this post


Link to post
Share on other sites

By the way, I want to ensure myself:

What does the date button do? I was thinking it means the year period, for example: the game has begun in January, 842, so an event marked with date:1 button will occur in January, 843. Is it correct, ot not?

Sorry, but the edit button disappears too fast so I can't edit my previous posts :/

Share this post


Link to post
Share on other sites

Unfortunately you're not able to do that. An invading army will always invade whenever it arrives on the map, there's no way to delay or water that behaviour down in any way.

 

I'm not actually 100% sure what the date button does. I think it's the equivalent of delaying the event until January of the next year too, but I'm not confident about that. There are no records of what that does anywhere and I've never used it.


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

That's poor, but I was experimenting some with events and luckily I? found a bit uncommon, but enough satysfying solution :)

 

1. I placed enemy troops at the invasion start place and I blocked their way by ice walls (pink arrows below):

c96c07365cc3ec2e.jpg

 

 

2. Then I set a command on all units to march to the points located in ally's base (marked by pink arrows below). They won't march until ice walls will be removed.

f59de636cebfa8aa.jpg

 

 

3. I set an event that removes the ice walls which can be delayed as my wish, so I can decide how much time I give to player until enemies will march - when the walls fall, troops begin march and finally kill our ally, ledaing to defeat.

43eeeb3fd77cd612.jpg

 

The description of the quest will say our ally was assaulted recently, so his castle is damaged and his mags created temporary ice walls, but they will melt soon. I think is enough reasonable :P

 

This is a bit tricky, but It's a method to make a delay of the invasion which I wanted to do :)

Thanks for your patience, I think this topic can be closed :)

Edited by Kronoxus

Share this post


Link to post
Share on other sites

That's a very neat way of solving this problem, I like it a lot! I'm really pleased your problem has been solved now :)

 

You may wish to upload your completed map to our downloads section as well :)


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 praise, I admit I'm proud of my idea?:p

Of course, I will send whole campaign when I will finish it (there are 6 missions total), I suppose it will be done within 3-4 days (this is mission 4).

Edited by Kronoxus

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

    • 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

    • 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

    • Planewalker's Complete Guide to SHL Invasion Settings

      Hey there, guys. Planewalker here, formerly known as Lord Tanthos. I have years of detailed user map experience in Stronghold Legends, and I'm here to give you a rundown on every component of a SHL invasion.   Basics   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. If you do have any questions about this section, I will answer those in the comments. Let's get into the meat

      in Stronghold Legends

    • [Invasion Map] The End of The Pig - On the Rise

      I am proud to present part 2 of a mapping series: The End of The Pig - On the Rise The map is part of a little "campaign" and is based on the original from Stronghold.   Prolog: "You have been charged to overthrow the Pig's final county by laying siege to his stronghold. You have besieged this castle before but it has since been rebuilt and now has a full garrison so will prove to be a far greater challenge. Our simple direct approach with the battering ram may not now be enough."   Description:

      in Stronghold Crusader 2

    • Convert siege that map to invasion map?

      Hi! I just meant to ask if it is possible to make an invasion map (in which one defends a castle), and after that to convert the map into siege that map, so human player could attack this same castle. Is that possible?   Thanks in advance! Regards. :)

      in Stronghold 1

×
×
  • Create New...