Difference between revisions of "Custom Maid 3D/Modding"
m (MaintenanceBot moved page Custom Maid 3D Modding Guide to Custom Maid 3D/Modding: Moving to new article structure) |
HamsterAnn (talk | contribs) m (→Insert new clothing items) |
||
Line 1: | Line 1: | ||
{{Custom Maid 3D}} | {{Custom Maid 3D}} | ||
+ | |||
+ | == Basic Information on Modding == | ||
+ | A majority of mods for Custom Maid 3D are available as various file types that, in most cases, require very little effort to install. These file types include: | ||
+ | |||
+ | *VAC: These files go in the GameData folder and make up a majority of available mods. | ||
+ | *CUS: These are preset files that usually come with mods that add clothing. Adding this files and selecting the preset in game without the required clothing mod will crash the game. | ||
+ | *KS: The files are script files and require the use of CM3DExtractor. Mods that use these files can be fairly complicated. | ||
==Insert new clothing items== | ==Insert new clothing items== |
Revision as of 00:04, 8 September 2014
Basic Information on Modding
A majority of mods for Custom Maid 3D are available as various file types that, in most cases, require very little effort to install. These file types include:
- VAC: These files go in the GameData folder and make up a majority of available mods.
- CUS: These are preset files that usually come with mods that add clothing. Adding this files and selecting the preset in game without the required clothing mod will crash the game.
- KS: The files are script files and require the use of CM3DExtractor. Mods that use these files can be fairly complicated.
Insert new clothing items
The below investigation was made for the benchmark, but it probably also works for the full game. Posted by hiremi. I started looking at some of the files in OOO (although saving the modified version is a pain), and found some interesting things in the cs_parts_* files. There's a whole set of columns for establishing which items "collide" with others and cause them to be removed. And I figured hey, why can't bras and shoes go with some of those one-piece outfits? (See attached image. The overlap on the bra is kind of odd in places, but I like the net effect. And the shoes are certainly fine.) Oddly, while the dress and apron type ones don't remove the bra, it also doesn't display at the same time. Don't know what's doing that. Also, I think I've established the ability to add new clothing options. By adding this line (line breaks inserted to show it properly):
234,ブラ1,縞,1,4,-1,ブラ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0, ULingerie000_000,0,100,40,100,96,0,0,0,0,2,0,Perts_costom_under_bra.png,0,0,64,64,0,40197,0, GameData\Xls,ULingerie000_001.nei,0,0 to the end of cs_parts_000.nei.txt, I produced the results in the second screenshot. It is a copy of a line earlier in the file except for two changes - changing the .nei file referenced, and changing the value in a field labeled "Btn ID" to a higher number. It seems like that value must be unique to function properly. ULingerie000_001.nei isn't referred to in the original files, but has a reference to an aqua-colored texture for the striped bra, which you can see in the screenshot. (The button still looks the same, since I didn't touch that.) But it wouldn't be any great chore to put in a new texture in the appropriate place, make a new .nei file referring to that, and put the appropriate reference in the file.
That's not to say there aren't oddities. I really don't know why the button was placed where it was in the list. Also, you'll notice that what's usually the first item for the next type of bra has been moved to the end of that type. But nothing seems to actually be missing, and everything works properly as far as I can tell. Still, there's a lot of columns in there whose functions aren't yet obvious to me. And cs_parts_003.nei.txt is pretty weird looking compared to the other two. I'm not sure what the story is there.