TheMageLord said:By request of Wraithcat, I looked into a way to disable companion interaction. It turned out to be much simpler than I thought it would be - there is a built in toggle to disable it, but the option to disable it wasn't added in. It's actually there in the .960 module system, but commented out - and doesn't exist in the 1.003 text files. The value is initially assigned as 0 in game_start, though, which is what I'll be editing here (so it would require a new game, unlike the other tweaks).
I won't copy the whole script on this one, since it's ridiculously large, but heres the line of code you need to search for:
144115188075856295 is the actual thing being assigned here, and 0 is what it is being assigned to. Normally this is to get the variable ready to be set elsewhere, but we can just set it here and save the hassle. Change the 0 to a 1, and presto - the next time you start a game, companions will no longer interact (no complaints or compliments).2133 2 144115188075856295 0
You COULD work it into a game in progress if you really wanted to, but you would have to add the line of code somewhere. I won't cover that here, but basically you'd just pick a script that will be triggered and add in the 2133 2 144115188075856295 1 thing to the end or beginning of it. Then you add 1 to first number in the script (which is the # of lines in that script, it needs to add 1 because you're actually adding in an extra line of code). You could remove it after you know that the script has been triggered - it stays once set.
Wraithcat said:Absolutely outstanding Magelord!! And damned quick as well!
You and your scripting have totally changed the game for me
I second, "Lord of the Scripts"!
jerminel said:Hi guys !
I've tried this with the mod "Europe 1200", but it doesn't seems to work. I can find no "2133 2 144115188075856295" in the "game_start -1" section, only in " update_order_panel_checked_classes -1". I've changed it, but doesn't seems to have any changes.
I've also tried the 164 stuff, but it didn't word either.
could anyone help me sort that out ?
Methias1013 said:Does anyone know if this works with 1.011? I've tried this over and over again with no success, any help would be appreciated.
Methias1013 said:Kinlar, any chance you can copy/paste your section of script for this or send me your script file? Even with a new game it still doesn't work. Thanks for the help.
game_start -1
...1 5 507 3 288230376151711827 1 4 1 1 936748722493063469 2133 2 144115188075856296 0 507 3 288230376151711804 4 9 507 3...
2133 2 144115188075856295 0
2133 2 144115188075856295 1
General Warlord said:does anyone know the code for sword of Damocles im trying to find it but i have problems if anyone can help me thanks.
King Loras said:General Warlord said:does anyone know the code for sword of Damocles im trying to find it but i have problems if anyone can help me thanks.
If you are looking for the Sword of Damocles mod forum, it is right here. The mod can be downloaded through a link in one of the pinned threads in that subforum.
If you're looking for how to disable NPC interaction in Sword of Damocles, then you can try this. The mod author describes how to disable NPC interaction in a post later in the thread.