Creating cloth plugin
From XStoryPlayer Wiki
Cloth plugins allow for easy distribution and sharing of new cloth objects with others.
Creating a cloth plugin is pretty straightforward.
Using textures outside the packs needs a little more explanation. But once see done it it is also pretty straightforward.
Creating cloth plugin
- You have created a new cloth object. For using that cloth object as a plugin you need to also have a standing pose state for that cloth. Info on how to create cloth and the standing state can be found in Creating_cloth.
- You can see a folder called
plugin
in the root directory where you installed XStoryPlayer. In it are several directories with existing plugins.
Create a new directory with a name that fits your cloth plugin and add it. - Copy the file called
_plugin.ini
from one of the other plugin directories. We will use it as a template for the new plugin.
This file describes where the plugin files are. - Open the
_plugin.ini
in a text editor and make it look like this:cloth_object { // This cloth was created by: Your alias // Version: 1.0 pack = "pack/pack_dungeon.bin"; // Remove this line if cloth should be used in all fast sex packs. character = "Saiko"; // Name of character (can also be e.g. Monica) name = "Cloth name"; // The name of your cloth // First cloth item (can be more if you want more cloth items) item[0] { object = "#plugin/My cloth name/clothObjectNameShape.obj"; // The cloth object stand_state = "#plugin/My cloth name/saikoClothObjectNameStand_0.dat"; // The cloth standing pose state } }
- Make sure the cloth object ans its standing state are also placed in your plugin directory. Now you should be able to use your cloth in the fast sex dungeon pack.