View Full Version : Item I made won't recolour
mickyss
28th May 2005, 04:05 PM
I have a recolour problem!
I made a Item created new TXTR(Texture Image) did the MATD (Material Definition) did the MMAT ( Material Overide ) and added Shap parts the item has all new part names and is fine in game and look fine but!
The object won't recolour, it has no texture to choose from when clone colours?? any clue to why.
:werd:
Has 7 textures - PLS Help recolour problem.
the object is awesome will post when uploads is up
Its a Honda Shadow Sabre Motorbike.
mickyss
28th May 2005, 04:17 PM
Oh when I did the clone txtr then fix integrity i had a erorr
---------------------------
Message:
Item has already been added. Key in dictionary: "honda-motorbike-01-[mts-130477-25.5.2005-1660]-engine-motor01_txtr" Key being added: "honda-motorbike-01-[mts-130477-25.5.2005-1660]-engine-motor01_txtr"
SimPE Version:
0.35.1930.21496.
Exception Stack:
System.ArgumentException: Item has already been added. Key in dictionary: "honda-motorbike-01-[mts-130477-25.5.2005-1660]-engine-motor01_txtr" Key being added: "honda-motorbike-01-[mts-130477-25.5.2005-1660]-engine-motor01_txtr"
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at SimPe.Plugin.RenameForm.GetReplacementMap()
at SimPe.Plugin.RenameForm.Execute(IPackageFile package, Boolean uniquename, FixVersion& ver)
at SimPe.Plugin.FixObject.GetNameMap(Boolean uniquename)
at SimPe.Plugin.FixTool.ShowDialog(IPackedFileDescriptor& pfd, IPackageFile& package)
Source:
mscorlib
Execution Stack:
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at SimPe.Plugin.RenameForm.GetReplacementMap()
at SimPe.Plugin.RenameForm.Execute(IPackageFile package, Boolean uniquename, FixVersion& ver)
at SimPe.Plugin.FixObject.GetNameMap(Boolean uniquename)
at SimPe.Plugin.FixTool.ShowDialog(IPackedFileDescriptor& pfd, IPackageFile& package)
-------------------------
but there was only one honda-motorbike-01-[mts-130477-25.5.2005-1660]-engine-motor01_txtr
name in the file.
I got round this by saveing then opening then fix integrity no pro there.
mickyss
30th May 2005, 02:52 PM
http://www.modthesims2.com/showthread.php?t=66059
This is what i would like to do recolour on.
SnowStorm
30th May 2005, 03:40 PM
Ok, You can only allow recolouring on a max of 2 models. You have 7 models listed on this one.
You have all 7 items listed in the tsDesignModeEnabled, you can't do that.
I'm not sure how the tsDesignModeSlaveSubsets works, but you might be able to use that to keep the multiple models.
Your subsetName in your material overides are not pointing to the proper model name. For instance the material override for the tank, the subsetName should be tank, not finish.
What you should probably do, is regroup the object into what you want recolourable and what you don't need to be recoloured.
For example the would you really need them to beable to recolour the frame, the tires, engine, mags, or gauges? If not that just leaves the tank and covers. Should these be able to be mix and matched or not?
Also you are using 512x512 textures for each subset. That might be a bit overkill.
If it was me at a minimum, I would remove everything but the tank and covers from the tsDesignmodeEnabled block. And see if that gets it recolourable in game. (Not sure how the tsDesignModeSlaveSubsets works yet so don't know if it will interfere or not).
Hopefully this will help you get these recolourable.
mickyss
30th May 2005, 04:26 PM
[If it was me at a minimum, I would remove everything but the tank and covers from the]
It dose this is how i did the a dirt bike,
But i was wanting more detail on this one.
I know the subsetName should be tank, not finish.
but it was making know diferents so I left it.
I take another look at the subsetName and the tsDesignModeSlaveSubsets and see what will happen.
Thank you for you insite :)
mickyss
1st Jun 2005, 03:22 AM
Well iv looked at the subsetName and fix them and redone the parts so it gets the colour selection list and recolours but in the game on two options come up.
You must be right only two object can be coloured from within the game.
There go's my dreams of a fully coustomizable motorbike.
Still i dont wont to give up just yet, there is always a way.
Maybe hacking? if any hacker can do it id love to know.
mickyss
12th Jun 2005, 06:10 AM
Thanks SnowStorm
I found under Geometric node i can enable the re-colour but only the first two come up in the game it will do.
Thought Id like the option to choose other parts like coustom gauges and frame colours and seats.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.