kaetzer
Chieftain
hello everyone
having trouble getting this to work and have no idea what else to do
I added dependencies: nothing
added load order, high number: nothing
switched from xml to sql: nothing
checked the modding.log: no errors concerning this mod
it should give the designated leaders a fixed hidden agenda, but they are all still random
modinfo:
sql:
i looked at another mod for help, since my experience is VERY limited
the mod had an sql with this inside: (excerpt)
i also tried 70% instead of 100% (like for ghandi's "nuke happy" trait)
help would be awesome
greetings
kaetzer
having trouble getting this to work and have no idea what else to do
I added dependencies: nothing
added load order, high number: nothing
switched from xml to sql: nothing
checked the modding.log: no errors concerning this mod
it should give the designated leaders a fixed hidden agenda, but they are all still random
modinfo:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="7e4a2cdc-3999-4083-a843-d840787c4900" version="1">
<Properties>
<Name>Custom Agendas</Name>
<Description>no random hidden agendas</Description>
<Created>1588367383</Created>
<Teaser>no random hidden agendas</Teaser>
<Authors>kaetzer</Authors>
<CompatibleVersions>1.2,2.0</CompatibleVersions>
</Properties>
<Dependencies>
<Mod id="4873eb62-8ccc-4574-b784-dda455e74e68" title="Expansion: Gathering Storm" />
<Mod id="E2749E9A-8056-45CD-901B-C368C8E83DEB" title="DLC: Persia and Macedon Civilization Pack" />
<Mod id="1B28771A-C749-434B-9053-D1380C553DE9" title="Expansion: Rise and Fall" />
</Dependencies>
<Files>
<File>Agendas.sql</File>
</Files>
<UpdateDatabase id="Gameplay">
<Properties>
<LoadOrder>10000</LoadOrder>
</Properties>
<Items>
<File>Agendas.sql</File>
</Items>
</UpdateDatabase>
</Mod>
sql:
Code:
INSERT INTO AgendaPreferredLeaders
(LeaderType, AgendaType, PercentageChance)
VALUES ('LEADER_CHANDRAGUPTA', 'AGENDA_DARWINIST', 100),
VALUES ('LEADER_CYRUS', 'AGENDA_DARWINIST', 100),
VALUES ('LEADER_GORGO', 'AGENDA_DARWINIST', 100),
VALUES ('LEADER_HARDRADA', 'AGENDA_DARWINIST', 100),
VALUES ('LEADER_TRAJAN', 'AGENDA_DARWINIST', 100);
i looked at another mod for help, since my experience is VERY limited
the mod had an sql with this inside: (excerpt)
Code:
INSERT INTO AgendaPreferredLeaders
(LeaderType, AgendaType, PercentageChance)
VALUES ('LEADER_BARBAROSSA', 'AGENDA_IDEOLOGUE', 25),
i also tried 70% instead of 100% (like for ghandi's "nuke happy" trait)
help would be awesome
greetings
kaetzer