Fable3mod
Discussions for modifying Fable 3 (Site Rules)

Home » Modding Forums » Modding Discussion » Some questions about unlocking some things (Completionist here)
Some questions about unlocking some things [message #488] Thu, 23 October 2014 03:15 Go to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
First: how unlock the dlc? And somebody knows where to find them?
I have Fable 3 (PC), but since the dlc are no longer available, I wish to find them. I know that in fact there is only 3 (or 2 on PC if I understood correctly) packages and buying more DLC only unlocked files in them. I saw a forum about that but saw no clear answer. (I would prefer unlocking the dlc than giving myself the items)

Second: how get the "Fable Coin Golf" Items. I saw a table with all the items (pas tebin.com/Kf7Kj6ZF) but not the ones from "Fable Coin Golf". (And I will try to figure out how get the items)

Third: Is there a way to morph your weapons into a specific type (Organic, Bone, ...Wink and the text match up?

PS: I am not a mod writer nor a developper. Also, English is not my native language (though, I think mastering it with a good enough level). So explain things step byt step, please. Thanks.
Re: Some questions about unlocking some things [message #517 is a reply to message #488] Mon, 03 November 2014 01:05 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Ok, found fable3 on amazon. But somebody knows how unlock the Golf weapons?
Re: Some questions about unlocking some things [message #518 is a reply to message #517] Mon, 03 November 2014 08:03 Go to previous messageGo to next message
Phnx is currently offline  Phnx
Messages: 32
Registered: September 2013
Member
Use this method. The item codes are:
ObjectInventoryLegendarySwordDonorKebab
ObjectInventoryLegendarySwordThundaraga
ObjectInventoryLegendaryHammerHammerOfTheWhale
Re: Some questions about unlocking some things [message #521 is a reply to message #488] Mon, 10 November 2014 10:18 Go to previous messageGo to next message
Ovnidemon is currently offline  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 #522 is a reply to message #521] Mon, 10 November 2014 10:38 Go to previous messageGo to next message
Phnx is currently offline  Phnx
Messages: 32
Registered: September 2013
Member
AddAllDLC1Items
Re: Some questions about unlocking some things [message #523 is a reply to message #522] Mon, 10 November 2014 10:43 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Thanks, but still don't know how to make that works.

PS: I have also the game on Steam but I don't think that's the cause.

[Updated on: Mon, 10 November 2014 10:45]

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 Go to previous messageGo to next message
Ovnidemon is currently offline  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 #525 is a reply to message #524] Mon, 10 November 2014 16:11 Go to previous messageGo to next message
Phnx is currently offline  Phnx
Messages: 32
Registered: September 2013
Member
That method doesn't work if you use DLC.

There are scriptactivation.lua files in dlc_freeforall.bnk and dlc2free.bnk. Funny they named it like that when actually it's not free and those archives contain all the DLC content you have to pay for.

Anyway, if you use both DLC 1 and 2 you need to use the scriptactivation.lua from dlc2free.bnk. DLC 1 overrides vanilla Fable 3 and DLC 2 overrides DLC 1.

If you don't want to extract dlc2free.bnk and then repack everything every time you want to use scriptactivation.lua you can use step 8. from the guide on startup.vfsconfig in dlc_freeforall.bnk and dlc2free.bnk. That means extract dlc_freeforall.bnk delete <Bank Path="scriptsandgui.bnk" Mode="memory"/> in startup.vfsconfig. Do the same with dlc2free.bnk. Then repack both DLC files with the changed startup.vfsconfig files. Extract gamescripts_r.bnk, then scriptsandgui.bnk from dlc_freeforall.bnk, then scriptsandgui.bnk from dlc2free.bnk into D:\Steam\SteamApps\common\Fable 3\data\scripts.

Then use my dir.manifest.
  • Attachment: dir.manifest
    (Size: 62.11KB, Downloaded 55 times)
Re: Some questions about unlocking some things [message #527 is a reply to message #525] Mon, 10 November 2014 18:36 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Done but still not working. I even extracted all the bnk that you talked, changed them and repack them. Should I begin a new game? Or disconnect from the Live? If you want that I upload the files so you can see them, I'll do it.

[Updated on: Mon, 10 November 2014 18:38]

Report message to a moderator

Re: Some questions about unlocking some things [message #530 is a reply to message #488] Tue, 11 November 2014 04:28 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
I send my files here. I continued to look for what I did wrong but didn't see anything. The first three are in D:\Steam\SteamApps\common\Fable 3\
The next one in C:\Users\***\AppData\Local\Microsoft\XLive\DLC\4d53090a\0000 0002\b7d5fe3d720f347ce446785c3f55488c8e7ff201\Content
The last one is in 00000002\d7fcb87dc6790538cc5ee45ec44ec782603b8acb\Content
If you find what's the problem, thanks a lot.
Re: Some questions about unlocking some things [message #531 is a reply to message #530] Tue, 11 November 2014 04:50 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 119
Registered: August 2013
Location: Russia
Senior Member

I don't know, but maybe you just need to add new <package> to last DLC package_collection_info.xmb with modded *.bnk ?
like:
Toggle Spoiler

and put MyMod.bnk with last DLC folder
Re: Some questions about unlocking some things [message #532 is a reply to message #488] Tue, 11 November 2014 05:25 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
What should I put in MyMod.bnk?
Re: Some questions about unlocking some things [message #533 is a reply to message #532] Tue, 11 November 2014 06:21 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 119
Registered: August 2013
Location: Russia
Senior Member

any moded stuff?
just keep file structure
Re: Some questions about unlocking some things [message #534 is a reply to message #488] Tue, 11 November 2014 06:53 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
I used this method. It's not question about adding a MyMod.bnk but to change directly the files. (As I said, it's my first time modding, so I might have got that Wrong)

PS: Sorry for my English
Re: Some questions about unlocking some things [message #535 is a reply to message #534] Tue, 11 November 2014 10:18 Go to previous messageGo to next message
Phnx is currently offline  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 #536 is a reply to message #488] Tue, 11 November 2014 14:52 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Still not working Confused . I'll try first without DLC, then first DLC, etc. But not now. Thanks anyway.

[Updated on: Tue, 11 November 2014 14:53]

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 Go to previous messageGo to next message
Ovnidemon is currently offline  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 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 119
Registered: August 2013
Location: Russia
Senior Member

Ovnidemon wrote on Mon, 17 November 2014 00:29
Could 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 #543 is a reply to message #488] Mon, 17 November 2014 02:12 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Ok, thanks a lot. I thought that the ' wasn't necessary, that was only to indicated wich part of the code is to change Embarrassed .
Also, restarting the game doesn't bother me, it was only a test save. This evening, I test all that.
Re: Some questions about unlocking some things [message #544 is a reply to message #543] Mon, 17 November 2014 03:19 Go to previous messageGo to next message
Artofeel is currently offline  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
Re: Some questions about unlocking some things [message #545 is a reply to message #488] Mon, 17 November 2014 17:24 Go to previous messageGo to next message
Ovnidemon is currently offline  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 #546 is a reply to message #545] Tue, 18 November 2014 00:26 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 119
Registered: August 2013
Location: Russia
Senior Member

Ovnidemon wrote on Tue, 18 November 2014 06:24
Just say me where I can find them, So I won't bother you anymore.
In previous post maybe? :)

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()
Inventory.RemoveItemOfType(GetLocalHero(), 'ITEM_NAME')
end
end
Re: Some questions about unlocking some things [message #547 is a reply to message #546] Tue, 18 November 2014 09:09 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Artofeel wrote on Tue, 18 November 2014 00:26
Ovnidemon wrote on Tue, 18 November 2014 06:24
Just say me where I can find them, So I won't bother you anymore.
In previous post maybe? Smile

Embarrassed *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 Spoiler


Again, thanks a lot for having taken time for me.

[Updated on: Tue, 18 November 2014 09:23]

Report message to a moderator

Re: Some questions about unlocking some things [message #548 is a reply to message #547] Tue, 18 November 2014 09:42 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 119
Registered: August 2013
Location: Russia
Senior Member

Ovnidemon wrote on Tue, 18 November 2014 22:09
So here is the final code

and again there is something wrong?
your code for remove duplicate weapons will only work if ObjectInventoryPotionDogSetter == 0
you need to put it outside this check
or you just want to run it only once? Then OK.
Re: Some questions about unlocking some things [message #550 is a reply to message #548] Tue, 18 November 2014 10:29 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
No, everything is fine, it was just to show it to eventual people looking to do the same.
Yes, I just want to run it once (when I receive DLC1Items). The potionSetter condition is just that I chose one of the DLC item and said that if we didn't have it, we received all the DLC items and removed the ones that we can received normally.
Re: Some questions about unlocking some things [message #552 is a reply to message #550] Fri, 28 November 2014 10:57 Go to previous messageGo to next message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Sorry but I got a new problem: I tried to morph my weapons using the codes here, but it only remove all my weapons and I have only the two weapons equipped with the base morph.
Here is what I wrote
ScriptActivation[ScriptCode.QU000].AbleToRun=function ()

Debug.SetPrimaryMesh(0)
Debug.SetSecondaryMesh(0)
return nil
end

The only time where I got a morph was with Debug.SetPrimaryMesh(-1) but it was random and still got every others weapons removed.
Re: Some questions about unlocking some things [message #553 is a reply to message #552] Fri, 28 November 2014 11:51 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 119
Registered: August 2013
Location: Russia
Senior Member

easy way is look at function it's self
is in miscfunctions.lua
it's pretty simple, is just pickup number and set string value
so I rewrite all you need
Toggle Spoiler

pickup one type for one parameter
and keep Gameflow.WeaponMeshOverride equal true

if you use realtime modding, you need go to sanctuary and then back, only then changes will appear
Re: Some questions about unlocking some things [message #554 is a reply to message #488] Fri, 28 November 2014 12:14 Go to previous message
Ovnidemon is currently offline  Ovnidemon
Messages: 19
Registered: October 2014
Junior Member
Thanks again, it works now Smile .
Previous Topic: Control scarring?
Next Topic: Manually upgrade legendary weapons?
Goto Forum:
  


Current Time: Fri Apr 17 07:35:41 PDT 2015

Total time taken to generate the page: 0.01447 seconds