User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

End of Indian mutiny

Sun Nov 18, 2012 4:31 pm

Having captured Delhi and gained 198 national morale, I accepted the unconditional peace offer from Mughalistan. However, they still retain control of Meerut. Delhi is a British colony again, albeit with only 40 British CP and 101 Mughal CP. Meerut has 101 CP as well. Does this mean I have to declare war on them again later to get rid of them?

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Sun Nov 18, 2012 4:35 pm

Depends on the date and also the strength of remaining MUG troops...at some point, you need to "kill" them all more or less to get rid of them...must be before 1860
Image

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Nov 19, 2012 5:14 pm

Thanks, but what is meant by this:

PhilThib wrote:...must be before 1860


Will Mughalistan disappear after 1860?

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Mon Nov 19, 2012 5:17 pm

Only if defeated / conquered...
Image

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Nov 19, 2012 5:37 pm

Ok. I read in another post that when your NM jumps to 198 and Mughalistan sends you a peace offer with no conditions (not even white peace), you can accept it and get back your territory. I will update when I get to 1860.

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Nov 19, 2012 8:20 pm

I am now well into 1860 and Mughalistan has not yet disappeared. In fact, I have 97 relations with them and I can't forge a casus belli. They have 101% CP in Delhi and still 29% in Meerut. I have 0 in Meerut. Does this mean that I have to get back up to 100% CP from scratch?

Also, is it possible to get rid of the Mughals by SwitchFaction or ChangeFaction. If so, which one? I had a look and they have 4 units. I am wondering whether an event should have fired by now.

Thanks.

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Tue Nov 20, 2012 8:48 am

There is an event that triggers the end of the Mughals, which is : evt_nam_GBR_LastMughalEmperor1859

The thing is that it is not going to work as expected because the conditions you are in are different... I would suggest the following trick (make backup before). Find the GBR Events.sct file in the Event folder, then locate this event (around line 3863) and replace it by the following:
[color="#EE82EE"]
SelectFaction = $GBR
SelectRegion = $Delhi
StartEvent = evt_nam_GBR_LastMughalEmperor1859|1|2|evt_txt_GBR_LastMughalEmperor1859|Event-img_GBR_LastMughalEmperor1859|$Delhi|NULL

Conditions
EvalEvent = evt_nam_GBR_GreatMutinyIndia1857;=;1
MinDate = 1858/01/01
MaxDate = 1865/01/01

SelectFaction = $GBR

EvalRgnOwned = $Delhi
Probability = 100
SelectSubUnits = -1;FactionTags MUG;Domains $Land
EvalSubUnitCount = <=;50

Actions
DescEvent = evt_desc_GBR_LastMughalEmperor1859
ChgPopulation = -5;$ethKanauji;$relHinduist;$Area_Central_India

SelectFaction = $GBR
SelectSubUnits = -1;FactionTags MUG
AlterCuSubUnit = ApplyToList;Kill
AbsorbFaction = MUG;10;100;30;100;100;0;0

EndEvent[/color]
Image

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Wed Nov 21, 2012 11:42 am

Thank you very much PhilThib. The LastMughalEmperor event has fired. :) However, a problem remains. The Mughals still have 101% CP in Delhi, so I can't play any colonial decisions there at all. :( My CP is currently 40%, but I wouldn't mind the ability to construct more structures in the region some day.

Does anyone here know where I might find out how to manually get rid of the Mughal CP (a script tutorial maybe)? Thanks.

czert2
Brigadier General
Posts: 427
Joined: Sun May 06, 2012 1:33 am

Thu Nov 22, 2012 2:19 pm

Yes, i think that scrip tutorial is needed + info how to fire them :) . In my game one tribal nation which no longer exist have 101% CP on one regiobn of my colony ( have 45 CP here), thus making me imposible to play any colonial cards here, but since it is realy uniportant region, it is just just little annoing.

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Thu Nov 22, 2012 3:53 pm

Send a request to Pocus so a code fix could be made that former capital of tribal nations that don't own anything are reduced to 0% CP
Image

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Thu Nov 22, 2012 9:10 pm

Yes, the 101% CP is kind of annoying... especially now that non-national regions fire more often due to v1.03c. However, we have already covered it here. Please adapt the script for the region you have the problem. If you still have problems I can do it for you, but it's not that difficult. :)
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Fri Nov 23, 2012 11:03 am

Thanks Kensai.

Am I right in thinking that I can put this into the events folder, but with the faction, region etc. changed? If so do I need to add a date as well (I have not done this before)?

Code:
SelectFaction = $CMN
SelectRegion = $Ankara
StartEvent = Fixing Colonial Penetration in Anatolia (reloaded)|1|1|NULL|NULL|$Ankara|NULL
Actions

SelectFaction = $FRA

SelectRegion = $Ankara
SetColStatusArea = $Colony_Anatolia;$colUnclaimed
SetColonialPen = 0

SelectRegion = $Eskisehir
SetColStatusArea = $Colony_Anatolia;$colUnclaimed
SetColonialPen = 0

SelectRegion = $Zonguldak
SetColStatusArea = $Colony_Anatolia;$colUnclaimed
SetColonialPen = 0

EndEvent

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Nov 26, 2012 6:06 pm

Can anyone help me with this please? I don't want to mess up the files. :(

User avatar
Jim-NC
Posts: 2981
Joined: Wed Feb 25, 2009 4:21 pm
Location: Near Region 209, North Carolina

Mon Nov 26, 2012 6:48 pm

You don't need a date. A date only ensures that it doesn't fire before that date (or after the date). So run the script without the date.

The best way to test the script is to
1. Save your game under a different name
2. Put it in the events folder as a separate script, type the name of the script in the 1850 GC.sct
3. Process a turn under the new save game name
4. Check the logs to ensure the script ran (look in the scripts folder for the last file - this will give you a report of whast each script did). If you get an error running the turn (and you didn't before now, then the script is bad). Troubleshooting is the most challenging part of this.
Remember - The beatings will continue until morale improves.
[SIGPIC][/SIGPIC]

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Nov 26, 2012 11:06 pm

Any ideas why this didn't work? It fired and I got a message, but nothing actually happened and the mugs still have 101%CP.

Edit: sorry, forgot to show the script I used.
[color="#FF0000"]
SelectFaction = $GBR
SelectRegion = $Delhi
StartEvent = Fixing Colonial Penetration in India (reloaded)|1|1|NULL|NULL|$Delhi|NULL
Actions

SelectFaction = $MUG

SelectRegion = $Delhi
SetColStatusArea = $Colony_British India;$colUnclaimed
SetColonialPen = 0

EndEvent[/color]

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Tue Nov 27, 2012 10:35 am

Are the Mughalis still in control of Delhi? You should run the script when you have conquered them otherwise their mere military presence will portray this as their national region, considering the high loyalty they have there.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Tue Nov 27, 2012 11:00 am

No, they have not been in Delhi for 2+ years now. However, Delhi is still a Mughal "national region" and the script didn't help this problem. I have 100% MC there, but there is 100% Mughal loyalty as well.

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Tue Nov 27, 2012 2:24 pm

Have you tried the change regional owner command and it didn't work?
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Tue Nov 27, 2012 7:50 pm

I just ran this command and it changed the 100% mug loyalty to 100% British loyalty. Unfortunately, they still have 101% CP and Delhi is their "national region". Is there any type of event which could remove the "national region" attribute of Delhi for the mugs?

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Wed Nov 28, 2012 10:07 pm

Would it be helpful if I were to upload my savegame (what files are needed?), so that learned folk could see the problem? :confused:

User avatar
Jim-NC
Posts: 2981
Joined: Wed Feb 25, 2009 4:21 pm
Location: Near Region 209, North Carolina

Wed Nov 28, 2012 10:22 pm

Can't hurt
Remember - The beatings will continue until morale improves.

[SIGPIC][/SIGPIC]

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Wed Nov 28, 2012 11:58 pm

Do it, Egg! Btw, try to rerun now the script you were running (change the name for it to rerun, just in case).
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Fri Nov 30, 2012 9:32 pm

Ok folks, I reran the scripts (both of them) and nothing happened. Please could someone explain how to attach the .ord and .trn files, because it says they are invalid. Thanks.

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Dec 03, 2012 6:04 pm

Any ideas?

User avatar
Jim-NC
Posts: 2981
Joined: Wed Feb 25, 2009 4:21 pm
Location: Near Region 209, North Carolina

Mon Dec 03, 2012 6:39 pm

did you try to .zip or .rar the files before you attempted to post to the website? Please put the current and last turn into the file (so you will have 2 .trn and 2 .ord files). That way we can see the script processing.
Remember - The beatings will continue until morale improves.

[SIGPIC][/SIGPIC]

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Dec 03, 2012 7:34 pm

Err. Well...I have played quite a few turns since applying the scripts (all four of them), but I can upload them too if that will help anyone work out what's going on.

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Mon Dec 03, 2012 8:11 pm

[ATTACH]20917[/ATTACH][ATTACH]20918[/ATTACH]

Ok, here are the scripts I used and my savegame. Thanks in advance to anyone kind enough to take a look. :)
Attachments
Turn.zip
(2.94 MiB) Downloaded 155 times
Scripts.zip
(1.48 KiB) Downloaded 171 times

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Sat Dec 08, 2012 6:14 pm

1) I believe that the reason why I can't remove the 101% CP is because of the "Mughal National Region/Objective Town" status, since the "ChangeRgnOwner" command changed the loyalty but not the CP (suggesting that something else is keeping the CP at 101%). Would it be possible to manually remove this status by accessing files somewhere?

2) I understand that the French 101% CP and "[color="#FF0000"]non[/color]-national region" status in Van Diemen's regions was eventually fixed. Was there anything different in his script that is not in any of the ones that I used?

@Pocus/PhilThib: could any of the devs create a small script to remove the "Mughal National Region" attribute or simply tell me how to write such a script please?

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Tue Dec 11, 2012 2:33 pm

I don't know what is going wrong, have you tried to adapt Van Diemen's script for your own region? The Mughal National Region attribute will change on the map (F8) once the CP of said nation is set to 0 through a script. The event should definitely have the following commands:

Code: Select all

SelectFaction = $MUG
SelectRegion = $Delhi
SetColonialPen = 0
SetColStatusArea = $Colony_British_India;$colUnclaimed


This in order: selects the Mughalis, selects the region of Delhi, sets for the Mughalis 0% CP, defines the whole colonial area of British India (which includes Delhi) to unclaimed by the Mughalis status. If more regions are concerned in the same colony, repeat the 2nd and 3rd line adapting the name of the region (you will find all region names in the Areas file in the GameData folder). If the region is out of this colony, you should adapt the 4th line as well. What can I say, it worked for our game.

Please do NOT confuse colonial areas, with (simple) areas, theaters, etc.

Adapt the script you were running so it can include the above commands. Change its name for it to run (it won't if it is already referenced). Read the script log in the Scripts folder and post it here.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Egg Bub
Major
Posts: 243
Joined: Tue Aug 14, 2012 11:57 am
Location: Scotland

Tue Dec 11, 2012 6:39 pm

I'm afraid this still hasn't worked, although I may be doing something silly. This is the exact code of the script I used:

[color="#FF0000"]SelectFaction = $CMN
SelectRegion = $Delhi
StartEvent = Fixing Colonial Penetration in India (reloaded2)|1|1|NULL|NULL|$Delhi|NULL
Actions

SelectFaction = $MUG
SelectRegion = $Delhi
SetColonialPen = 0
SetColStatusArea = $Colony_British_India;$colUnclaimed

EndEvent[/color]

The script fired and I received a message saying it happened, which took me to Delhi. I then saw that the Mughals still have 101%CP.

This is the script log: [ATTACH]21057[/ATTACH]

Thanks for the help so far.
Attachments
Script_log_3files.zip
(1010.94 KiB) Downloaded 206 times

Return to “Pride of Nations”

Who is online

Users browsing this forum: No registered users and 19 guests