1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Modular Units In BTS How do I do it?

Discussion in 'Civ4 - World of Civilization' started by Healz, Jan 26, 2010.

  1. Healz

    Healz General

    Joined:
    Jun 11, 2002
    Messages:
    953
    Location:
    Maryborough, Australia
    Now I realize there is a thread for requesting tutorials and how-to-dos in the Creation and Customization thread. My problem is that no-one seems to be able to tell me exactly how to do the coding for adding in modular units without adding in new civs. I thought one of your contributors could give me some information about this and maybe turn into a tutorial for others like me that may have units we like that don't exist in WOC.
    Thank-you, Healz.
     
  2. mamba

    mamba Deity

    Joined:
    Aug 23, 2007
    Messages:
    2,520
    Ok, basically there are two separate things which you could mean here imo

    a) create a new unit entirely, like e.g. a stealth fighter (new unit class, new unit, new unit art, available to all civs)

    b) use a different graphic for an existing unit and civ like a mayan swordsman

    I assume you mean b) as a) is no different from what you would do in regular modular CIV, so I will answer b) :)

    - you define the unit art as in modular CIV
    - you create a CIV4UnitArtStyleTypeInfos.xml just for that unit art and civ

    Example :

    Spoiler :
    Code:
    		<UnitArtStyleTypeInfo>
    			<Type>UNIT_ARTSTYLE_AZTEC</Type>
    			<StyleUnits>
    				<StyleUnit>
    					<UnitType>UNIT_AXEMAN</UnitType>
    					<UnitMeshGroup>
    						<EarlyArtDefineTag>ART_DEF_UNIT_AXEMAN_AZTEC</EarlyArtDefineTag>
    						<LateArtDefineTag>ART_DEF_UNIT_AXEMAN_AZTEC</LateArtDefineTag>
    						<MiddleArtDefineTag>ART_DEF_UNIT_AXEMAN_AZTEC</MiddleArtDefineTag>
    					</UnitMeshGroup>
    				</StyleUnit>
    			</StyleUnits>
    		</UnitArtStyleTypeInfo>
    


    I hope this is what you were looking for ;)
     
  3. Healz

    Healz General

    Joined:
    Jun 11, 2002
    Messages:
    953
    Location:
    Maryborough, Australia
    Exactly, thank-you. That is exactly the information I need to know, thank-you.
     
  4. V3N0M

    V3N0M Warlord

    Joined:
    Sep 5, 2007
    Messages:
    139
    copied and pasted the modularloadingcontrols schema into the leaderheads module directory. Now the new leaders are not loaded at all. Is there anything in the file I need to edit?
     

Share This Page