horses lh 1.4 + dead dlc
Then i am starting a game after installing the dead i can“t create any normal horse unit or buy normal horses. but the undead horses and warhorses are working.
Then i am starting a game after installing the dead i can“t create any normal horse unit or buy normal horses. but the undead horses and warhorses are working.
What faction are you playing?
all factions with regular horses cant buy or create horses.
This is the new DLCs basic horse code.
<GameItemType InternalName="BasicHorseMount">
<Prereq>
<Type>RestrictedAbilityBonusOption</Type>
<Attribute>DLC04_UndeadFaction</Attribute>
<Target>Player</Target>
</Prereq>
</GameItemType>
Is the problem because the rest of it missing or because the internal name matches does it allow you to append attributes on another item.
Thanks for showing that code (I don't actually have the DLC so couldn't fix anything here before).... Here is the fix put it in the mods folder run mods and it is fixed... https://dl.dropboxusercontent.com/u/75549875/Fallen%20Enchantress/DLC04_HorseFix/DLC04_HorseFix.xml
You are completely correct about the problem there. In order to overwrite the game item types you need to include everything about the item since it is an overwrite not a combine effect (like abilities)
Thus, they would have to include the entire code from the original horse for this to work appropriately. From https://forums.elementalgame.com/434780/page/1
GameItemType - I'm starting with these because they are the basis of what I'd expect. Whenever I create a mod for one of these types that already exist, all tags that were previously defined in the old type are deleted. So, if there is a sword I can easily overwrite it with my own definition. Except... if I overwrite all the items, the system that arranges random loot (using <Likelihood>) completely breaks down from monsters (not goodiehuts).
Thus, to fix this problem you just need only add this into their downloadable content.
<GameItemType InternalName="BasicHorseMount">
<DisplayName>Horse</DisplayName>
<Description>Horses grant your units more speed in combat and in travel and make them immune to being knocked prone.</Description>
<Type>Mount</Type>
<CanBeEquipped>1</CanBeEquipped>
<AdditionalTrainingTurns>20</AdditionalTrainingTurns>
<ShopValue>120</ShopValue>
<ProductionRequirement>
<Type>Resource</Type>
<Attribute>Horses</Attribute>
<Value>1</Value>
</ProductionRequirement>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Attack_Boost</StrVal>
<Value>2</Value>
<Provides>+2 Attack for the first turn of combat</Provides>
<xActions>1</xActions>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_CombatSpeed</StrVal>
<Value>2</Value>
<Provides>+2 Initiative for the first turn of combat</Provides>
<xActions>1</xActions>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ChanceToAvoidProne</StrVal>
<Value>100</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Moves</StrVal>
<Value>2</Value>
</GameModifier>
<CutSceneDataPack>HorseMountCutScenePack</CutSceneDataPack>
<IsAvailableForSovereignCustomization>0</IsAvailableForSovereignCustomization>
<Prereq>
<Type>RestrictedAbilityBonusOption</Type>
<Attribute>DLC04_UndeadFaction</Attribute>
<Target>Player</Target>
</Prereq>
<Prereq>
<Type>RestrictedAbilityBonusOption</Type>
<Attribute>LegacyOfSerrane</Attribute>
<Target>Player</Target>
</Prereq>
<Prereq>
<Type>Tech</Type>
<Attribute>Mounted_Warfare</Attribute>
</Prereq>
<AIData AIPersonality="AI_General">
<AIPrefType>AIPrefType_MOUNT</AIPrefType>
</AIData>
<ArtDef>BasicHorseMount_ArtDef</ArtDef>
</GameItemType>
<GameItemType InternalName="BasicHorseMount2">
<DisplayName>Horse</DisplayName>
<Description>Horses grant your units more speed in combat and in travel and make them immune to being knocked prone.</Description>
<Type>Mount</Type>
<CanBeEquipped>1</CanBeEquipped>
<AdditionalTrainingTurns>20</AdditionalTrainingTurns>
<HideInHiergamenon>1</HideInHiergamenon>
<ShopValue>120</ShopValue>
<ProductionRequirement>
<Type>Resource</Type>
<Attribute>Horses</Attribute>
<Value>1</Value>
</ProductionRequirement>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Attack_Boost</StrVal>
<Value>2</Value>
<Provides>+2 Attack for the first turn of combat</Provides>
<xActions>1</xActions>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_CombatSpeed</StrVal>
<Value>2</Value>
<Provides>+2 Initiative for the first turn of combat</Provides>
<xActions>1</xActions>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_ChanceToAvoidProne</StrVal>
<Value>100</Value>
</GameModifier>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Moves</StrVal>
<Value>2</Value>
</GameModifier>
<CutSceneDataPack>HorseMountCutScenePack</CutSceneDataPack>
<IsAvailableForSovereignCustomization>0</IsAvailableForSovereignCustomization>
<Prereq>
<Type>RestrictedAbilityBonusOption</Type>
<Attribute>DLC04_UndeadFaction</Attribute>
<Target>Player</Target>
</Prereq>
<Prereq>
<Type>RestrictedAbilityBonusOption</Type>
<Attribute>LegacyOfSerrane</Attribute>
<Target>Player</Target>
</Prereq>
<Prereq>
<Type>Tech</Type>
<Attribute>Mounted_Warfare</Attribute>
</Prereq>
<AIData AIPersonality="AI_General">
<AIPrefType>AIPrefType_MOUNT</AIPrefType>
</AIData>
<ArtDef>BasicHorseMount2_ArtDef</ArtDef>
</GameItemType>
I bolded the change. Whenever you overwrite a game item type it deletes the old item (except the artdef data), so one needs to include this on their code to fix it. Obviously you'd have to do this for the other mounts. You can put this in your mods folder and you will have the horses back in the game for the normal races.
Out of curiosity do they have skeletal wargs? That would be a big bonus to the DLC. I'm assuming that the wargs are fine and it is just the horses.
Note: This code does not add undead horses nor any of that content... it only says you get these horses as long as you are not playing the undead faction.
Edit: Since I don't know... does the code also prevent the warhorse? The special horse you get with legacy of serrene
It shouldn't the DLC04Mounts.XML doesnt mention the warhorse. I'm going to test this now.
Sweet, I hope it works out.
Yes, if you have Legacy of Serrane you still get the warhorse.
BTW no skeletal wargs. There is a bunch of new spells from the grave touched talent, undead horses, skeleton and banshee units.
Did the fix work? Don't get me wrong I know that this DLC is really cool, I just don't have the cash to spare.
Ah, let me try the fix. I was just checking the warhorse. Shouldnt take long.
Yes it works...takes longer if you forget to enable mods
I put an XML with the corrections. This should fix the horse bug.
https://www.dropbox.com/s/ilar5kohktsgcnz/DLC04_MountsUpdated.xml
Drop that into the mod folder and enable mods. Once Stardock fixes the error just delete that file.
I really appreciate parrottmath creating a mod fix for this. However, I'll wait to buy the DLC until the download itself is fixed before I purchase it.
Oh wow, i thought it was my 3 games that were corrupted or something, but pre-Undead DLC saves worked fine for horses. Thx for the heads up!!!
Its not that simple. Horses still accumulate for troop units with developed horse tiles. Without this fix (and I am not sure it would fix all these issues) there is no way to utilize them as there aren't any horses listed even in the custom unit build equipment menu or the shops. To boot, wargs are available in that menu and the shops BUT they do not accumulate for your faction even with developed warg tiles. It never even shows a warg resource tab at the top of the main screen. So you will never have available wargs for units...
Strange because there is nothing affecting them in the new files unlike horses. I'm still finishing my "horseless game" and Wargs are working fine. I can buy them from shops, design units with them and they show up as global resource (0.2 Wargs per turn, yeah I need to do something about that). Maybe this is the issue? It will take 5 turns for the Warg icon to appear with a single Warg den.
thanks it working as it should i did get a warg after 5 turns.
Fixed, thanks! (meaning its fixed on my internal build here, we will get the patch out Monday when the patch guys are in).
Welcome Guest! Please take the time to register with us.