PDA

View Full Version : Enabling buildings quick question



lancelot
03-12-2010, 00:56
Im trying to open up the higher level cannon buildings for the byzantines. And Im using the retrofit/grand unit add on mod.

To this end Ive gone into the data, export_descr_buildings file. The first city based gun building is the gunsmith with this entry-
gunsmith city requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, } and event_counter gunpowder_discovered 1

The next level building up is the cannon maker with this entry-
cannon_maker city requires factions { northern_european, timurids, egypt, moors, turks, eastern_european, greek, southern_european, } and event_counter gunpowder_discovered 1

As you can see Ive added greek to the list of factions that can build said building. When I load the game the cannon maker is buildable but the building name appers as cannon_maker rather than simply cannon maker. And I have no idea why.

Oh and Ive also tried substituting the word greek for byzantium with similar results.

Any help would be appreciated. Cheers!

Squid
03-18-2010, 17:06
You haven't added appropriate entries for "greek" into export_units.txt, so its using the default entries. Look at the other entries for cannon_maker and you'll notice that the other cultures (like norther_european) have an entry {cannon_maker_northern_european}<tab>Cannon Maker but that the greek culture does not. Copy the entry and replace norther_european with greek, delete the string.bin file and reload the game.