Help - Basics: Ancient Era Buildings - SOLVED

Porcupine390

Chieftain
Joined
Mar 8, 2018
Messages
2
So I'm still super new to this modding thing, and I decided to start out using the Civ IV Modbuddy program. I tried to use it but when I load into the game, the building made here doesn't appear in the game. If I add "PrereqTech="TECH_SAILING"" it will show up, but the whole point of the mod I'm making is that the new building will be an alternate option to the monument. Does anyone have a fix for this? (I know the yields are super high, its just a test)


<GameData>
<Types>
<Row Type="BUILDING_GAME_STUDIO" Kind="KIND_BUILDING" />
</Types>
<Buildings>
<Row BuildingType="BUILDING_GAME_STUDIO" Name="LOC_BUILDING_GAME_STUDIO_NAME" PrereqDistrict="DISTRICT_CITY_CENTER" PurchaseYield="YIELD_GOLD" Cost="100" AdvisorType="ADVISOR_GENERIC"/>
</Buildings>
<Building_YieldChanges>
<Row BuildingType="BUILDING_GAME_STUDIO" YieldType="YIELD_FAITH" YieldChange="25"/>
<Row BuildingType="BUILDING_GAME_STUDIO" YieldType="YIELD_CULTURE" YieldChange="25"/>
<Row BuildingType="BUILDING_GAME_STUDIO" YieldType="YIELD_GOLD" YieldChange="25"/>
</Building_YieldChanges>
<Building_GreatPersonPoints>
<Row BuildingType="BUILDING_GAME_STUDIO" GreatPersonClassType="GREAT_PERSON_CLASS_ENGINEER" PointsPerTurn="2"/>
</Building_GreatPersonPoints>
</GameData>
 
Such as it is that code works just fine for me in Vanilla. I threw it as-is into a testing mod I have.

Altho since there is no definition of a building icon I get a rando icon supplied by the game (this is normal), I also get LOC_BUILDING_GAME_STUDIO_NAME in the production panel and in the civilopedia since "LOC_BUILDING_GAME_STUDIO_NAME" is not defined into the LocalizedText database on the quick test I just ran.

Your yields and great person points are properly reflected in the city production panel and on the civilopedia page.

If you were looking for the building on the tech tree it would not show there because it is not tied to a technology.

Zipping and posting your mod as it is in the game's mods folder would help us to determine if there is some procedural mistake you are making.
 
I don't know if this was intentional, but after looking into it, I noticed the building info was in the Civilopedia. Taking the other comment into consideration, I took a look at the files, I realized that because I opened them in Notepad, it reformatted them so that they wouldn't load in the game. The only files loading were the ones that I hadn't needed to check, like the in-game text and descriptions.
 
Last edited:
Back
Top Bottom