Fable3mod
Discussions for modifying Fable 3

Home » Modding Forums » Modding Discussion » Script for All clothing and Tattoos?
Script for All clothing and Tattoos? Wed, 14 October 2015 06:52 Go to next message
Ragnin is currently offline  Ragnin
Messages: 8
Registered: October 2015
Junior Member
I've been trying to find scripts that adds all clothing and Tattoos.

I got all hairstyles and makeup using
Debug.AddAllInventoryItemsF2
Debug.AddAllInventoryItems
Debug.AddAllHairstyles

But
Debug.AddAllClothingSuits
Debug.AddAllClothingF2

does not seem to work for adding cloths. and could find no command to give all tattoos.

[Updated on: Wed, 14 October 2015 06:52]

Report message to a moderator

Re: Script for All clothing and Tattoos? Wed, 14 October 2015 13:04 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
try
local allObjects = {
	'ObjectTattooSuitSE1',
	'ObjectTattooSuitSE2',
	'ObjectTattooSuitSE3'
	--etc
}

for key,value in pairs(allObjects) do
	if Inventory.GetNumberOfItemsOfType(GetLocalHero(), value) == 0 then
		Inventory.AddItemOfType(GetLocalHero(), value)
		GUI.DisplayReceivedItem(value)
	end
end


and objects that I have found, some of then may not exist, so be careful
Objects

Re: Script for All clothing and Tattoos? Wed, 14 October 2015 19:19 Go to previous messageGo to next message
Ragnin is currently offline  Ragnin
Messages: 8
Registered: October 2015
Junior Member
Didn't work. Even tried adding each piece by itself using 'ObjectClothingGlovesAuroranF' as an example.
Re: Script for All clothing and Tattoos? Fri, 16 October 2015 06:38 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
then your script is broken
try to add
GUI.DisplayMessageBox("My script is loaded!")

to the end of file
if msgbox is not showing up, then something wrong
Re: Script for All clothing and Tattoos? Fri, 16 October 2015 12:03 Go to previous message
Ragnin is currently offline  Ragnin
Messages: 8
Registered: October 2015
Junior Member
Well don't I feel dumb. Screwed up putting in the lists. Forgot the "," at the end of each one. lol sorry about that. Though on the item list you provided didn't work. I had to add each piece of the suit individually.
ex. being
'ObjectTattooChestGuild'
'ObjectTattooArmLeftGuild'
'ObjectTattooArmRightGuild'
'ObjectTattooFaceGuild'
'ObjectTattooBackGuild'
'ObjectTattooLegLeftGuild'
'ObjectTattooLegRightGuild'
'ObjectTattooBackGuild2'

That gave me all the guild tattoos. Thank you for you help.

[Updated on: Fri, 16 October 2015 12:04]

Report message to a moderator

Previous Topic: Modding Hero Weapon morphing requirements
Next Topic: Debug commands
Goto Forum:
  


Current Time: Fri Mar 29 02:50:14 PDT 2024

Total time taken to generate the page: 0.01648 seconds