Custom Unit and Building Icons & Other Config Stuff

Spedwards

Chieftain
Joined
Jan 11, 2016
Messages
38
For a mod, I have 2 custom units and a custom building. They are:

Custom Trader - Replaces Trader. Custom Frigate - Replaces Frigate. Custom Shipyard - Replaces Shipyard.

All three of these have no icon in the tech tree, even though I specified the icons. (ICON_UNIT_TRADER, ICON_BUILDING_SHIPYARD, ICON_UNIT_FRIGATE).

In addition to this, the custom trader had the Settler icon in the production window (Trader shape), and when I selected it, a random unit icon would appear in the city's name bar. I did not get far enough to test the Frigate and Shipyard.

(Also, my custom trader isn't overriding the original one, despite having the below code in my units.xml file)

Code:
<Row CivUniqueUnitType="UNIT_CUSTOM_TRADER" ReplacesUnitType="UNIT_TRADER"/>


Next topic, config values on the introduction page (loading screen) don't display properly. (See: Image) My config is set up the same as the game's default civ's are:

Config.xml
Code:
    <PlayerItems>
        <Row CivilizationType="CIVILIZATION_VENICE" LeaderType="LEADER_FRANCESCO_MOROSINI" Type="UNIT_MERCHANT" Icon="ICON_UNIT_TRADER" Name="LOC_UNIT_MERCHANT_NAME" Description="LOC_UNIT_MERCHANT_DESCRIPTION" SortIndex="10"/>
        <Row CivilizationType="CIVILIZATION_VENICE" LeaderType="LEADER_FRANCESCO_MOROSINI" Type="BUILDING_GREAT_VENETIAN_SHIPYARDS" Icon="ICON_BUILDING_SHIPYARD" Name="LOC_BUILDING_GREAT_VENETIAN_SHIPYARDS_NAME" Description="LOC_BUILDING_GREAT_VENETIAN_SHIPYARDS_DESCRIPTION" SortIndex="20"/>
        <Row CivilizationType="CIVILIZATION_VENICE" LeaderType="LEADER_FRANCESCO_MOROSINI" Type="UNIT_VENETIAN_GALLEASS" Icon="ICON_UNIT_FRIGATE" Name="LOC_UNIT_VENETIAN_GALLEASS_NAME" Description="LOC_UNIT_VENETIAN_GALLEASS_DESCRIPTION" SortIndex="30"/>
    </PlayerItems>

Config_Text.xml
Code:
        <!--Civ UB-->
        <Row Tag="LOC_BUILDING_GREAT_VENETIAN_SHIPYARDS_NAME" Language="en_US">
            <Text>Great Venetian Shipyards</Text>
        </Row>
        <Row Tag="LOC_BUILDING_GREAT_VENETIAN_SHIPYARDS_DESCRIPTION" Language="en_US">
            <Text>Venetian unique building that replaces the Shipyard. Additional +10% combat experience for all naval units trained in this city.</Text>
        </Row>
       
        <!--Civ UU-->
        <Row Tag="LOC_UNIT_MERCHANT_NAME" Language="en_US">
            <Text>Merchant</Text>
        </Row>
        <Row Tag="LOC_UNIT_MERCHANT_DESCRIPTION" Language="en_US">
            <Text>Venetian unique unit that replaces the Trader. Additional +5 [ICON_Gold] Gold from international [ICON_TradeRoute] Trade Routes.</Text>
        </Row>
       
        <!--Leader UU-->
        <Row Tag="LOC_UNIT_VENETIAN_GALLEASS_NAME" Language="en_US">
            <Text>Great Galleass</Text>
        </Row>
        <Row Tag="LOC_UNIT_VENETIAN_GALLEASS_DESCRIPTION" Language="en_US">
            <Text>Venetian unique Renaissance era naval unit that replaces the Frigate. Additional +1 [ICON_Range] Range and +1 Sight.</Text>
        </Row>

Could anyone tell me why it isn't displaying as it should? (See: Image)
 
This is how loading screen displays for me:
upload_2016-11-9_10-8-9.png


Would you like me to post the version of your mod I have in case I changed something while looking for your previous problem?
 
-snip-

Would you like me to post the version of your mod I have in case I changed something while looking for your previous problem?

Please. I believe mine was working until I added the Merchant but I don't know how it would affect the loading screen of all things.
 
Back
Top Bottom