BlackEmperor
Chieftain
- Joined
- Jan 7, 2017
- Messages
- 82
Hi,
so I was testing whether it's possible to guarantee that a leader gets a specific hidden agenda. There are a few leaders who have some bias towards certain hidden agendas, such as Ghandi having a 70% chance (I believe) to get the Nuke Lover hidden agenda. I thought that in order to achieve my goal, I'd simply have to add the same code to another leader and just set the chance to 100%, like this (using an SQL file):
I tried that for a couple other leaders as well, however, it doesn't really seem to work properly. In fact, while one of the leaders had the correct hidden agenda, the other leaders didn't even have a hidden agenda at all (it only showed their historical agenda in the diplo screen and doing what I intended for them to trigger their supposed hidden agenda, such as taking barb camps for Trajan here, didn't do anything either).
I'm wondering if I was missing something? I've checked for any typos, started a new game (obviously), Database.log doesn't suggest any errors.
so I was testing whether it's possible to guarantee that a leader gets a specific hidden agenda. There are a few leaders who have some bias towards certain hidden agendas, such as Ghandi having a 70% chance (I believe) to get the Nuke Lover hidden agenda. I thought that in order to achieve my goal, I'd simply have to add the same code to another leader and just set the chance to 100%, like this (using an SQL file):
Code:
INSERT INTO AgendaPreferredLeaders
(AgendaType, LeaderType, PercentageChance)
VALUES
('AGENDA_CIVILIZED', 'LEADER_TRAJAN', '100');
I'm wondering if I was missing something? I've checked for any typos, started a new game (obviously), Database.log doesn't suggest any errors.