Custom Texture Applier Pro

Modified on Sat, 03 Jul 2021 at 11:45 PM

This applier is aimed at more commercial uses, allowing both more customization for the exterior design and allowing multiple gender/body tone styles to be stored in one applier, relying on notecard reading to do so.


The general principle is that of a notecard-driven applier similar to Omega and Maitreya applier systems, with a set of customizeable buttons.



Basic setup


At its most basic, your applier should have 2 prims. One root, and one button prim. The script itself lives in root, the notecard will later be placed there as well.


Button naming follows a simple system, gender:tone. For instance male:smooth for the regular male body tone. Simply set the button prim's name to whichever gender:tone combination you're looking to apply. Furthermore, any button press will also apply textures to any avatar kit parts of course. The button naming simply governs which body tones to apply alongside. On non-psicorp bodies this choice is mainly relevant to things that use the top/legs texture, such as digilegs.


Gender options are:

  • male
  • female
  • androgynous

Tone options are:

  • smooth
  • strong
  • curvy


The androgynous option, due to its very minimal chest shading can also make for a great unisex option, if you prefer to keep it simple.


Notecard setup


The notecard follows a simple, quasi-hierarchical setup. You define what body tone and texture type is to be expected, followed by a block of part:UUID inputs to specify textures. Some textures are always defined the same, such as top, bottom, head, headl or headr, any others are defined via aux0 - aux4. If the applier script is activated without any notecard, it will provide you with the information on which aux slot expects which texture. So for instance you might be told that aux0 expects the "limbs" texture etc.


An example notecard could look like this:



female:smooth

diffuse

top:

bottom:

head:

aux0:

aux1:

aux2:


normal

top:

bottom:

head:

aux0:

aux1:

aux2:


specular

top:

bottom:

head:

aux0:

aux1:

aux2:


color:<1, 1, 1>

shiny:128

environment:0



You can see how female:smooth is set at the top, setting up the applier to expect these textures. Below you have blocks for diffuse textures, as wel as normal and specular maps, though the latter two are not mandatory, the applier will come pre-set with the default set. At the bottom you see the shininess definition, you can use one or all three parameters, or omit them to use the default settings if they do not require changing.


Furthermore, materials are special in that they override the defaults, so you can replace only some textures while leaving others in their default setup. It is also perfectly feasible to only provide some of these textures. If you want to use the applier solely for, say, a head and tail texture, that will work just fine!


The aux textures do not require any gender:tone presets since they are independent of gender or body tone. So if on this notecard you'd like to add more body tone options, such as a male one, you could do the following:


male:smooth

diffuse

top:

bottom:

normal

diffuse

top:

bottom:

specular

diffuse

top:

bottom:



You can also have the aux textures completely separate, as long as you keep the same general hierarchy, aka gender:tone for any top/bottom textures, and diffuse/normal/specular before any block containing the according textures.


Once you are done setting up the notecard, simply drop it into the applier. It will spend a little time reading the data and assigning it, then delete the notecard from its inventory. The applier is then ready to test and ship out.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article