Morague
14th Jul 2007, 04:52 AM
Tutorial updated July 15, 2007. Numenor figured out how to get around using the Maxis global group for the TXTR & TXMT files, which simplifies things immesnsly. I have rewritten the tutorial to eflect these changes. Please, also download the updated package files.
Making your own Body Overlays
What you’ll need to make your own versions. You must have Seasons. The primitive that is needed for this didn’t exist until Pets & the sunburn overlays that this is based on didn’t come until Seasons. It simply can’t work with earlier expansions.
1) SimPe. Get the latest version here (http://sims.ambertation.de/)
2) A good paint program that does layers & transparency
3) A working knowledge of SimPe!
General
If you simply want to change the textures for your own personal game, then all you have to do is open up MoraguesTattooSkins.package in SimPe & replace the existing textures with your textures. Be sure you use Build DTX.
The rest of this document is intended for creators & as such, will not go into a great deal of detail because you shouldn’t attempt this if you are not comfortable with SimPe.
Creators
You will need to clone both of my package files to use as your template. All I require is that you give me credit when you make clones, no posting at the exchange & preferably not at pay sites.
If you are interested in how the files link together, I recommend this thread (http://www.modthesims2.com/showthread.php?t=208775) by Wes.
It is necessary to use the Maxis global Collection group 0x4F184AA9 for the collection you will create. You need to be check this against existing Maxis instance numbers to make sure there are no duplicates. I have attached a spreadsheet with all of the currently existing collecting numbers in it to make this easy to check. Provided you follow the instructions, then chances of a duplicate is extremely unlikely.
The Skins Package
1) Grab a sheet of paper & write down the existing instance numbers for the material Definitions & what they represent. For example ufbody is currently instance number 0xFFB8585A
http://thumbs.modthesims2.com/getimage.php?file=573723
2) Replace my textures with your textures. Use Build DTX & preferably use DTX5
http://thumbs.modthesims2.com/getimage.php?file=573724
3) Rename my textures with your distinctive name & my Material Definitions with your names. Textures use a dash in the name while material definitions use the underscore.. I would suggest just changing the part of the names that comes after the dash or underscore. You must do Fix TGI on every single TXTR & TXMT. Don’t forget to Commit.
4) Now, rename the property sets & the texture overlay (XTOL) with your distinctive name
http://thumbs.modthesims2.com/getimage.php?file=573725
5) Edit each 3IDR so it points to your Material Definition rather than mine. Grab your sheet of paper & note your new instance numbers beside the old instance numbers. Please note – you are replacing the last Material Definition line which is the fourth line. Don’t change anything else in here. The easiest way to do this is to drag your Material Reference down & then delete mine. Make sure you commit!
http://thumbs.modthesims2.com/getimage.php?file=573726
6) Click on each Property set. You need to generate a long hash value for the Family string. Make it distinctive – like Moragues First Body tattoo skins 07072007, then click the GUID button. Copy that GUID into the Family (dtString). Use the same number for all of the body Property Sets, generate a new one for the hair & another one for the face. So, you need to generate 3 Family strings. The reason you are doing this is so the sims age transition with the correct tattoos.
http://thumbs.modthesims2.com/getimage.php?file=573727
7) Select the Text List, then change the string from “Moragues Tattoo Overlay 07072007” to your name, description and date. Commit & copy this string to the Clipboard
http://thumbs.modthesims2.com/getimage.php?file=573728
8) Now you need to generate a hash value for the Collection Use SimPe’s Hash Generator to generate a number. Paste from the Clipboard & SimPe will generate the hash value. Click on CRC 32 then copy that number. Switch to Resource View & paste it into the Collection Instance Number. Commit.
9) Find the 3IDR that corresponds to the Collection – it’s group number is 0x4F184AA9 – change it’s instance number to the same Instance Number as the Collection. Commit.
http://thumbs.modthesims2.com/getimage.php?file=573732
10) Now check to make sure this is not a duplicate Collection number! If it is, you need a different hash. Use the spreadsheet – it has all of the collections listed in it.
11) Back to the Text List. Change all of the text strings to your text strings. Keep the order here the same – just change the stuff after the underscore. Commit!
http://thumbs.modthesims2.com/getimage.php?file=573733
12) Edit each 3IDR & change the Collection Instance number to your collection instance number. Don’t forget to commit each time.
http://thumbs.modthesims2.com/getimage.php?file=573734
13) Copy/write down the Collection’s Instance number & save your file!
Provided that you did not add or delete any entries, everything should work without any other changes.
The Object Package
1) Open up your clone of MoraguesTattooObject, then click on the BCON. You need to change the numbers here to show your Collection’s instance number. Split your number in half – the second half goes in line 0 & the first half goes in line 1. Commit
http://thumbs.modthesims2.com/getimage.php?file=573735
2) Change the Catalog Description, the Object Data & the Name Reference to your liking.
3) Edit the Pie menu Strings to change the text to show that it’s your tattoo. I simply named mine Morague’s Tattoo however, if you are going to create several you’ll need to be more descriptive because there isn’t any way for people to choose these other than by the text description! There simply isn’t any way to choose overlays in the game. Provide pictures so people will know what the tattoos look like.
http://thumbs.modthesims2.com/getimage.php?file=573736
4) Get your own GUID if you are going to release this..
http://thumbs.modthesims2.com/getimage.php?file=573737
5) Save your package.
That’s it – now test it out to make sure it works J Don’t forget to check your Collection’s instance number!
You can add extra tattoos to your object. Clone your “skins” package & repeat all of the above steps relating to the skins package. Add the new collection number to the BCON as I have done. Edit you Pie Menu strings. If you are adding a third set, you’ll have to make a new BHAV for it – just clone an existing one & change the BCON numbers that get called.
Morague
Ps – I have posted a Collections spreadsheet that has all currently existing collections listed.
Making your own Body Overlays
What you’ll need to make your own versions. You must have Seasons. The primitive that is needed for this didn’t exist until Pets & the sunburn overlays that this is based on didn’t come until Seasons. It simply can’t work with earlier expansions.
1) SimPe. Get the latest version here (http://sims.ambertation.de/)
2) A good paint program that does layers & transparency
3) A working knowledge of SimPe!
General
If you simply want to change the textures for your own personal game, then all you have to do is open up MoraguesTattooSkins.package in SimPe & replace the existing textures with your textures. Be sure you use Build DTX.
The rest of this document is intended for creators & as such, will not go into a great deal of detail because you shouldn’t attempt this if you are not comfortable with SimPe.
Creators
You will need to clone both of my package files to use as your template. All I require is that you give me credit when you make clones, no posting at the exchange & preferably not at pay sites.
If you are interested in how the files link together, I recommend this thread (http://www.modthesims2.com/showthread.php?t=208775) by Wes.
It is necessary to use the Maxis global Collection group 0x4F184AA9 for the collection you will create. You need to be check this against existing Maxis instance numbers to make sure there are no duplicates. I have attached a spreadsheet with all of the currently existing collecting numbers in it to make this easy to check. Provided you follow the instructions, then chances of a duplicate is extremely unlikely.
The Skins Package
1) Grab a sheet of paper & write down the existing instance numbers for the material Definitions & what they represent. For example ufbody is currently instance number 0xFFB8585A
http://thumbs.modthesims2.com/getimage.php?file=573723
2) Replace my textures with your textures. Use Build DTX & preferably use DTX5
http://thumbs.modthesims2.com/getimage.php?file=573724
3) Rename my textures with your distinctive name & my Material Definitions with your names. Textures use a dash in the name while material definitions use the underscore.. I would suggest just changing the part of the names that comes after the dash or underscore. You must do Fix TGI on every single TXTR & TXMT. Don’t forget to Commit.
4) Now, rename the property sets & the texture overlay (XTOL) with your distinctive name
http://thumbs.modthesims2.com/getimage.php?file=573725
5) Edit each 3IDR so it points to your Material Definition rather than mine. Grab your sheet of paper & note your new instance numbers beside the old instance numbers. Please note – you are replacing the last Material Definition line which is the fourth line. Don’t change anything else in here. The easiest way to do this is to drag your Material Reference down & then delete mine. Make sure you commit!
http://thumbs.modthesims2.com/getimage.php?file=573726
6) Click on each Property set. You need to generate a long hash value for the Family string. Make it distinctive – like Moragues First Body tattoo skins 07072007, then click the GUID button. Copy that GUID into the Family (dtString). Use the same number for all of the body Property Sets, generate a new one for the hair & another one for the face. So, you need to generate 3 Family strings. The reason you are doing this is so the sims age transition with the correct tattoos.
http://thumbs.modthesims2.com/getimage.php?file=573727
7) Select the Text List, then change the string from “Moragues Tattoo Overlay 07072007” to your name, description and date. Commit & copy this string to the Clipboard
http://thumbs.modthesims2.com/getimage.php?file=573728
8) Now you need to generate a hash value for the Collection Use SimPe’s Hash Generator to generate a number. Paste from the Clipboard & SimPe will generate the hash value. Click on CRC 32 then copy that number. Switch to Resource View & paste it into the Collection Instance Number. Commit.
9) Find the 3IDR that corresponds to the Collection – it’s group number is 0x4F184AA9 – change it’s instance number to the same Instance Number as the Collection. Commit.
http://thumbs.modthesims2.com/getimage.php?file=573732
10) Now check to make sure this is not a duplicate Collection number! If it is, you need a different hash. Use the spreadsheet – it has all of the collections listed in it.
11) Back to the Text List. Change all of the text strings to your text strings. Keep the order here the same – just change the stuff after the underscore. Commit!
http://thumbs.modthesims2.com/getimage.php?file=573733
12) Edit each 3IDR & change the Collection Instance number to your collection instance number. Don’t forget to commit each time.
http://thumbs.modthesims2.com/getimage.php?file=573734
13) Copy/write down the Collection’s Instance number & save your file!
Provided that you did not add or delete any entries, everything should work without any other changes.
The Object Package
1) Open up your clone of MoraguesTattooObject, then click on the BCON. You need to change the numbers here to show your Collection’s instance number. Split your number in half – the second half goes in line 0 & the first half goes in line 1. Commit
http://thumbs.modthesims2.com/getimage.php?file=573735
2) Change the Catalog Description, the Object Data & the Name Reference to your liking.
3) Edit the Pie menu Strings to change the text to show that it’s your tattoo. I simply named mine Morague’s Tattoo however, if you are going to create several you’ll need to be more descriptive because there isn’t any way for people to choose these other than by the text description! There simply isn’t any way to choose overlays in the game. Provide pictures so people will know what the tattoos look like.
http://thumbs.modthesims2.com/getimage.php?file=573736
4) Get your own GUID if you are going to release this..
http://thumbs.modthesims2.com/getimage.php?file=573737
5) Save your package.
That’s it – now test it out to make sure it works J Don’t forget to check your Collection’s instance number!
You can add extra tattoos to your object. Clone your “skins” package & repeat all of the above steps relating to the skins package. Add the new collection number to the BCON as I have done. Edit you Pie Menu strings. If you are adding a third set, you’ll have to make a new BHAV for it – just clone an existing one & change the BCON numbers that get called.
Morague
Ps – I have posted a Collections spreadsheet that has all currently existing collections listed.