• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(16843)

Captain
May 7, 2003
300
0
Visit site
I'm sure there is a variant of this event somewhere in C.O.R.E., but I assumed this would be pretty easy to make this mod, as well as give me some experience at writing my own mod.

This event should fire when the Great Britain & Northern Ireland are completely overtaken by the Axis. If Japan is not at war with the British, the Indians will declare independence.

This is in the events/uk.txt file:

#########################################################################
# British Occupation - Premature Rebellion of India
#########################################################################
event = {
id = 52112
random = no
country = ENG

trigger = {
war = { country = ENG country = GER }
control = { province = 1446 data = ENG } # Delhi
NOT = {
war = { country = ENG country = JAP }
war = ( country = ENG country = SOV }
exists = IND
control = { province = 488 data = -1 } #Newcastle not controlled by UK
control = { province = 489 data = -1 } #Manchester not controlled by UK
control = { province = 490 data = -1 } #Sheffield not controlled by UK
control = { province = 497 data = -1 } #Birmingham not controlled by UK
control = { province = 498 data = -1 } #Coventry not controlled by UK
control = { province = 499 data = -1 } #London not controlled by UK
control = { province = 500 data = -1 } #Bristol not controlled by UK
control = { province = 501 data = -1 } #Plymouth not controlled by UK
control = { province = 502 data = -1 } #Southampton not controlled by UK
control = { province = 503 data = -1 } #Portsmouth not controlled by UK
control = { province = 491 data = -1 } #Cardiff not controlled by UK
control = { province = 493 data = -1 } #Belfast not controlled by UK
control = { province = 482 data = -1 } #Scapa Flow not controlled by UK
control = { province = 483 data = -1 } #Inverness not controlled by UK
control = { province = 484 data = -1 } #Aberdeen not controlled by UK
control = { province = 485 data = -1 } #Perth not controlled by UK
control = { province = 486 data = -1 } #Glasgow not controlled by UK
control = { province = 487 data = -1 } #Edinburgh not controlled by UK

}
}

name = "Revolt in India"
desc = "With the British Isles under Axis control and the the British Home Office in disarray, the Quit India Movement formally declares the Indian Subcontinent a self-governing nation."
style = 0
action_a = {
name = "OK" # Indian Independence
command = { type = independence which = IND value = 1 }
command = { type = dissent value = -10 }

}
}


The scenario starts up correctly, but the event won't fire in my current game. Is there something in here that is incorrect? I would greatly appreciate some feedback.
 

unmerged(5205)

Field Marshal
Aug 4, 2001
2.703
0
Visit site
Try this. It should work:

#######################
# British Occupation - Premature Rebellion of India
##################################################
#######################
event = {
id = 52112
random = no
country = ENG

trigger = {
war = { country = ENG country = GER }
control = { province = 1446 data = ENG } # Delhi
NOT = {
war = { country = ENG country = JAP }
war = ( country = ENG country = SOV }
exists = IND
control = { province = 488 data = -1 } #Newcastle not controlled by UK
control = { province = 489 data = -1 } #Manchester not controlled by UK
control = { province = 490 data = -1 } #Sheffield not controlled by UK
control = { province = 497 data = -1 } #Birmingham not controlled by UK
control = { province = 498 data = -1 } #Coventry not controlled by UK
control = { province = 499 data = -1 } #London not controlled by UK
control = { province = 500 data = -1 } #Bristol not controlled by UK
control = { province = 501 data = -1 } #Plymouth not controlled by UK
control = { province = 502 data = -1 } #Southampton not controlled by UK
control = { province = 503 data = -1 } #Portsmouth not controlled by UK
control = { province = 491 data = -1 } #Cardiff not controlled by UK
control = { province = 493 data = -1 } #Belfast not controlled by UK
control = { province = 482 data = -1 } #Scapa Flow not controlled by UK
control = { province = 483 data = -1 } #Inverness not controlled by UK
control = { province = 484 data = -1 } #Aberdeen not controlled by UK
control = { province = 485 data = -1 } #Perth not controlled by UK
control = { province = 486 data = -1 } #Glasgow not controlled by UK
control = { province = 487 data = -1 } #Edinburgh not controlled by UK

}
}

name = "Revolt in India"
desc = "With the British Isles under Axis control and the the British Home Office in disarray, the Quit India Movement formally declares the Indian Subcontinent a self-governing nation."
style = 0
date = { day = 1 month = january year = 1936 }
deathdate = { day = 1 month = january year = 1947 }

action_a = {
name = "OK" # Indian Independence
command = { type = independence which = IND value = 1 }
command = { type = dissent value = -10 }

}
}
 

unmerged(16843)

Captain
May 7, 2003
300
0
Visit site
Originally posted by proudirishmick
no problem. I think that India should have claims on Portuguese owned Goa also. What are you going to do with Pakistan?

Goa independence didn't occur until the mid 1950's, so I'll just add a claim.

I might deal with Pakistan, Burma and the conflicts after independence later, but for now the system works. Quick and dirty history, but playable nonetheless. :D