The Witcher 2: Assassins of Kings Enhanced Edition

The Witcher 2: Assassins of Kings Enhanced Edition

SkieWolf Jul 29, 2017 @ 8:47am
Cheating in Abilities
So, as someone who missing on Haggle because of the silly way this game handle abilities sometimes, I went searching for a way to add it. I've seen many people look for a savegame editor which don't exist, or a simple way to add abilities, but found none.
This is probably close to no relevant years after, but there is a way to add abilities, it's just not so trivial.

I found this: http://gq-game-mods.blogspot.co.il/2013/09/witcher-2-all-story-abilities-mod.html
And by using Gibbed RED Tools you can edit the code change that person did in order to be more specific on what ability you want, rather than get them all.

1. Extract his base_scripts.dzip
2. Edit base_scripts\game\player\player.ws
3. Locate the function TriggerMedalionFX()
4. Under the comment START GQ code to give all story abilities you can see how it works. For Haggle for example, I only needed i=8 in AddStoryAbility("story_s"+i, 1);
You will have to play with it to find specifics, but I think the order is the same order they appear in the list in game.

Good luck :P
< >
Showing 1-12 of 12 comments
You also have mods that adds abilities while leveling up. That way it's easier :)
TiFive Mar 1, 2018 @ 11:58am 
Originally posted by Leorio:
You also have mods that adds abilities while leveling up. That way it's easier :)
i think u don't understand what it's all about.
@SkieWolf u r the best!
thank you man , i missed some of the dummies in flotsam camp that are required for the experienced ability and it is like the game is trying to make u miss them
https://witcher.fandom.com/wiki/Character_attributes
thank you man , i missed some of the dummies in flotsam camp that are required for the experienced ability and it is like the game is trying to make u miss them
https://witcher.fandom.com/wiki/Character_attributes
Originally posted by Leorio:
You also have mods that adds abilities while leveling up. That way it's easier :)
He means the abilities that are given through certain actions not through leveling up
like strong back for example that is acquired by sparing aryan la valette and helping him escape in prologue
Bowlfrog Apr 27, 2020 @ 12:11am 
Thanks for this post, the mod in the link even adds the ones that are cut from the game too, so you can add in the ones you can't get normally.
MKO- Apr 27, 2020 @ 4:57am 
if I run the mod my game crashes instantly :(
Dark_Sirian Apr 27, 2020 @ 6:49am 
Originally posted by MKO-:
if I run the mod my game crashes instantly :(

You are cheating incompetently, and now the game punishes you. That‘s allright, I think. I would not do anything else if I were a game.
max.strauss Apr 30, 2020 @ 5:57am 
Originally posted by Dark_Sirian:
You are cheating incompetently, and now the game punishes you. That‘s allright, I think. I would not do anything else if I were a game.

https://media.giphy.com/media/kEzOOgaZtoD6KLEFUg/giphy.gif

Did you see his "review"?
Last edited by max.strauss; Apr 30, 2020 @ 6:00am
Rebal May 5, 2020 @ 4:32pm 
piola pibe
nameltneGesreveR Jan 5, 2022 @ 12:14pm 
Hello there, I talked to Skiewolf (4 & ½ years later, massive kudos to you bud) and he helped me figure out what to do to add specific abilities rather than all of them, including unobtainable ones, even as someone who doesn't know how to program. I'll try and give my process for getting Haggling and Experienced so anyone else finding this posting can replicate it for those and other abilities.
1. Get the mod, http://gq-game-mods.blogspot.co.il/2013/09/witcher-2-all-story-abilities-mod.html
2. Extract it to your desktop
3. Make a copy of your current "base_scripts.dzip" inside your witcher install folder - for instance with steam it's Program Files (x86)\Steam\steamapps\common\the witcher 2\CookedPC - and put it on your desktop or somewhere you know to find it later, we'll need it
4. Copy the mod's base_scripts.dzip into that same folder and replace the one in there, you made a copy of it though so no worries - right?
5. Launch the game, load your save file, trigger your medallion, and check your attributes for your abilities. This has given you all the abilities in the game's code, including unobtainable ones. The reason we did this is that we need to know each ability's position in that list in order to edit the mod's code so we can get specific ones, such as Haggling and Experienced.
6. Take note of the position(s), 8 for Haggling and 14 for Experienced in my case, and close the game. Now we start editing code
7. Use the Gibbed RED tools to unpack the mod's base_scripts.dzip and ctrl+f to find "// START GQ code to give all story abilities" Underneath here you'll find the mod code until "// END GQ code to give all story abilities"
8. First we delete or comment out, by typing in "//" without commas at the beginning of each line, the following:

for (i = 1; i <=32; i+=1)
{
AddStoryAbility("story_s"+i, 1);
}

This is a "for loop" which we don't need since we are adding only specific abilities.
9. Underneath that we can delete or comment out the existing code as it will give us the 2nd and 3rd levels of Axii, intimidation, and persuasion for dialogue options.
10. Now we add our abilities using this format:

AddStoryAbility("story_sX", Y);

In this we want to edit the X and the Y. Since I wanted Haggling and Experienced I'll be adding two lines in this format like so:

AddStoryAbility("story_s8", 1);
AddStoryAbility("story_s14", 1);

The X refers to the ability according to its position in the game's in-game list of abilities, which we got from running the mod unedited, and the Y refers to the level of the mod, which is 1 for all the abilities except for Axii, persuasion, and intimidation.
11. Save the edits, use the Gibbed RED tools to repack it into a base_scripts.dzip, and copy it into your CookedPC folder, replacing the mod's unedited base_scripts.dzip
12. Launch the game, load your save file, trigger your medallion, and save again. This adds the abilities and saves your game as Geralt having those abilities.
13. Now we have our abilities we want but we should restore our original base_scripts.dzip we for sure made a copy of before replacing it with the mod's version. We close the game, find the base_scripts.dzip copy we totally did make, copy it back in to our CookedPC and replace the one in there.

That's my wall of text, I know it's long but I wrote it so even a dummy like me couldn't get lost. Hope this helps anyone who finds this and thanks again to SkieWolf for making the post in the first place and for responding right away to someone necro'ing a 4+ year old post.
Last edited by nameltneGesreveR; Jan 5, 2022 @ 12:18pm
max.strauss Jan 5, 2022 @ 10:55pm 
Originally posted by nameltneGesreveR:
.............

This is all too complicated. I recommend "Glorious Victorious 2 +" instead.

For talentless players who wouldn't have any fun at all without cheating I recommend the mod "Glorious Victorious +". After installation start the game and wait a few seconds, then press „1“ „2“ „+“ (without quotation marks!!!). No fear: You have 38 seconds to do so.*

This will lead you to the end of the game. You get any achievement available**, any gear, any perk etc. In a cutscene Geralt meets all friends and foes, and even some devs will appear – in disguise. They all praise Geralt and the artful playing of his master at the keyboard/controller. Then a bell rings. 

Now you should shut down the computer (!!!) because in the next moment the cast – without exception and as if by command – begins to chuckle.

* As far as I know there's a cheat which extends this period - 5 minutes, as far as I heard.
** This "mod" adds achievements! Popular: Striding Goddess for moving one step forward without losing balance.

This should help. Now restart the game and you can begin a New Game +. Any stats of your equipment are set to "infinite". Somewhat disturbing: There's a permanent background chuckle swelling after each kill. But there should be a mod at nexus if this is a problem for you.

Good luck! Hope I could help. And - have fun!
Last edited by max.strauss; Jan 5, 2022 @ 10:56pm
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Jul 29, 2017 @ 8:47am
Posts: 12