hia lol im new to this "stufff" and id like to make france in civ beyond the sword have this unit and i dont know how to do that... can u plz tell me how to add it ingame??? ty
2) create your own mod folder (to don't change the original) and copy in it the files XMLs You will need as followin (the mod I use is a mine expansion of the Ethnic Diversity Unit Mod, so You could download this or other and try to see as they made)
create in it the folder Assets/Modules/Ethnic Units/Art/units and Assets/Modules/Ethnic Units/Art/XML (i'm explaining the ones i'm using. if You want a new class You have to make a little different)
In
Assets/Modules/Ethnic Units/Art You copy the folder with the Unit (as is a Ethnic Unit folde, in a Folder named France)
Assets/Modules/Ethnic Units/Art/France/Amx10RC.
In
Assets/Modules/Ethnic Units/Art/XML You create 2 folders Art and Civilizations
In
Assets/Modules/Ethnic Units/Art/XML/Art You copy the files CIV4ArtDefinesSchema CIV4ArtDefines_Unit(and rename with EthnicUnits__ in front of them for example: EthnicUnits__CIV4ArtDefinesSchema) open the EthnicUnits_civ4artdefines_Unit.xml and change the line
<Civ4ArtDefines xmlns="x-schema:CIV4ArtDefinesSchema.xml">
<UnitArtInfos> with
<Civ4ArtDefines xmlns="x-schema:EthnicUnits__CIV4ArtDefinesSchema.xml">
<UnitArtInfos>
Then chose the unit You want to make it similar and delete all the orthers.
And You could change the lines of this unit like this:
<UnitArtInfo>
<Type>ART_DEF_UNIT_Recon_AMX10RC</Type>
<Button>,Art/Interface/Buttons/Units/MechanizedInfantry.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,8,8</Button>
<fScale>0.95</fScale>
<fInterfaceScale>0.7</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Modules/Ethnic Units/Art/Units/Modern/Recon Amx10RC/AB41.nif</NIF>
<KFM>Modules/Ethnic Units/Art/Units/Modern/Recon Amx10RC/AB41.kfm</KFM>
<SHADERNIF>Modules/Ethnic Units/Art/Units/Modern/Recon Amx10RC/AB41.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/MechInfantryShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<TrailDefinition>
<Texture>Art/Shared/tanktread.dds</Texture>
<fWidth>0.9</fWidth>
<fLength>180.0</fLength>
<fTaper>0.0</fTaper>
<fFadeStartTime>0.2</fFadeStartTime>
<fFadeFalloff>0.35</fFadeFalloff>
</TrailDefinition>
<fBattleDistance>0.5</fBattleDistance>
<fRangedDeathTime>0.12</fRangedDeathTime>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_TANK</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_TANK</AudioRunTypeEnd>
</AudioRunSounds>
</UnitArtInfo>
In
Assets/Modules/Ethnic Units/Art/XML/Civilizations You copy
CIV4CivilizationsSchema.xml and CIV4UnitArtStyleTypeInfos.xml and rename EDU__CIV4CivilizationsSchema EDU_French_CIV4UnitArtStyleTypeInfos.xml. in EDU_French_CIV4UnitArtStyleTypeInfos.xml You have to change as up, the lines about the schema. and then join the line
<StyleUnit>
<UnitType>UNIT_Recon</UnitType>
<UnitMeshGroup>
<EarlyArtDefineTag>ART_DEF_UNIT_Recon_AMX10RC</EarlyArtDefineTag>
<LateArtDefineTag>ART_DEF_UNIT_Recon_AMX10RC</LateArtDefineTag>
<MiddleArtDefineTag>ART_DEF_UNIT_Recon_AMX10RC</MiddleArtDefineTag>
</UnitMeshGroup>
</StyleUnit> I use _recon_ cause i've made a custom unit... but if nor You have to change another one as for example modernarmor and you have to delete all the units that You don't want as french.