MSMD: How to Create a Mod (video demo)

Yes but I moved it to my documents so I can edit it, as, for some reason, it only lets me add folders in program files so editing was almost impossible (I couldn't save XMLs etc.).
 
Done, loaded it and my new leader still doesn't appear!
 
Also the in installer for beyond the sword crashes every time I click install.
 
...er...what :confused:?

Good question! What do you mean, "install"?

Anyway, I have the same problem where the computer won't let me edit stuff in Program Files (Windows thing), what I have is a folder called 'Projects' where I put all the mods that I'm working on. I then copy the mod to be tested to the mods folder.
 
When I downloaded beyond the sword and entered the installer I go through all the agreements etc. until I get to the part where it says "install" at the bottom right of the installer, I click it and the installer crashes.
 
Oooooo
 
Anyway can someone PLEASE help me
 
What are the picture sizes? I might have got them wrong
 
All sorted now
Also, where can I get the button template?
 
It takes far to long to upload
 
I've done the files in gimp and they're he right size.
here's the code again:
Code:
<Type>LEADER_LORD_VETINARI</Type>
      <Description>Lord Havelock Vetinari</Description>
      <Civilopedia>TXT_KEY_LEADER_WASHINGTON_PEDIA</Civilopedia>
      <ArtDefineTag>ART_DEF_LEADER_LORD_VETINARI</ArtDefineTag>
      <iWonderConstructRand>20</iWonderConstructRand>
      <iBaseAttitude>0</iBaseAttitude>
      <iBasePeaceWeight>10</iBasePeaceWeight>
      <iPeaceWeightRand>5</iPeaceWeightRand>
      <iWarmongerRespect>0</iWarmongerRespect>
      <iRefuseToTalkWarThreshold>20</iRefuseToTalkWarThreshold>
      <iNoTechTradeThreshold>5</iNoTechTradeThreshold>
      <iTechTradeKnownPercent>30</iTechTradeKnownPercent>
      <iMaxGoldTradePercent>5</iMaxGoldTradePercent>
      <iMaxGoldPerTurnTradePercent>10</iMaxGoldPerTurnTradePercent>
      <iMaxWarRand>20</iMaxWarRand>
      <iMaxWarNearbyPowerRatio>90</iMaxWarNearbyPowerRatio>
      <iMaxWarDistantPowerRatio>80</iMaxWarDistantPowerRatio>
      <iMaxWarMinAdjacentLandPercent>3</iMaxWarMinAdjacentLandPercent>
      <iLimitedWarRand>150</iLimitedWarRand>
      <iLimitedWarPowerRatio>100</iLimitedWarPowerRatio>
      <iDogpileWarRand>100</iDogpileWarRand>
      <iMakePeaceRand>30</iMakePeaceRand>
      <iDeclareWarTradeRand>40</iDeclareWarTradeRand>
      <iDemandRebukedSneakProb>100</iDemandRebukedSneakProb>
      <iDemandRebukedWarProb>0</iDemandRebukedWarProb>
      <iRazeCityProb>0</iRazeCityProb>
      <iBuildUnitProb>28</iBuildUnitProb>
      <iBaseAttackOddsChange>2</iBaseAttackOddsChange>
      <iAttackOddsChangeRand>10</iAttackOddsChangeRand>
      <iWorseRankDifferenceAttitudeChange>0</iWorseRankDifferenceAttitudeChange>
      <iBetterRankDifferenceAttitudeChange>1</iBetterRankDifferenceAttitudeChange>
      <iCloseBordersAttitudeChange>-4</iCloseBordersAttitudeChange>
      <iLostWarAttitudeChange>-15</iLostWarAttitudeChange>
      <iAtWarAttitudeDivisor>-5</iAtWarAttitudeDivisor>
      <iAtWarAttitudeChangeLimit>5</iAtWarAttitudeChangeLimit>
      <iAtPeaceAttitudeDivisor>60</iAtPeaceAttitudeDivisor>
      <iAtPeaceAttitudeChangeLimit>1</iAtPeaceAttitudeChangeLimit>
      <iSameReligionAttitudeChange>1</iSameReligionAttitudeChange>
      <iSameReligionAttitudeDivisor>1</iSameReligionAttitudeDivisor>
      <iSameReligionAttitudeChangeLimit>5</iSameReligionAttitudeChangeLimit>
      <iDifferentReligionAttitudeChange>-1</iDifferentReligionAttitudeChange>
      <iDifferentReligionAttitudeDivisor>-5</iDifferentReligionAttitudeDivisor>
      <iDifferentReligionAttitudeChangeLimit>-1</iDifferentReligionAttitudeChangeLimit>
      <iBonusTradeAttitudeDivisor>50</iBonusTradeAttitudeDivisor>
      <iBonusTradeAttitudeChangeLimit>2</iBonusTradeAttitudeChangeLimit>
      <iOpenBordersAttitudeDivisor>25</iOpenBordersAttitudeDivisor>
      <iOpenBordersAttitudeChangeLimit>2</iOpenBordersAttitudeChangeLimit>
      <iDefensivePactAttitudeDivisor>12</iDefensivePactAttitudeDivisor>
      <iDefensivePactAttitudeChangeLimit>2</iDefensivePactAttitudeChangeLimit>
      <iShareWarAttitudeChange>1</iShareWarAttitudeChange>
      <iShareWarAttitudeDivisor>8</iShareWarAttitudeDivisor>
      <iShareWarAttitudeChangeLimit>3</iShareWarAttitudeChangeLimit>
      <iFavoriteCivicAttitudeChange>1</iFavoriteCivicAttitudeChange>
      <iFavoriteCivicAttitudeDivisor>10</iFavoriteCivicAttitudeDivisor>
      <iFavoriteCivicAttitudeChangeLimit>4</iFavoriteCivicAttitudeChangeLimit>
      <DemandTributeAttitudeThreshold>ATTITUDE_CAUTIOUS</DemandTributeAttitudeThreshold>
      <NoGiveHelpAttitudeThreshold>ATTITUDE_CAUTIOUS</NoGiveHelpAttitudeThreshold>
      <TechRefuseAttitudeThreshold>ATTITUDE_ANNOYED</TechRefuseAttitudeThreshold>
      <StrategicBonusRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StrategicBonusRefuseAttitudeThreshold>
      <HappinessBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HappinessBonusRefuseAttitudeThreshold>
      <HealthBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HealthBonusRefuseAttitudeThreshold>
      <MapRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</MapRefuseAttitudeThreshold>
      <DeclareWarRefuseAttitudeThreshold>ATTITUDE_PLEASED</DeclareWarRefuseAttitudeThreshold>
      <DeclareWarThemRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</DeclareWarThemRefuseAttitudeThreshold>
      <StopTradingRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StopTradingRefuseAttitudeThreshold>
      <StopTradingThemRefuseAttitudeThreshold>ATTITUDE_ANNOYED</StopTradingThemRefuseAttitudeThreshold>
      <AdoptCivicRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</AdoptCivicRefuseAttitudeThreshold>
      <ConvertReligionRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</ConvertReligionRefuseAttitudeThreshold>
      <OpenBordersRefuseAttitudeThreshold>ATTITUDE_ANNOYED</OpenBordersRefuseAttitudeThreshold>
      <DefensivePactRefuseAttitudeThreshold>ATTITUDE_PLEASED</DefensivePactRefuseAttitudeThreshold>
      <PermanentAllianceRefuseAttitudeThreshold>ATTITUDE_PLEASED</PermanentAllianceRefuseAttitudeThreshold>
      <FavoriteCivic>CIVIC_UNIVERSAL_SUFFRAGE</FavoriteCivic>
      <Traits>
        <Trait>
          <TraitType>TRAIT_FINANCIAL</TraitType>
          <bTrait>1</bTrait>
        </Trait>
        <Trait>
          <TraitType>TRAIT_INDUSTRIOUS</TraitType>
          <bTrait>1</bTrait>
        </Trait>
      </Traits>
      <Flavors>
        <Flavor>
          <FlavorType>FLAVOR_FINANCIAL</FlavorType>
          <iFlavor>5</iFlavor>
        </Flavor>
        <Flavor>
          <FlavorType>FLAVOR_GROWTH</FlavorType>
          <iFlavor>2</iFlavor>
        </Flavor>
      </Flavors>
and the leaderhead art:
Code:
<Type>ART_DEF_LEADER_LORD_VETINARI</Type>
      <Button>Art/interface/LeaderHeads/Vetinari/Vetinari button.dds</Button>
      <NIF>art/LeaderHeads/Vetinari/Vetinari.dds</NIF>
      <KFM></KFM>
      <NoShaderNIF></NoShaderNIF>
      <BackgroundKFM></BackgroundKFM>
    </LeaderheadArtInfo>

I've definitely converted to .dds aswell, is it maybe because it's not with BTS?
 
Should I just attach those two files on the leaderheads?
 
Back
Top Bottom