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

MattyG

Attention is love.
15 Badges
Mar 23, 2003
3.690
1
  • Crusader Kings II: The Old Gods
  • Deus Vult
  • Diplomacy
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings III
  • Europa Universalis 4: Emperor
I know that pirate leaders can be included in the game through a specific file named leaders.pir, wherein the leaders will appear if their stated location has a pirate vessel in it at the time they awaken.

Can the same thing be done with rebel leaders with a file named leaders.reb?

Or is there another way?
 
Well, all I know is that there is a file in Db\Leaders called "leaders.rev" (note rev, not reb) that contains:
Code:
	historicalleader = {
		id = { type = 6 id = 0370 }
		category = general
		name = "Pugatchev"
		startdate = {
			year=1770
		}
		deathdate = {
			year=1785
		}
		rank = 0
		movement = 4
		fire = 2
		shock = 3
		siege = 0
		special = 1
		remark = "Revolt historicalleader"
	}
I have never seen this leader appear, though (possibly because I rarely reach 1770).
 
Nice try, but it didn't work.

I think because that set of definitions is for a rebel nation, which that whole entry permits to exist. If the rebel state did emerge, then those deinifitions point it to a set of monarchs and leaders. But the leaders can't be accessed by rebels simply existing somewhere in the game.
 
You have to define the leaders in the .inc file and it will work. I have a leader file for Pirates...it will not load leaders.pir, so I define in .inc file...

Code:
country = { 
    tag = PIR
    ai = { 
        flags = { nonco = no } 
        combat = { } 
        continent = { } 
        area = { Madagascar Formosa Sea } 
        region = { Carribean CarribeanSea SWIndianSea SEAtlanticSea TagoSea NWIndianSea ENACoastSea WCAtlanticSea SEPacificSea ThaiSea ECAtlanticSea ChinaSea GulfSea EPacificSea JapanSea WMedSea } 
        war = 0
        ferocity = no 
        base = 0.100 
        front = 1.000 
        expansion = 0 
        tradingpost = 0 
        neighbour = 0 
        enemies = 0 
        traders = 0 
        monopoly = 0 
        counterreform = no 
        garrison = { 
            fortress = 1.000 
            strategic = 1.000 
            size = 1.000 
            supply = 1.000 
            war = 1.000 
            } 
        conquer = { 
            enemy = 99.000 
            supply = 99.000 
            distance = 0.100 
            owner = 0.100 
            notsupply = 99.000 
            base = 99.000 
            } 
        }
    vp = -6000.000
    religion = { type = pagan } 
    diplomacy = { 
    } 
    knownprovinces = { }  
    ownedprovinces = { } 
    controlledprovinces = { } 
    nationalprovinces = { } 
    monarchtable = { } 
    leadertable = { 
	historicalleader = {
		id = { type = 6 id = 0326 }
		category = admiral
		name = "Morgan"
		startdate = {
			year=1655
		}
		deathdate = {
			year=1688
		}
		location = 966
		rank = 1
		movement = 6
		fire = 4
		shock = 4
		siege = 1
		remark = "Carribean Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0327 }
		category = admiral
		name = "Koxinga"
		startdate = {
			year=1645
		}
		deathdate = {
			year=1683
		}
		location = 1085
		rank = 1
		movement = 6
		fire = 1
		shock = 4
		siege = 0
		remark = "China Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0328 }
		category = admiral
		name = "L'Olonnais"
		startdate = {
			year=1650
		}
		deathdate = {
			year=1668
		}
		location = 1044
		rank = 3
		movement = 6
		fire = 5
		shock = 5
		siege = 3
		remark = "Carribean Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0329 }
		category = admiral
		name = "Le Basque"
		startdate = {
			year=1640
		}
		deathdate = {
			year=1660
		}
		location = 969
		rank = 10
		movement = 6
		fire = 5
		shock = 5
		siege = 0
		remark = "Carribean Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0330 }
		category = admiral
		name = "Bonny"
		startdate = {
			year=1700
		}
		deathdate = {
			year=1720
		}
		location = 966
		rank = 12
		movement = 4
		fire = 4
		shock = 4
		siege = 0
		remark = "Carribean Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0331 }
		category = admiral
		name = "Blackbeard"
		startdate = {
			year=1702
		}
		deathdate = {
                        day = 22
                        month = november
			year = 1718
		}
		location = 967
		rank = 3
		movement = 6
		fire = 6
		shock = 6
		siege = 0
		remark = "Carribean Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0332 }
		category = admiral
		name = "Kidd"
		startdate = {
			year=1689
		}
		deathdate = {
			year=1700
		}
		location = 966
		rank = 2
		movement = 6
		fire = 4
		shock = 5
		siege = 0
		remark = "Carribean Sea"
	}
	historicalleader = {
		id = { type = 6 id = 0333 }
		category = admiral
		name = "Bowen"
		startdate = {
			year=1698
		}
		deathdate = {
			year=1704
		}
		location = 1186
		rank = 7
		movement = 6
		fire = 3
		shock = 3
		siege = 0
		remark = "Indian Ocean"
	}
	historicalleader = {
		id = { type = 6 id = 0334 }
		category = admiral
		name = "Howard"
		startdate = {
			year=1698
		}
		deathdate = {
			year=1703
		}
		location = 1071
		rank = 6
		movement = 6
		fire = 4
		shock = 5
		siege = 0
		remark = "Indian Ocean"
	}
	historicalleader = {
		id = { type = 6 id = 0335 }
		category = admiral
		name = "Gourges"
		startdate = {
			year=1715
		}
		deathdate = {
			year=1730
		}
		location = 905
		rank = 9
		movement = 5
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100326 }
		category = admiral
		name = "Tew"
		startdate = {
			year= 1690
		}
		deathdate = {
                        month = june
			year=1695
		}
		location = 1127
		rank = 8
		movement = 4
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100327 }
		category = admiral
		name = "Every"
		startdate = {
			year=1694
		}
		deathdate = {
			year=1720
		}
		location = 1060
		rank = 6
		movement = 6
		fire = 3
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100328 }
		category = admiral
		name = "England"
		startdate = {
			year=1717
		}
		deathdate = {
			year=1721
		}
		location = 1121
		rank = 8
		movement = 5
		fire = 3
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100329 }
		category = admiral
		name = "Angria"
		startdate = {
			year=1710
		}
		deathdate = {
			year=1729
		}
		location = 1069
		rank = 2
		movement = 5
		fire = 4
		shock = 3
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100330 }
		category = admiral
		name = "Laffite"
		startdate = {
			year=1810
		}
		deathdate = {
			year=1820
		}
		location = 905
		rank = 4
		movement = 5
		fire = 3
		shock = 3
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100331 }
		category = admiral
		name = "Yih"
		startdate = {
			year=1801
		}
		deathdate = {
			year=1808
		}
		location = 1085
		rank = 1
		movement = 5
		fire = 4
		shock = 3
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100332 }
		category = admiral
		name = "Yih Sao"
		startdate = {
			year=1808
		}
		deathdate = {
			year=1820
		}
		location = 1085
		rank = 1
		movement = 6
		fire = 4
		shock = 4
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100333 }
		category = admiral
		name = "Davis"
		startdate = {
			year=1718
		}
		deathdate = {
			year=1722
		}
		location = 1365
		rank = 8
		movement = 5
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100334 }
		category = admiral
		name = "Bonnet"
		startdate = {
			year = 1717
		}
		deathdate = {
                        month = november
			year = 1718
		}
		location = 909
		rank = 5
		movement = 5
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100335 }
		category = admiral
		name = "Vane"
		startdate = {
			year=1716
		}
		deathdate = {
                        month = november
			year=1720
		}
		location = 862
		rank = 7
		movement = 5
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100336 }
		category = admiral
		name = "Bellamy"
		startdate = {
			year=1715
		}
		deathdate = {
                        day = 17
                        month = may
			year=1717
		}
		location = 908
		rank = 10
		movement = 5
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100337 }
		category = admiral
		name = "Black Bart"
		startdate = {
                        month = june
			year=1719
		}
		deathdate = {
                        day = 10
                        month = february
			year=1722
		}
		location = 1128
		rank = 4
		movement = 5
		fire = 3
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100338 }
		category = admiral
		name = "Calico Jack"
		startdate = {
			year=1718
		}
		deathdate = {
                        day = 27
                        month = november
			year=1721
		}
		location = 968
		rank = 6
		movement = 4
		fire = 2
		shock = 2
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100339 }
		category = admiral
		name = "de Grammont"
		startdate = {
			year=1674
		}
		deathdate = {
			year=1687
		}
		location = 1106
		rank = 3
		movement = 5
		fire = 3
		shock = 3
		siege = 0
	}
	historicalleader = {
		id = { type = 6 id = 100340 }
		category = admiral
		name = "Braziliano"
		startdate = {
			year=1654
		}
		deathdate = {
			year=1669
		}
		location = 903
		rank = 6
		movement = 5
		fire = 2
		shock = 3
		siege = 0
	}
           } 
    technology = { 
        land = { level = 0 value = 1 } 
        naval = { level = 4 value = 1 } 
        stability = { level = 3 value = 0 } 
        trade = { level = 0 value = 1 } 
        infra = { level = 0 value = 1 } 
        group = orthodox 
    }
}

Works with Rebels too. Warning...if no army/navy of a minimum size is present, leader will appear in a random province that already contains an army/navy.
 
Interesting. I'll try this approach. But the AGCEEP has a leader.pir file, so either they don't know something you do, or the other way around. :eek:

But I'm going to try what you suggest. Thanks a lot!
 
MattyG said:
Afraid that didn't work. Hmmmm.

Hmm, that's wierd because I have gotten it to work. Just to be clear, an army is not spawned, one has to be present already. As for the leaders.pir, it's a leftover from Vanilla Eu1.
 
Yes, the revolts were done via event, and I offset the birth of the rebel leaders by ten days, to ensure that, even with the game's lag on firing specific-date events, that the rebel troops would be in the specified provinces in time for their birth.

In case the names simply didn't appear, I made sure to watch the combats to see if leader values appeared in the cambat stat box thingies. Nothing more than 2 for the rebels.

I am glad to be wrong and hope that YodaMaster can make it work, then I can go back and look again at what I've done to see if there are errors.
 
PROBLEM SOLVED.

I had to add the provinces to the list of known provinces, so that it knew where to place the leaders. I had left the known provinces list unedited, so all it knew were sea zones. Duh. :eek:o

Thanks again for your help with this.

MattyG