• 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(458565)

Second Lieutenant
1 Badges
Feb 27, 2012
129
0
  • Crusader Kings II
Anyone who's played a 1.05c game in the Mediterranean has undoubtedly observed the Coastal Wars waged by Genoa, Pisa, and Venice. In an effort to curtail the use of the Coastal Republic Claim, it has been suggested that the claim be restricted to neighboring provinces (in the way that many mods restrict Holy Wars).

I've some experience tinkering with the Crusader King txt files, but its language still eludes me (namely, the use of brackets). Below is the vanilla entry for the Coastal Republic Claim in cb_types.txt. Emboldened are the lines I've added to implement the aforementioned change. Simply put, is this formatted correctly?

can_use = {
ROOT = {
is_republic = yes
capital_scope = {
port = yes
any_realm_province = {
any_neighbor_province = {

}
}
}
 

Meneth

Crusader Kings 3 Programmer
153 Badges
Feb 9, 2011
10.056
5.378
www.paradoxwikis.com
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normand 44 Sign-up
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Magicka: Wizard Wars Founder Wizard
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: El Dorado
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH: Flashpoint
  • Crusader Kings II: Conclave
  • Surviving Mars
  • Cities: Skylines Industries
  • Stellaris: Galaxy Edition
  • BATTLETECH
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Stellaris: Humanoids Species Pack
  • Prison Architect
  • Crusader Kings II: The Old Gods
  • Cities: Skylines - Campus
  • Hearts of Iron IV: No Step Back
  • BATTLETECH - Digital Deluxe Edition
  • Crusader Kings Complete
  • Cities: Skylines - Parklife
  • Europa Universalis IV
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis III Complete
  • Cities: Skylines - Mass Transit
  • Europa Universalis III Complete
  • Cities: Skylines - Green Cities
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Rule Britannia
It's formatted correctly from what I can see, but in its current form it wouldn't do anything as you're not checking any conditions, just changing scope.
Instead, you'd want something like this:
Code:
any_realm_province = {    any_neighbor_province = {
        owner = {
            top_liege = {
                character = FROM
            }
        }
    }
}
Here you're checking if any province bordering your realm is in the realm of the character you're attacking (FROM).
 

Arko

Red zone
45 Badges
Jul 1, 2009
7.087
1.123
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings III
  • Deus Vult
  • Cities: Skylines
  • Magicka
It's formatted correctly from what I can see, but in its current form it wouldn't do anything as you're not checking any conditions, just changing scope.
Instead, you'd want something like this:
Code:
any_realm_province = {    any_neighbor_province = {
        owner = {
            top_liege = {
                character = FROM
            }
        }
    }
}
Here you're checking if any province bordering your realm is in the realm of the character you're attacking (FROM).

shouldn't it make ignoring oversea province like corsica or sardegna ?
 

Meneth

Crusader Kings 3 Programmer
153 Badges
Feb 9, 2011
10.056
5.378
www.paradoxwikis.com
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normand 44 Sign-up
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Magicka: Wizard Wars Founder Wizard
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: El Dorado
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH: Flashpoint
  • Crusader Kings II: Conclave
  • Surviving Mars
  • Cities: Skylines Industries
  • Stellaris: Galaxy Edition
  • BATTLETECH
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Stellaris: Humanoids Species Pack
  • Prison Architect
  • Crusader Kings II: The Old Gods
  • Cities: Skylines - Campus
  • Hearts of Iron IV: No Step Back
  • BATTLETECH - Digital Deluxe Edition
  • Crusader Kings Complete
  • Cities: Skylines - Parklife
  • Europa Universalis IV
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis III Complete
  • Cities: Skylines - Mass Transit
  • Europa Universalis III Complete
  • Cities: Skylines - Green Cities
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Rule Britannia
shouldn't it make ignoring oversea province like corsica or sardegna ?
It would, yes. One workaround would be having an exception for any province in the same de jure kingdom:
Code:
OR = {	ROOT = {
		owner = {
			any_realm_province = {
				any_neighbor_province = {
					owner = {
						top_liege = {
							character = FROM
						}
					}
				}
			}
		}
	}
	FROM = {
		kingdom = {
			ROOT = {
				kingdom = {
					title = PREVPREV
				}
			}
		}
	}
}
This would have to be inserted into can_use_title.
 

Closet Skeleton

Field Marshal
52 Badges
Aug 8, 2011
2.503
498
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Crusader Kings II
  • King Arthur II
  • Crusader Kings II: Charlemagne
  • Semper Fi
  • Sengoku
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Pillars of Eternity
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Rise of Prussia
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
If you're going to stop Genoa and Venice going after Krete, the Aegean Islands or Kaffa you might as well just cut the cassus belli completely.

Forcing the AI to control long coastal blocks centered on its capital doesn't make much sence.
 

waylit1

Captain
27 Badges
Jun 11, 2010
333
0
  • Crusader Kings II
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Crusader Kings II: Jade Dragon
  • Age of Wonders III
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • 500k Club
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Cities: Skylines
Here are two problems with Republic Coastal Wars in 1.05c:

1 - The Republics rise to overseas permanent power about 100 years before they really should. Yes, they played a role in the first two Crusades, but only really within the scope of the Crusades themselves. No Crusades = no Genoans sailing troops to the Holy Land.

2 - The Republics take territory from places they were incentivized not to take, like Catholic Italy. There was this Pope guy...and around 1100, he was not too keen on the olde Feudal Structure being torn down. Though this eventually happened, in this game the Republics seem to eradicate Feudalism from Italy fairly quickly, and then it never goes back. The problem? Hardly any CBs on Republics, and you can't marry into them...so it takes these places out of The Game for the player.

My suggestions:

1 - Remove starting buildings from Republics, to slow their development. It is not like anybody has CBs on them, anyway.

2 - Restrict the Coastal CB to non-Catholics only. Then we might actually see Genoa in the Crimea rather than...Capua.
 

Multicast

Second Lieutenant
39 Badges
Feb 21, 2012
138
0
  • Cities in Motion 2
  • Warlock: Master of the Arcane
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • The Kings Crusade
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Heir to the Throne
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Hearts of Iron III
  • A Game of Dwarves
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Prison Architect
  • Age of Wonders III
  • Crusader Kings Complete
  • Knights of Honor
  • Stellaris
  • Magicka 2
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Rome: Vae Victis
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Another possible suggestion. Simply have the CB only give the city holding in the county to the republic, the castle and temple remain with the feudal lord. That also fixes the problem of feudal lords not having a CB on republic. Should the feudal leader grow strong enough, he can retake his city with a dejure claim war.