Universal Implants Application Programming Interface Help

Implant Nation has come a far way since they birth on SL two years ago. From what i learned along the way, is that it is essential to provide as much opensource as possible. This API is a upcoming extension of the Universal Implants V.1.

This official release version will allow clothing designers, device developers (breast augmentation tools for example) and skin designer to have full control of the breast appearance without compromising the security. So with this API document you can start building everything you need :-)

The communication of the API happens over channel 500 and channel 600. The difference is that channel 500 only listen to commands not send by the owner, other objects/avatars. Use channel 500 if you are building devices that can be used by different avatars, like for example a tipping star. Before using the channel 500 the implant owner must allow access to this object/avatar.

Channel 600 listens only to commands send by the owner, it only accepts if the object is owned by the implant owner. This is ideal for clothing applyers and huds as it does not require to be authenticated.

There will be a no mod script for clothing vendors that send the clothing keys over a secured channel to prevent texture hijacking (listening for texture keys)

Basic Commando's:

All commando's are CaSe sensitive!

Common commands

uiFullReset
Reset everything to default state, when you bought it, overrides everything (use carefull)
uiSetMilk
Turn milk on/off
uiSetBounce
Turn bounce on/off
uiSetGrowth
Turn auto growth or shrink on/off
uiSetPos
Set the position of the implants
uiSetRot
Set the rotation of the implants attachment

Individual breast commands

uiLeftBreastPos
Change position of left breast
uiLeftBreastColor
Change color of left breast
uiLeftBreastRot
Change rotation of left breast
uiLeftBreastSculpt
Change sculpt of left breast
uiLeftBreastSize
Change the size of the left breast only
uiLeftBreastSkin
Change texture of left breast
uiLeftBreastSkinOffset
Change texture offset of left breast
uiLeftBreastSkinScale
Change texture scale of left breast
uiLeftBreastFluid
Change fluid texture of left breast
uiLeftBreastFluidOffset
Change fluid texture offset of left breast
uiLeftBreastFluidScale
Change fluid texture scale of left breast
uiLeftBreastBra
Change bra texture of left breast
uiLeftBreastBraOffset
Change bra texture offset of left breast
uiLeftBreastBraScale
Change bra texture scale of left breast
uiRightBreastPos
Change position of right breast
uiRightBreastColor
Change color of right breast
uiRightBreastRot
Change rotation of right breast
uiRightBreastSculpt
Change sculpt of right breast
uiRightBreastSize
Change the size of the right breast only
uiRightBreastSkin
Change texture of right breast
uiRightBreastSkinOffset
Change texture offset of right breast
uiRightBreastSkinScale
Change texture scale of right breast
uiRightBreastFluid
Change fluid texture of left breast
uiRightBreastFluidOffset
Change fluid texture offset of left breast
uiRightBreastFluidScale
Change fluid texture scale of left breast
uiRightBreastBra
Change bra texture of left breast
uiRightBreastBraOffset
Change bra texture offset of left breast
uiRightBreastBraScale
Change bra texture scale of left breast

Tanktop related commands

uiTanktopPos
Change tanktop position
uiTanktopColor
Change the tanktop color
uiTanktopRot
Change tanktop rotation
uiTanktopSculpt
Change tanktop sculpt
uiTanktopSize
Change the size of tanktop only
uiClothingColor
Change the color of the current weared layer (bra, fluid, tanktop)
uiTanktopClothingOffset
Change tanktop clothing texture offset
uiTanktopClothingScale
Change tanktop clothing texture scale

Growth related commands

uiSize
Set the implant size to this exact amount
uiSizeFeedback
Feedback on 500 channel for size correcting methods
uiScaleFeedback
Feedback on 500 channel for current scale of implants (from 0.22 to 2.22)
uiAugment
Increase implant size with given amount
uiReduce
Decrease implant size with given amount
uiGrowthAmount
Amount in CC that gets augmented/reduced each interval
uiGrowthTimeout
Set growth timeout
uiGrowthInterval
Set growth speed interval
uiStartTimedGrowth
Start the timed growth sequence
uiStopTimedGrowth
Stop the timed growth sequence
uiStartTimedShrink
Start the timed shrink sequence
uiStopTimedShrink
Stop the timed shrink sequence
uiGrowthBullet
Set the name of the hitting object that triggers growth
uiShrinkBullet
Set the name of the hitting object that triggers shrink
uiGrowthBulletAmount
Set the amount cc injected each hit
uiShrinkBulletAmount
Set the amount cc shrinked each hit

Bounce related commands

uiBounceUp
Set the Y bounce amount
uiBounceSide
Set the X bounce amount
uiBounceInterval
Set bounce interval speed (bounce speed)

Milk related commands

uiMilkInterval
Set the milk interval/speed
uiMilkDropsize
Set the milk drop size
uiMilkStrength
Set the blowout strength
uiMilkAmount
Set the milk amount each spray
uiMilkSpread
Set the milk spread each spray
uiMilkColor
Set the milk color
uiMilkPos
Set the milk spray position
uiMilkRot
Set the milk sprayer rotation

External API access

uiRequestAccess
Request API access
uiAccessAllowed
Response back to the API requesting object on channel 500 that it is allowed
uiAccessRevoked
Response back to the API requesting object on channel 500 that is is revoked
uiRevokeAccess
Revoke all access other then owner
uiRequestSecureChannel
Request a secure channel before sending commands