Home » Modding Forums » Modding Discussion » Some questions about unlocking some things (Completionist here)
|
|
|
|
|
|
| Re: Some questions about unlocking some things [message #521 is a reply to message #488] |
Mon, 10 November 2014 10:18   |
Ovnidemon
Messages: 19 Registered: October 2014
|
Junior Member |
|
|
The method doesn't work. Maybe because I have the DLCs.
If it would work, I'll miss only 6 items now: The highlander set (2 clothins+ the tattoo)
the dye pack
Five star dog potion
and the hair pack.
If somebody could say me the item code or how to find it.(Found the DLCs folder with the highlander ouftit but didn't see anything near what you input for the rest), plus if somebody knows how to make it work.
[Updated on: Mon, 10 November 2014 10:39] Report message to a moderator
|
|
|
|
|
|
|
|
| Re: Some questions about unlocking some things [message #524 is a reply to message #523] |
Mon, 10 November 2014 12:53   |
Ovnidemon
Messages: 19 Registered: October 2014
|
Junior Member |
|
|
Ok, I write everything I have done, so say if I made a mistake (it's my first modding)
1)Launch BNK Browser
2)Open gamescripts_r.bnk
3)Extract all in D:\Steam\SteamApps\common\Fable 3\data\scripts
4)Replaced D:\Steam\SteamApps\common\Fable 3\data\dir.manifest with this http://pastebin.com/raw.php?i=y4LCrBv8
5)Deleted scripts\quests\scriptactivation.lua
6)Changed scripts\quests\scriptactivation.txt en .lua
7)Changed ScriptActivation[ScriptCode.QU000].AbleToRun=nil in scripts\quests\scriptactivation.lua
into
ScriptActivation[ScriptCode.QU000].AbleToRun = function ()
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendarySwordShardborne)
Inventory.AddItemOfType(GetLocalHero(),ObjectTattooSuitSE1)
Inventory.AddItemOfType(GetLocalHero(),ObjectTattooSuitSE2)
Inventory.AddItemOfType(GetLocalHero(),ObjectTattooSuitSE3)
Inventory.AddItemOfType(GetLocalHero(),ObjectTattooSuitSE4)
Inventory.AddItemOfType(GetLocalHero(),ObjectTattooSuitSE5)
Inventory.AddItemOfType(GetLocalHero(),ObjectTattooSuitSE7)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendaryHammerChampion)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendarySwordChanneler)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendaryHammerAbsolver)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendarySwordInquisitor)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendarySwordDonorKebab)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendarySwordThundaraga)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryLegendaryHammerHammerOfTheWhale)
Inventory.AddItemOfType(GetLocalHero(),ObjectInventoryPotionDogSetter)
return nil
end
8)Deleted <Bank Path="gamescripts_r.bnk" Mode="memory"/> in Fable 3\data\startup.vfsconfig
9)(Not asked but did it anyways when I saw that doesn't work) Launch BNK creator, Add folder Fable 3\data\scripts, create Fable 3\data\gamescripts_r.bnk
10) Launch the game.
PS: If step 9 was wrong, somebody could send gamescripts_r.bnk? I saved the wrong file and no longer have any back up.
Thanks.
[Updated on: Mon, 10 November 2014 12:55] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Some questions about unlocking some things [message #535 is a reply to message #534] |
Tue, 11 November 2014 10:18   |
Phnx
Messages: 32 Registered: September 2013
|
Member |
|
|
Firstly, bnk files always have bnk.dat files. Without them you cannot open bnk files, or rather, bnk files are used to open bnk.dat files. They are always BOTH changed. For me to check your DLC files you'd have to upload the bnk.dat files too. Don't do that. They are too big!
Secondly, do not repack scriptsandgui.bnk and scriptsandgui.bnk.dat from both DLC 2 archives! I forgot to tell you to either delete them, or better, rename them and keep them just in case. Sorry! Make absolutely sure the game does not load the DLC scripts from the archives. That's why you also have to delete the entries from both startup.vfsconfig in the DLC archives. Also delete or rename gamescripts_r.bnk and gamescripts_r.bnk.dat. Make absolutely sure that the game does not load the scripts from that archive either! All the scripts must be loaded from the extracted scripts folder and dir.manifest must contain all the paths to every single scripts file. I made sure of that in my dir.manifest file. I checked your startup.vfsconfig and you are using my dir.manifest. Everything's correct there.
Thirdly, make sure your scripts folder is set up correct. The correct paths are:
Fable 3\data\scripts\ai
Fable 3\data\scripts\camera
etc.
[Updated on: Tue, 11 November 2014 10:21] Report message to a moderator
|
|
|
|
|
|
| Re: Some questions about unlocking some things [message #541 is a reply to message #488] |
Sun, 16 November 2014 11:29   |
Ovnidemon
Messages: 19 Registered: October 2014
|
Junior Member |
|
|
Okay, I have a big problem: I reinstalled the game without any DLCs, made the method as said, but still nothing. The problem must be the code or that I don't do enough in game. I just launch the game and I am just after giving the goods to the Dweller Camp.
The code is: ScriptActivation[ScriptCode.QU000].AbleToRun=function ()
Inventory.AddItemOfType(GetLocalHero(), ObjectInventoryLegendarySwordInquisitor)
Inventory.AddItemOfType(GetLocalHero(), ObjectInventoryLegendarySwordSouldrinker)
return nil
end
Could anybody test it if it works?
[Updated on: Sun, 16 November 2014 11:34] Report message to a moderator
|
|
|
|
| Re: Some questions about unlocking some things [message #542 is a reply to message #541] |
Mon, 17 November 2014 01:59   |
Artofeel
Messages: 119 Registered: August 2013 Location: Russia
|
Senior Member |

|
|
Ovnidemon wrote on Mon, 17 November 2014 00:29Could anybody test it if it works?
it's not correct
you forget add ' on item
Inventory.AddItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordInquisitor')
Inventory.AddItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordSouldrinker')
but it's still messy
you will get item every time when game is loading
so very correct code is:
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordInquisitor') == 0 then
Inventory.AddItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordInquisitor')
GUI.DisplayReceivedItem('ObjectInventoryLegendarySwordInquisitor')
end
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordSouldrinker') == 0 then
Inventory.AddItemOfType(GetLocalHero(), 'ObjectInventoryLegendarySwordSouldrinker')
GUI.DisplayReceivedItem('ObjectInventoryLegendarySwordSouldrinker')
end
also congratulations, you broke every quest
now you need to start a new game
this is why modding game with ScriptActivation.lua is not recommended
because if you write something wrong, scipt execution is stoped and every quest code will not be activated
if you still want use this way, add this at the end of file
GUI.DisplayMessageBox("All OK")
this will display MessageBox
so if it's displayed then everything is fine
|
|
|
|
|
|
| Re: Some questions about unlocking some things [message #544 is a reply to message #543] |
Mon, 17 November 2014 03:19   |
Artofeel
Messages: 119 Registered: August 2013 Location: Russia
|
Senior Member |

|
|
btw, for those who are experiencing difficulties in getting all weapons (since it requires a visit to the worlds of other players)
Toggle Spoiler
local allLegendaryWeapons = {
'ObjectInventoryLegendaryHammerAbsolver',
'ObjectInventoryLegendaryHammerAnwarGlory',
'ObjectInventoryLegendaryHammerAuroraShield',
'ObjectInventoryLegendaryHammerBloodstoneBludgeon',
'ObjectInventoryLegendaryHammerChampion',
'ObjectInventoryLegendaryHammerDragonboneHammer',
'ObjectInventoryLegendaryHammerFaerie',
'ObjectInventoryLegendaryHammerHammerOfTheWhale',
'ObjectInventoryLegendaryHammerJackHammer',
'ObjectInventoryLegendaryHammerLunariumPounder',
'ObjectInventoryLegendaryHammerMalletsMallet',
'ObjectInventoryLegendaryHammerScytheHammer',
'ObjectInventoryLegendaryHammerSorrowsFist',
'ObjectInventoryLegendaryHammerTenderiser',
'ObjectInventoryLegendaryHammerTenderiser',
'ObjectInventoryLegendaryHammerTrollblight',
'ObjectInventoryLegendaryHammerTwatter',
'ObjectInventoryLegendaryHammerWillmageddon',
'ObjectInventoryLegendaryPistolBarnumificator',
'ObjectInventoryLegendaryPistolBlackDragon',
'ObjectInventoryLegendaryPistolBloodcraver',
'ObjectInventoryLegendaryPistolBonesmasher',
'ObjectInventoryLegendaryPistolBriarsBlaster',
'ObjectInventoryLegendaryPistolChickenbane',
'ObjectInventoryLegendaryPistolDeadNed',
'ObjectInventoryLegendaryPistolDesertFury',
'ObjectInventoryLegendaryPistolDragonstomper',
'ObjectInventoryLegendaryPistolFullMonty',
'ObjectInventoryLegendaryPistolGnomewrecker',
'ObjectInventoryLegendaryPistolHolyVengeance',
'ObjectInventoryLegendaryPistolIceMaiden',
'ObjectInventoryLegendaryPistolMiriansMutilatogeorge r',
'ObjectInventoryLegendaryPistolPerforator',
'ObjectInventoryLegendaryPistolSailorGeriShooter',
'ObjectInventoryLegendaryRifleArkwrightFlintlock',
'ObjectInventoryLegendaryRifleDefender',
'ObjectInventoryLegendaryRifleDirtyHarriet',
'ObjectInventoryLegendaryRifleEqualiser',
'ObjectInventoryLegendaryRifleEthelbertBoner',
'ObjectInventoryLegendaryRifleFacemelter',
'ObjectInventoryLegendaryRifleGusketMusket',
'ObjectInventoryLegendaryRifleHeroCompanion',
'ObjectInventoryLegendaryRifleMarksman',
'ObjectInventoryLegendaryRifleMolynator',
'ObjectInventoryLegendaryRifleMoneyShot',
'ObjectInventoryLegendaryRifleSakerFlintlock',
'ObjectInventoryLegendaryRifleScattershot',
'ObjectInventoryLegendaryRifleSimmonsShotgun',
'ObjectInventoryLegendaryRifleSkormJustice',
'ObjectInventoryLegendaryRifleSwiftIrregular',
'ObjectInventoryLegendarySwordAvoLamentation',
'ObjectInventoryLegendarySwordBaronSlayer',
'ObjectInventoryLegendarySwordBeadleCutlass',
'ObjectInventoryLegendarySwordCasanova',
'ObjectInventoryLegendarySwordChanneler',
'ObjectInventoryLegendarySwordDonorKebab',
'ObjectInventoryLegendarySwordFishknife',
'ObjectInventoryLegendarySwordInquisitor',
'ObjectInventoryLegendarySwordMerchantsBodyguard',
'ObjectInventoryLegendarySwordMogoShafter',
'ObjectInventoryLegendarySwordMrStabby',
'ObjectInventoryLegendarySwordPorkSword',
'ObjectInventoryLegendarySwordShardborne',
'ObjectInventoryLegendarySwordSlimquick',
'ObjectInventoryLegendarySwordSouldrinker',
'ObjectInventoryLegendarySwordSwingingSword',
'ObjectInventoryLegendarySwordThundaraga',
'ObjectInventoryLegendarySwordThunderblade',
'ObjectInventoryLegendarySwordWolfsbane'
}
for key,value in pairs(allLegendaryWeapons) do
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), value) == 0 then
Inventory.AddItemOfType(GetLocalHero(), value)
GUI.DisplayReceivedItem(value)
end
end
|
|
|
|
| Re: Some questions about unlocking some things [message #545 is a reply to message #488] |
Mon, 17 November 2014 17:24   |
Ovnidemon
Messages: 19 Registered: October 2014
|
Junior Member |
|
|
Finally, I get everything from free DLC. Thanks a lot.ScriptActivation[ScriptCode.QU000].AbleToRun = function ()
local testDLC = {
'ObjectInventoryLegendarySwordThundaraga',
'ObjectInventoryLegendaryHammerHammerOfTheWhale',
'ObjectInventoryLegendarySwordDonorKebab',
'ObjectInventoryLegendarySwordInquisitor',
'ObjectInventoryLegendaryHammerAbsolver',
'ObjectInventoryLegendarySwordChanneler',
'ObjectInventoryLegendaryHammerChampion',
'ObjectInventoryLegendarySwordShardborne'
}
for key,value in pairs(testDLC) do
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), value) == 0 then
Inventory.AddItemOfType(GetLocalHero(), value)
GUI.DisplayReceivedItem(value)
end
end
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryPotionDogSetter') == 0 then
Debug.AddAllDLC1Items()
Debug.AddAllSpecialEditionTattoos()
Inventory.RemoveItemOfType(GetLocalHero(), 'ITEM_NAME')
end
return nil
end
One last step, and I am offcialy done, is to remove the weapons that will be dupplicate (Full Monty, Dead Ned, Black Dragon, Gusket, Bloodstone, Harriet, Money shot and Marksman 500). I already found the way to remove them (the RemoveItemLine, one for each item) but I have no idea of their codes. Just say me where I can find them, So I won't bother you anymore.
And, again, thanks a lot.
[Updated on: Mon, 17 November 2014 17:26] Report message to a moderator
|
|
|
|
|
|
| Re: Some questions about unlocking some things [message #547 is a reply to message #546] |
Tue, 18 November 2014 09:09   |
Ovnidemon
Messages: 19 Registered: October 2014
|
Junior Member |
|
|
Artofeel wrote on Tue, 18 November 2014 00:26Ovnidemon wrote on Tue, 18 November 2014 06:24Just say me where I can find them, So I won't bother you anymore. In previous post maybe? 
*Hide in shame*
Quote:and there is something wrong
Ovnidemon wrote on Tue, 18 November 2014 06:24
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryPotionDogSetter') == 0 then
Debug.AddAllDLC1Items()
Debug.AddAllSpecialEditionTattoos()
[color=red][b]Inventory.RemoveItemOfType(GetLocalHero(), 'ITEM_NAME')[/b][/color]
end
end
It was just to show where I was going to put it (though, to be clearer, I hould have put it in comment)
So here is the final code
Toggle SpoilerScriptActivation[ScriptCode.QU000].AbleToRun = function ()
Gameflow.AllowFakePreOrderTemplates = true
local freeDLC = {
'ObjectInventoryLegendarySwordThundaraga',
'ObjectInventoryLegendaryHammerHammerOfTheWhale',
'ObjectInventoryLegendarySwordDonorKebab',
'ObjectInventoryLegendarySwordInquisitor',
'ObjectInventoryLegendaryHammerAbsolver',
'ObjectInventoryLegendarySwordChanneler',
'ObjectInventoryLegendaryHammerChampion',
'ObjectInventoryLegendarySwordShardborne'
}
for key,value in pairs(freeDLC) do
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), value) == 0 then
Inventory.AddItemOfType(GetLocalHero(), value)
GUI.DisplayReceivedItem(value)
end
end
if Inventory.GetNumberOfItemsOfType(GetLocalHero(), 'ObjectInventoryPotionDogSetter') == 0 then
Debug.AddAllDLC1Items()
Debug.AddAllSpecialEditionTattoos()
local doubleWeapons= {
'ObjectInventoryLegendaryPistolDeadNed',
'ObjectInventoryLegendaryPistolFullMonty',
'ObjectInventoryLegendaryPistolBlackDragon',
'ObjectInventoryLegendaryRifleGusketMusket',
'ObjectInventoryLegendaryRifleMoneyShot',
'ObjectInventoryLegendaryRifleDirtyHarriet',
'ObjectInventoryLegendaryRifleMarksman',
'ObjectInventoryLegendaryHammerBloodstoneBludgeon'
}
for key,value in pairs(doubleWeapons) do
Inventory.RemoveItemOfType(GetLocalHero(), value)
end
end
return nil
end
Again, thanks a lot for having taken time for me.
[Updated on: Tue, 18 November 2014 09:23] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 17 07:35:41 PDT 2015
Total time taken to generate the page: 0.01447 seconds
|