Is there a easy way to prevent spain from attacking corboda 1250 AD?

Theophilos

Warlord
Joined
Oct 3, 2016
Messages
138
I am playing as Arabia for the third time (I always have trouble with this one to take the required land, but finally I am doing well and taken all the required places)

I have Moors and Spain vassalized, and both are muslim.

( I went for spain right away in this play through, because my last one when I tried doing them last, it was too difficult to fight there and against the seljuks at same time, and it was hard to fight the walls they had built by then, and the upgraded units)

But, at 1250 AD (5 turns away from the second UHV Timer of 1300 AD which demands controlling spain), Spain declares war on moors and gets a stack of units at corboda. (I gave it back to moors after taking it)

Is there any way to stop this from happening? I don't really want to go back 30+ turns and fight the seljuk invasion all over again, it was hell!!!

Can anyone think of a non-cheating way that will stop this attack from occuring in my save game? or is my only altenrative to go back 7 hours and do this all over again, giving corboda to spain instead of back to the moors when I take it....
 
Last edited:
I can't imagine there is a way to revoke capitulation to spain, and to kill them at this point, since all of my army is in the east

I also can't take spain in 5 turns, because they have walls and crossbowmen everywhere and the invasion army is quite big, and again, not over there.

Mongols seem to also invade Persia at 1270 AD so I cannot move my armies anyway.

Maybe if there was a way to cause moors to collapse? but Im not sure how I could do that, since they have mostly just their core and have high stability.

I tried declaring war on Portugal ASAP to hope they would try taking corboda (and thus spain would not declare war on me, but on portugal, and then take it for me), but as they get to its border, spain kills their 3 troops which wouldnt be able to take a hill city anyway.
 
Last edited:
If nothing else, is there a way to go into the code myself and to put a qualifier, that this invasion will not happen if Spain is muslim or something?
 
In a similar vein to declaring war on Portugal you could also try declaring war on France (first) so the spanish troops are occupied when you try to make Portugal invade Cordoba.

But I figure a more secure solution would be waiting with vassalization (sucks to have to replay so much turns though)
 
I'm not sure if the event is fixed on the date or has a random moment of happening. If it's the latter, you don't have to go back as much but could try to reload just a few turns. This works for similar events as well. For example, if you reload one turn before a GP pops, you'll always pop the same GP. This is also true if you reload some turns earlier. I'm not exactly sure how many turns you need to go back, but about 5 turns should be enough to trigger different RNG results. In that case, it should be possible to hold back the Spanish conquerers event a bit, probably enough for victory.

EDIT: AIwars.py shows that the event may trigger from 1200 AD onwards and within an interval of 10 turns (i.e. 100 years on normal speed). Given that the AI will not start a blitz war, this probably means that tricking the RNG should do the trick, if you're willing to reroll a few times.
 
Last edited:
In a similar vein to declaring war on Portugal you could also try declaring war on France (first) so the spanish troops are occupied when you try to make Portugal invade Cordoba.

But I figure a more secure solution would be waiting with vassalization (sucks to have to replay so much turns though)

I will try declaring on France, see if it works. If all else fails, I guess I could give Portugal some extra troops? would that mess with the game's scripts or anything?



I'm not sure if the event is fixed on the date or has a random moment of happening. If it's the latter, you don't have to go back as much but could try to reload just a few turns. This works for similar events as well. For example, if you reload one turn before a GP pops, you'll always pop the same GP. This is also true if you reload some turns earlier. I'm not exactly sure how many turns you need to go back, but about 5 turns should be enough to trigger different RNG results. In that case, it should be possible to hold back the Spanish conquerers event a bit, probably enough for victory.

EDIT: AIwars.py shows that the event may trigger from 1200 AD onwards and within an interval of 10 turns (i.e. 100 years on normal speed). Given that the AI will not start a blitz war, this probably means that tricking the RNG should do the trick, if you're willing to reroll a few times.

Does that mean it MUST happen between years 1200 and 1300 AD? Wouldn't that mean no matter what it will always happen before the second UHV of 1300 AD is arrived? And, How far back should I be rerolling? (if it is happening at 1250) 1190 AD?

And what does it mean, that it will not start a blitz war? Like, what should I do different to try to change it, to change the RNG

edit: I tried 1190 and did different movements and attacks but they still came at 1250)
 
Last edited:
I tried declaring war on France and Portugal.

I can only declare war on Portugal on 1230 since they are newly spawned, so they only have two turns to take corboda. Portugal put three units next to corboda, and next turn could fight a crossbowman and a horse archer in corboda.

The next turn, though, they run instead to attack santiago and take it. :(
 
I went back 13 turns but they still attacked at 1250 AD so maybe rerolling doesnt work with this? idk
 
I desperately tried the nuclear option:

I deleted the defending units of the moors, and put a portugese unit next to the city.

They take it next turn, 1240.

But on 1250, Spain still declares war on Moors, despite there being no moors in iberia. (I assumed the invasion is triggered to whoever holds corboda but I guess not...)


Can someone tell me how to cancel out the code for this invasion? This has given me enough grief. It has put me off the game. I apologize. I know there is a lot of good work in this mod and it is very impressive.

I have notepad, where in the code can I go to stop this from happening
 
I came to apologize for spamming the forum, and to say that I resolved this issue by deleting spains units at 1250, and putting 1 moor unit next to each of their cities. I decided, since the only difference would be if I went back is to be giving those cities to moors instead of back to spain, there is not much difference. And it is not worth getting so upset about

I apologize again for spamming the forum
 
Back
Top Bottom