New era not showing up in game creation list (no errors...)

  1. This is incorrect
    Code:
        <UpdateDatabase id="Text">
          <File>JomonTexts.xml</File>
        <UpdateDatabase>
    Text is loaded via UpdateText actions
  2. No <Row> command here so the entire contents of the file will fail in this case
    Code:
    <GameData>
        <MajorStartingUnits>
            <Unit>UNIT_SETTLER</Unit>
            <Era>ERA_JOMON_INCIPIENT</Era>
            <District>DISTRICT_CITY_CENTER</District>
            <Quantity>1</Quantity>
            <NoStartTile>0</NoStartTile>
            <OnDistrictCreated>0</OnDistrictCreated>
            <AiOnly>0</AiOnly>
            <MinDifficulty />
            <DifficultyDelta>0</DifficultyDelta>
        </MajorStartingUnits>
    </GameData>
  3. How do you know this is a safe 'Hash' number to use?
    Code:
    <GameData>
    	<Types>
    		<Row>
    			<Type>ERA_JOMON_INCIPIENT</Type>
    			<Hash>1616960521</Hash>
    			<Kind>KIND_ERA</Kind>
    		</Row>
    	</Types>
    </GameData>
    Hash numbers are generally auto-created
  4. Since you are adding to the eras table I am not sure you should not expect the game to place this new era at the end of the pre-existing eras
  5. also you are missing multiple needed '/' symbols in the modinfo file to "close" an action before "opening" another, which means the game cannot "handle" the instructions in your modinfo file and appears to be ignoring your code anyway.
  6. You are also missing a column closer symbol here
    Code:
    <StartingPopulationCapital>1<StartingPopulationCapital>
    and here
    Code:
    <StartingHousingCapital>0<StartingHousingCapital>
And if by "no errors" you mean that Modbuddy did not generate errors when you constructed the mod, Modbuddy does not create errors for incorrect code or file-usages. You have to run the mod and then look in Database.log, but because of issue #5 you would be getting nothing in Database.log either.
 
Last edited:
Thank you kindly sir - I see your posts all over the forum - and you deserve much credit for making this a modding community to be proud of, if you would like a coffee, PM me a PayPal button or address and I'll gladly shell out $5US for the good work you do with this community :) honestly you deserve it; if that is not your style, have a kudos from me and give yourself a supreme pat on the back for merit...
 
Back
Top Bottom