Archive for the ‘Code Stuffs’ Category

A lil’ bit of code for the maid hats

Not much to “show” today, but I wrote a little companion script for the maid caps (I have issues releasing completely unscripted objects okay?). Just a few handy/fun maid related functions:

  • A fancy holo-sign “ready to serve” kind of thing.
  • A notecard giver (for your rules & services).
  • The ability for other people (or yourself) to mess with your maid cap (throw & make it fall basically)

Nothing complicated and you can remove it if you just want the hats and nothing else

Lock cutting workbench.

This is something I’ve been meaning to add to the store for a long time, there is now a lock-cutting workbench at the Main KDC Store. While I haven’t really seen anyone abuse the system, this is now available for those who want/need it.

It’s not for sale (but it’s free to use duh) and it’s an experiment, more than anything, it uses a feature that has been part of the system for many years now, but there was no real way to use it without my assistance until now.

I’m open to feedback on whether this is a good idea or not. In the meantime, consider it a relatively lame X-max gift 😛

Burning the midnight oil

The past couple days have been pretty rough.

  • Final meshs lodded and uploaded.
  • Reworked the heavy-duty padlocks a little (better lods, center point and smoothing)
  • Made and uploaded the “worn out” texture set (8 colors: red, blue, black, yellow, green, pink, white, orange)
  • Made and uploaded a “fresh” texture set (same color, still some slight wear but no rust)
  • Made an “unpainted” style, it’s very similar to black but a bit more rough and worn out.
  • Wrote all the specific code required to make it compatible with regular locks, accessories, time locks, heavy locks AND bolts (every lock type basically).
  • It has some little “equip” animations like the Fallen princess and the same removable leaching point idea.

I still have a texture hud to make and some intense testing, just to make sure I don’t have any major bug.

I also have been working on a small gift for my Patreon supporters, but I’ll announce it publicly once it’s actually ready.

Random weekend thing

Yes it is dynamic, and yes, the math involved wasn’t fun at all. 😛

I should probably wait for a wider adoption of “Bake on Mesh” before I actually go further than the “prototype stage” with this.

Recipe manual, and more code.

I quickly modeled a little “menu card” to serve as a holder/giver for the notecard that contains all the drinks you can make.

I’ve also:

  • Fixed a bunch of bugs.
  • Added some missing drinks (Engine degreaser, Sunshine Cloud).
  • Added proximity checking.
  • Updated all the drinks.
  • Added machine config options for the owner to restrict users, disallow drink dropping, and whether they want to use temp-on-rez or not.
  • Updated the taste for all the fixed recipes.
  • Custom drinks now have taste for ice & aging.
  • Successful drinks are timed (just as a personal challenge).
  • The machine doesn’t produce anything when the mixing handle isn’t held for the minimum time.

There is only a couple of things I still have to do (specular map for the machine, wiki, product pics…)

Otherwise It’s pretty much ready!

More glassware

I modeled two more glasses for the MixMaster. It is now able to make 12 drinks.

I also wrote more code to get recipes to check that the preparation has been followed (ice/age/mix/blend) but I’m gonna have to scrap this part. My intent was to give a hint that you didn’t quite make the right drink, and that’s currently what it does.

Result: ‘Sugar rush’ and ‘Sparkle Star’ have the same ingredients, so one of the two recipes overrides the other.

I have two options:

  1. Keep it as it is and change the sugar rush or sparkle star recipe?
  2. Make the preparation part of the recipe, but then I lose flexibility with drinks that have preparation errors.

Regardless, I also need to make two new bento hand poses, the hand opening is too small for the rocks glass and too big for the test tube.

Code, flavor and glitches

I’ve spent an absurd amount of time detailing the glass code:

  • Custom animations, including bento finger poses.
  • Manual vs automatic drinking.
  • Named drinks have special flavors and descriptions.
  • “Custom” drinks have more generic flavors that depend of their composition.
  • Drinks have a set number of “sips” before the glass goes empty.

I also encountered a rather nasty rendering issue while making the final model for the highball glass. I can’t really fix it so I kinda “worked around it” by using less transparent glass. It’s not perfect but it’s not too visible.

So that’s a total of 4 recipes that are more or less “final” (unless I add some particle effects):

  • Glass of Nothing.
  • Marsblast.
  • Blue Fairy.
  • Custom Drink (I still need to fix the color generation there)

Progress on the Mixer code.

I got some of the basic functions I need for the “re-rezzing” of drinks (like for the vacuum system but a bit better), so they can be dropped and set on compatible surfaces (coaster… table?). I got “some” of the code to get them serialized into a tray, which, ideally would be drop-able too. So overall, good progress in 3 days.

But honestly, should I just take a break from this project and work on something “more KDC” for a while? If I’m counting this properly, between modeling, texturing and code this has been 5, maybe 6 weeks?

And this isn’t close to finished. Even if I do not release the tray at the same time, there is still all the drinks, models, and RLV functions to make.

Feel free to IM me in-world with your opinion.

Kyrah Abattoir
Creator of BDSM and fetish content in Second Life since 2004.

Seasoned 3D artist and programmer, aspiring video game creator.

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  
Archives
Categories