Saturday, October 26, 2024

lesson #6: Maitreya / Legacy Feet / Fit Deformer Feet for Maireya sized shoes & Shoe Base & Automatic Feet Position + ALPHA (That gives headace to many!)

 The story is i just want to wear my shoes and Wardrobe should do the job behind scenes. This lesson will be updated with the steps day by day because its a long proccess to set up. So keep coming back.

This system will use Mixed System:

  • Current Body System (premium feature)
  • Attachment Point System
  • Clothing Type System
This system will use Replacing Wearing Policy:
  • replacing Feet on Left Hind Foot attachment point
  • replacing Shoes on Left Lower Leg attachment point
  • replacing Height Base (has no attachment point)

Overview:

When you click to wear shoes, it will:

1. choose body related Feet

  • Legacy
  • Fit Deformer (legacy) for Maitreya shoes
  • Maitreya (feet and body are one piece, it makes sure you wont wear Legacy feet)

2. choose appropriate Shoe Base

  • Bare
  • Low
  • Mid
  • High
  • Ouch
3. set Feet Position

  • Bare (Legacy Bare, Maitreya Bare)
  • Low (Legacy Low, Maitreya Low)
  • Mid (Legacy Mid, Maitreya Mid)
  • High (Legacy High)
  • Ouch (Legacy Ouch, Maitreya High)
4. remove worn alpha (feet and legs)
  • shoes and boots that needs alpha on feet or on leg has separated entry for Alpha with CS tag
This system will use the Mixed System in which:
  • the Shoes, Shoe Base and Feet Position will use Current Body System, Attachment Point System with Wearing Policy: Replace
  • Alpha will use Clothing Type System.

Preparations InWorld:

1. Manually set default attachment point to Left Hind Foot
  • [FEET] Legacy
  • [+] Legacy (f) Optional Fit Deformer (Feet)
Wear then on Left Hind Foot (NOT ADD)

2. For Maitreya we need a Left Hind Foot attachment removal box with autodetach:
  • create a cube and make it small (Size: <0.15365, 0.15365, 0.08500>)similar size to your feet
  • rename the box to: Left Hind Foot Attachment Remover
  • manually set attachment point: Wear it on Left Hind Foot attachment point (NOT ADD)
  • Take off and rezz it on the ground and add this script to its content tab for autodetach:

default
{
    attach(key id)
    {
        if (id != NULL_KEY && llGetAttached() != 0)
        {
            llRequestPermissions(id, PERMISSION_ATTACH);
        }
    }
    run_time_permissions(integer perm)
    {
        if (perm & PERMISSION_ATTACH)
        {
            llSleep(2.0);
            llDetachFromAvatar();
        }
    }
}


3. Create Shoe Bases:
  • Bare Height
  • Low Height
  • Mid Height
  • High Height
  • Ouch height
4. Create Feet Positions:
(Feet Position script you can grab for free @ Maitreya shop: Creator KIT)
  • Bare (Legacy Bare, Maitreya Bare)
  • Low (Legacy Low, Maitreya Low)
  • Mid (Legacy Mid, Maitreya Mid)
  • High (Legacy High)
  • Ouch (Legacy Ouch, Maitreya High)
Create 1 cube and make it small (Size: <0.08365, 0.08365, 0.03473>)

4/A: For Maitreya
rename the box to: Bare - Maitreya Feet AutoPosition
manually set attachment point: Wear it on Screen as HUD - Top attachment point (NOT ADD)
set texture on the box while wearing it:

















Take off and rezz it on the ground and add these script to its content tab:
  • drop into box Maitreya Feet Auto-Select (for flat)
  • autodetach script:
default
{
    attach(key id)
    {
        if (id != NULL_KEY && llGetAttached() != 0)
        {
            llRequestPermissions(id, PERMISSION_ATTACH);
        }
    }
    run_time_permissions(integer perm)
    {
        if (perm & PERMISSION_ATTACH)
        {
            llSleep(5.0);
            llDetachFromAvatar();
        }
    }
}

Copy the cube and make the rest (drop right feet position script into box and add the autodetach script)

  • Low - Maitreya Feet AutoPosition
  • Mid - Maitreya Feet AutoPosition
  • High- Maitreya Feet AutoPosition

4/B: For Legacy:

(Feet Position script you can grab for free @ Legacy shop or its already in your SL Inventory: Create.zip or its in a folder called Meshbody > Create came with your body)

Rename the box to: Bare - Legacy Feet AutoPosition
  • drop into box: Meshbody Heel Height Activation! "Bare" (Drop into Shoes)
  • autodetach script
And make the rest for the other positions:
  • Low - Legacy Feet AutoPosition
  • Mid - Legacy Feet AutoPosition
  • High - Legacy Feet AutoPosition
  • Ouch! - Legacy Feet AutoPosition

Preparations in #RLV folder:

1. FEET_ALL



2. Fit Deformer




3. Shoe Bases



4. Feet Positions





to be continued........

its draft from here

 (Wearing Policy: Default as in the Preferences (which is Replace go to lesson #1
 
 Worn on: Left Hind Foot Attachment Point.)

























































IF done, can test to wear them, When you wear FEET_ALL and wanna put on Fit Deformet - Fet, other feet comes off and wearing only Fit Deformer - Feet. 

When you wear Fit Deformer - Feet and you wanna put on other feet, the Fit Deformer swill come off and wearing only other feet

They replacing each others on Left Hing Foot Attachment Point.


To be countined....

1 comment: