King of Hell not triggering

Discussion in 'Bug Reports' started by chuckg, Jan 26, 2015.

  1. I have finished everything. There is nothing left on my missions screen. I've beaten Satan, then flown back to the balcony and beaten Satan /again/.

    It still says I've only done 100 challenges, not 101.
     
  2. Admixon

    Admixon Administrator Staff Member

    Also find all collectibles, buy all upgrades
     
  3. Started a new character, did all that, got the shawarma cutscene even... and am still on "100/101" of "all challenges", and no King of Hell.
     
  4. Finally found a solution. I'm not sure if its the solution, but it worked for me.

    There was an apparent error in "sr4_5_city_challenges.xtbl". Specifically, under the trigger conditions for 'Complete All Challenges'. It was set to 101 challenges completed as the trigger for unlocking '101 challenges completed'. However, since that 101 challenges total includes itself, that's never going to work; what it needed was to have the trigger set to '100 challenges completed', at which point finishing the first 100 unlocks the 101st for you. IOW, a recursion error.

    Code (Text):
        <Challenge>
            <Name>challenges all</Name>
            <Display_String>CHALLENGE_CHALLENGES_ALL</Display_String>
            <description>CHALLENGE_CHALLENGES_ALL_DESCR</description>
            <Contact>DANE</Contact>
            <Units>None</Units>
            <Goal>101</Goal>
            <Reward>
                <Respect>5000</Respect>
                <Cash>15000</Cash>
                <Unlockables></Unlockables>
                </Reward>

    [...]

            </Challenge>
     
    Changed the goal to '100' and it worked fine, achievement popped and everything.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice