Hi
i'm new to modding. all i did so far was alter some existing mods, and alter .xml files directly. my biggest problem is finding what to alter. because there are so many .xml files.
I'm trying to create a mod that removes the era points from goody huts(i like exploration and playing with lots of goody huts, but in this way i earn to much era points in the first few ages, which makes it hard to avoid a dark age in the last era). the mod is not working and i'm clueless to why, spent many hours trying. Database.log is not helping, it says everything is ok.
i tried with below lines, but all fail.
UPDATE Moments SET EraScore = 0 WHERE Name= 'LOC_MOMENT_GOODY_HUT_TRIGGERED';
DELETE FROM Moments WHERE Name= 'LOC_MOMENT_GOODY_HUT_TRIGGERED';
UPDATE Moments SET EraScore = 0 MomentType= 'MOMENT_GOODY_HUT_TRIGGERED';
DELETE FROM Moments WHERE MomentType= 'MOMENT_GOODY_HUT_TRIGGERED';
setting erascore in below line to 0 works though...
<Row MomentType="MOMENT_GOODY_HUT_TRIGGERED" Name="LOC_MOMENT_GOODY_HUT_TRIGGERED" Description="LOC_MOMENT_GOODY_HUT_TRIGGERED_DESCRIPTION" InstanceDescription="LOC_MOMENT_GOODY_HUT_TRIGGERED_INSTANCE_DESCRIPTION" InterestLevel="1" IconTexture="MomentSmall_Exploration" EraScore="0" MinimumGameEra="ERA_ANCIENT" MaximumGameEra="ERA_ANCIENT"/>
thanks for your time reading this!
i'm new to modding. all i did so far was alter some existing mods, and alter .xml files directly. my biggest problem is finding what to alter. because there are so many .xml files.
I'm trying to create a mod that removes the era points from goody huts(i like exploration and playing with lots of goody huts, but in this way i earn to much era points in the first few ages, which makes it hard to avoid a dark age in the last era). the mod is not working and i'm clueless to why, spent many hours trying. Database.log is not helping, it says everything is ok.
i tried with below lines, but all fail.
UPDATE Moments SET EraScore = 0 WHERE Name= 'LOC_MOMENT_GOODY_HUT_TRIGGERED';
DELETE FROM Moments WHERE Name= 'LOC_MOMENT_GOODY_HUT_TRIGGERED';
UPDATE Moments SET EraScore = 0 MomentType= 'MOMENT_GOODY_HUT_TRIGGERED';
DELETE FROM Moments WHERE MomentType= 'MOMENT_GOODY_HUT_TRIGGERED';
setting erascore in below line to 0 works though...
<Row MomentType="MOMENT_GOODY_HUT_TRIGGERED" Name="LOC_MOMENT_GOODY_HUT_TRIGGERED" Description="LOC_MOMENT_GOODY_HUT_TRIGGERED_DESCRIPTION" InstanceDescription="LOC_MOMENT_GOODY_HUT_TRIGGERED_INSTANCE_DESCRIPTION" InterestLevel="1" IconTexture="MomentSmall_Exploration" EraScore="0" MinimumGameEra="ERA_ANCIENT" MaximumGameEra="ERA_ANCIENT"/>
thanks for your time reading this!