1. You can mod quests that reward you with specific heroes. You'll just have to write the xml yourself instead of working with the in-game tools. Just make quests that automatically begin at a specific turn and has only 1 step: you selecting 'Yes' or 'No'.
3. I don't know if the game remembers the names you give cities in-game. The easiest way is to add the names to the RaceConfig of your custom race. <Capital>[city name]</Capital> for the capital, <City></City> for all following cities (the game just uses them in the order they are listed)
4. Sure, but you need to mod them yourself. You'll need a bloodtype, raceconfig, racetype and unittypes. Just look at the code for the existing factions and modify the parts you want. (CoreAbilities for bloodtype, CoreRaceConfig, CoreRaceType and CoreUnits for the necessary units) You'll need to write the code for certain units before your faction becomes playable: Generic_[Race]_Sovereign_Male (and _Female), Generic_[Race]_Male (and _Female), Unit_Pioneer_[Race], Unit_Scout_[Race], Unit_Spearman_[Race], Unit_CityArcher_[Race], Unit_CityDefender_[Race], Unit_Spearman_[Race] and Unit_Peasant_[Race].
5. Yup. Here's an example of a Skeleton Spearman. DisplayName is the name the unit gets in game. Looks are determined by Color_Skin, EyeTexture, ModelPath, SkeletonPath, Texture_Skin and UnitModelType. Color_Hair is normally also a part of it, but skeletons usually don't have hair... Color of clothing and metal is usually already defined by the faction the unit belongs to.
Code: xml
- <UnitType InternalName="Unit_Spearman_Undead">
- <DisplayName>Undead Spearman</DisplayName>
- <Description>Spearmen are effective against well armored enemies.</Description>
- <Class>Spearman</Class>
- <RaceType>Race_Type_Undead</RaceType>
- <CanBeDesigned>1</CanBeDesigned>
- <Gender>Male</Gender>
- <AdditionalTrainingTurns>20</AdditionalTrainingTurns>
- <IsSovereign>0</IsSovereign>
- <IsStartingUnitType>1</IsStartingUnitType>
- <LevelMilestone InternalName="L1">
- <Level>1</Level>
- </LevelMilestone>
- <SelectedAbilityBonusOption>Blood_Undead</SelectedAbilityBonusOption>
- <Equipment>Spear</Equipment>
- <Equipment>Sovereign_Warrior_Shirt_Leather_ID2</Equipment>
- <Equipment>Noble_Surcoat_Solid_ID1</Equipment>
- <Equipment>Noble_Cloak_ID1</Equipment>
- <Equipment>Noblemans_Pants_ID1</Equipment>
- <Equipment>Basic_Boots_ID2</Equipment>
- <EquipmentUpgradeDef>
- <EquipmentSlot>Weapon</EquipmentSlot>
- <WeaponUpgradeType>Spear</WeaponUpgradeType>
- <EquipmentSlot>Defense</EquipmentSlot>
- <SelectionCriteria>MaximizeSum</SelectionCriteria>
- <ComparisonAttribute>UnitStat_Attack_Pierce</ComparisonAttribute>
- <ComparisonAttribute>UnitStat_Attack_Cold</ComparisonAttribute>
- <ComparisonAttribute>UnitStat_Attack_Fire</ComparisonAttribute>
- <ComparisonAttribute>UnitStat_Attack_Lightning</ComparisonAttribute>
- <ComparisonAttribute>UnitStat_Attack_Poison</ComparisonAttribute>
- </EquipmentUpgradeDef>
- <EquipmentUpgradeDef>
- <EquipmentSlot>Torso</EquipmentSlot>
- <EquipmentSlot>Surcoat</EquipmentSlot>
- <SelectionCriteria>MaximizeSum</SelectionCriteria>
- <ComparisonAttribute>UnitStat_Defense_Pierce</ComparisonAttribute>
- </EquipmentUpgradeDef>
- <EquipmentUpgradeDef>
- <EquipmentSlot>LowerBody</EquipmentSlot>
- <SelectionCriteria>MaximizeSum</SelectionCriteria>
- <ComparisonAttribute>UnitStat_Defense_Pierce</ComparisonAttribute>
- </EquipmentUpgradeDef>
- <EquipmentUpgradeDef>
- <EquipmentSlot>Boots</EquipmentSlot>
- <SelectionCriteria>MaximizeSum</SelectionCriteria>
- <ComparisonAttribute>UnitStat_Defense_Pierce</ComparisonAttribute>
- </EquipmentUpgradeDef>
- <EquipmentUpgradeDef>
- <EquipmentSlot>Head</EquipmentSlot>
- <SelectionCriteria>MaximizeSum</SelectionCriteria>
- <ComparisonAttribute>UnitStat_Defense_Pierce</ComparisonAttribute>
- </EquipmentUpgradeDef>
- <EquipmentUpgradeDef>
- <EquipmentSlot>Forearms</EquipmentSlot>
- <SelectionCriteria>MaximizeSum</SelectionCriteria>
- <ComparisonAttribute>UnitStat_Defense_Pierce</ComparisonAttribute>
- </EquipmentUpgradeDef>
- <Prereq>
- <Type>Race</Type>
- <Attribute>Race_Type_Undead</Attribute>
- </Prereq>
- <Backstory>Soldiers and peasants that died before the Cataclysm now live to fight again.</Backstory>
- <AnimationPack>SkeletonAnimationPack</AnimationPack>
- <BattleAnimationBehavior>Melee</BattleAnimationBehavior>
- <ClothMapScale>1.6</ClothMapScale>
- <ClothPoseIndex>6</ClothPoseIndex>
- <Color_Skin>40,45,50,55</Color_Skin>
- <CutSceneDataPack>DefaultUnitCutscenePack</CutSceneDataPack>
- <EyeTexture>gfx\Eyes\blinks\Eyeblink_F4_Blk.png</EyeTexture>
- <InfoCardBackground>BG_BarrenForest</InfoCardBackground>
- <InfoCardBackgroundFlipped>0</InfoCardBackgroundFlipped>
- <ModelPath>M_Skeleton_Mesh_01.hkb</ModelPath>
- <ModelScale>1</ModelScale>
- <MovementType>land</MovementType>
- <MovingSFX>TEMP_KnightMarching1</MovingSFX>
- <SkeletonPath>Gfx\HKB\Units\K_Male_Skeleton_01.hkb</SkeletonPath>
- <SoundPack>SoundPack_Skeleton</SoundPack>
- <TacticalModelScale>1.5</TacticalModelScale>
- <Texture_Skin>M_Skeleton_Texture_01.png</Texture_Skin>
- <UnitModelType>KingdomMale</UnitModelType>
- </UnitType>