Tutorial: Add the lod3_1 in CTU packages(add a meshgroup to outfits)
sorry Coco, no screenshots...
(i so h8 them....)
A small tut on how to add the lod3_1 to a package generated with
CTU This method will also work when the original outfit has only one meshgroup.
Did a small test here using 3 meshgroups for each lod, works as it should:
http://www.modthesims.info/showpost...424&postcount=8
Wat you need
CTU and
S3PE ------------------------------------
I am using the afBodyDressTight_halter as example, a outfit i often choose to create custom clothing.
Open
CTU Clone the afBodyDressTight_halter(adultfemalebody) and extract(and save) its meshes(6 total)
Add a new design in the designs tab
Go to the meshtab and reimport the meshes back
Lod1
Lod1_1
Lod2
Lod2_1
Lod3
Lod3_1 isn't possible in
CTU and that is wat we are going to fix
Give the mesh a unique name, i call it FIX and click commit.
If you are going to add a normalmap keep in mind you need to update the meshcomments(Milkshape) for the lod3_1 later!
You need to change the TGI reference for the normalmap then.(Using the lod3 comments)
Save the file, close
CTU ---------------------------------------------------------------------------------------------
s3Pe:
After you opened the file with
S3PE you duplicate the lod3 GEOM
Right click the file and choose duplicate.
When done double click the duplicate and add _1 after the lod3, in my case the new name will be FIX_lod3_1 instead of FIX_lod3
Then tick the box ''rename if present'' and click the FNV32 button
You will see the instance number change, then click ok
Save your file
Next we need to update the VPXY file with a new entry and add the TGI link from the Lod3_1 GEOM.
TGI=TYPE GROUP and INSTANCE number.
There are a few VPXY files in the package but we only need to edit one.
The one we need has the same last 6 digits(?) on the instance number as the group number of the GEOM files.(see screenshot)
It also is the file without _fat/_fit/_special or _thin written after its name.
Before browsing the VPXY using s3Pe's grid you double click the lod3_1 GEOM file and copy its instance number, then close the popup.(cancel)
We need this instance number later, you also can copy and past it in a text doc or write it down.
Just make sure you have it, going back later forces you to start over editing the VPXY file.....
-Select the VPXY file and open it using the GRID
-In the first popup(data grid) click the line chunk entry
-click the button on the right so a new popup appears
-Open the RCOLBlock by clicking the + sign
-Click the line entries and click again the button on the right
-Another popup will appear, here you find the RIGs and GEOMS listed(6 total)
-click [5]Entry00
-Select the line TGIindexes in the right window, then click the button on the right
-In the new popup window copy the line [0]HandlerElement 1
-Change the VAL from 0x00000007 into 0x00000008 on the new [1]HandlerElement 1, then click ok to
close the popup window
-click ok again to close the popup till your back at the tab were the Entries and TGIBlocks are listed
-Select the line TGIBlocks and click the button on the right
-A new popup appears, the TGI Block list editor
-Select the last GEOM and choose add
-Change its Type to GEOM using the drop down list
-Change its instance number into the one you copied earlier from the GEOM lod3_1
-Change the group number, copy and past it from a GEOM listed above
-click save to close the popup
-click ok to close the previous popup
-click commit
Keep in mind that the lod3_1 GEOM still contains the lod3 mesh(since we duplicated it)
Update it with either the original lod3_1 of the afBodyDressTight_halter or load your custom mesh in it.
-Save your file
This will fix the missing lod3_1
The same method can be used to add a extra meshgroup(s) to any outfit that only has one.
When done you can click the VPXY file and check if all went well in the right window(see screenshot updated VPXY file)
The 5th entry should now have 2 subsets, correctly numbered.
The TGIBlock list shows the added lod3_1 with a correct instance number.
TSRW:
This works also for packages generated with TSRW altho you must reclone the file after the edits.
Then reimport your meshes so the sliderfiles will be regenerated.
TSRW can give you a error as it reads from the CAspart(i think) but ignore it and reimport your meshes and all will work as it should.
TSRW can NOT handle more then 2 meshgroups per Lod.