TheTechNerd@lemmy.world to Games@lemmy.worldEnglish · 1 year agoBaldur's Gate 3 Will Feature 17,000 Ending Variationswccftech.comexternal-linkmessage-square45fedilinkarrow-up136arrow-down16
arrow-up130arrow-down1external-linkBaldur's Gate 3 Will Feature 17,000 Ending Variationswccftech.comTheTechNerd@lemmy.world to Games@lemmy.worldEnglish · 1 year agomessage-square45fedilink
minus-squareI Cast Fist@programming.devlinkfedilinkEnglisharrow-up0arrow-down1·1 year agoSo, 17k loose “if” statements defining if some single sentences will pop up during the ending scene. if player has killed love interest -> And the love interest remained dead if player has killed love interest AND ressurrected -> And the love interest died, but got better if player has NOT killed love interest -> And the love interest never died, just as their love etc etc
minus-squareVordus@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 year agoYou don’t even need that many ‘if’ statements. If you’re stringing together a sequence of cause and effect binary decisions (as so many RPGs are wont to do), then you only need 14 of them to get over 16,000 possible combinations!
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·1 year ago17000? Try 14. 2^14 is 16384.
So, 17k loose “if” statements defining if some single sentences will pop up during the ending scene.
if player has killed love interest
-> And the love interest remained deadif player has killed love interest AND ressurrected
-> And the love interest died, but got betterif player has NOT killed love interest
-> And the love interest never died, just as their loveetc etc
You don’t even need that many ‘if’ statements. If you’re stringing together a sequence of cause and effect binary decisions (as so many RPGs are wont to do), then you only need 14 of them to get over 16,000 possible combinations!
17000? Try 14. 2^14 is 16384.