[1.5 Released, BUG] Failure to summon Wildings and other creatures also happens with PLAYER UNITS

Ok, I got Raza the Wild as a champion for the first time since the ability for summon creatures got added.  Much like the AI failures, I used Raza's ability to summon a Wilding and NOTHING HAPPENED.  So there is clearly a problem in the coding somewhere.  I have mods DISABLED.

Maybe this is due to an army size limitation or something?  Not sure why it happens to both the AI and the player.

4,778 views 3 replies
Reply #1 Top

The problem lies with the fact that the spell is summoning

"WildingRider_Group"

There exists no such unit, there is however

"WildingRider_Party"

<SpellDef InternalName="SummonWilding_Ability">
    <DisplayName>Summon Wilding</DisplayName>
    <Description>Summon a level 4 Wilding Rider</Description>
    <Image>SandCrawlerRider_Medallion.png</Image>
    <IconFG>Ability_Summon_Wilding_Icon.png</IconFG>
    <Cooldown>5</Cooldown>
    <SpellBookSortCategory>Summon</SpellBookSortCategory>
    <SpellBookSortSubCategory>Summon</SpellBookSortSubCategory>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellSubClass>Summon</SpellSubClass>
    <SpellTargetType>EmptyTile</SpellTargetType>
    <HideInHiergamenon>1</HideInHiergamenon>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier>
        <ModType>Unit</ModType>
        <Attribute>SummonUnit</Attribute>
        <UnitClass>WildingRider_Group</UnitClass>
        <Duration>-1</Duration>
        <Calculate InternalName="Calc" ValueOwner="CastingUnit">
            <Expression><![CDATA[[UnitStat_BonusSummonLevel] + 4]]></Expression>
        </Calculate>
        <Calculate InternalName="Value">
            <Expression><![CDATA[[Calc]]]></Expression>
        </Calculate>
    </GameModifier>
    <AIData AIPersonality="AI_General">
        <AIPriority>60</AIPriority>
    </AIData>
    <HitSoundFX>Spell_SummonDeathDemon_01</HitSoundFX>
    <SpellDefEffect>
        <EffectName>Y_SummonDeathDemon_Particle</EffectName>
        <LocalPosition>0,0,0</LocalPosition>
        <EffectScale>1</EffectScale>
        <EffectDelay>0</EffectDelay>
        <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
  </SpellDef>

The bolded unit does not exist at present. Hence the reason the summoning is not working. For those that wouldn't mind editing files, a simple fix would be to change the bolded above to WildingRider_Party. If you like I can make a mod for this.

Edit: Of course I could just make the unit WildingRider_Group and that could fix it as well.

Reply #2 Top

I made the edit as you suggest, but nothing happened in my save game.  Would it affect save games or would you need to start a new game to see it work?

Reply #3 Top

Quoting Fezziwig, reply 2

I made the edit as you suggest, but nothing happened in my save game.  Would it affect save games or would you need to start a new game to see it work?
End of Fezziwig's quote

 

You have to start the new game. The save file actually saves all of the config (to allow players to play old save files even after the changes are applied) so it won't change any of old games.