Archive for the ‘Code Stuffs’ Category

Stunprod update, chastity belt WIP

Quick update because a few things have happened since yesterday:

A kind soul on the KDC Booth Store reported an issue with the parameter setup of the VRChat Stunprod. That is now fixed and you can download the package (version 1.2) to correct the problem (the Patreon reward has also been updated).

Someone also made me aware of a packaging/assembly error with the KDC Lined Chrome Chastity belt; There are floating chain links on points that cannot receive or send chains, making it impossible to remove them. The fix is relatively simple but it took a moment to figure out what exactly happened.

I was also considering putting out some PBR related fixes and ended up starting a full PBR refresh of the material, picture included: on the left is the original and on the right, the PBR version. Nothing fancy, that’s more or less what it would have looked like if we had decent metal rendering back then.

If I actually do this I’m gonna have to do some edits in the HUD & labia shroud code to dual-stack the two material systems, the same way I’ve done with the Stunprod.

So I’m going to run another little poll for this one again.

Optimization, optimization, optimization…

Oh, boy do I love optimization… even if it is slowly killing me.

I ended up redoing the surface of the apron a good 5 or 6 times, I’m still not happy of the geometry it is giving me, but it kind of works. It currently clocks at 27000 triangles, all the pleats add so much geometry… I’ve optimized the corset lacing a bunch, but I need to remove a lot more to make it acceptable. I also modeled the collar.

During the party last weekend I’ve identified a horrible bug on the KDC MixMaster – Bartending System so expect an update for this soon as well as a slight change in how recipes are handled. (if I can wrap my head around it)

Nasty stunprod bruises…

I think I’ve got something good going on with those nasty stunprod bruises… I’ve done my best to keep them relatively simple and stylized…

They kind of look like bug bites or a weird rash or a star map sometimes…

That’s what my references looked like and so, that’s what I went for. It looks completely overkill with the maximum 8 marks per body part, but it is there as a supported maximum… not as an invitation to fill it entirely.

This might even take a while given that the prod typically can only strike about 3 to 5 times before recharge kicks in.

I wonder if those pictures will be okay for Patreon.

Inching towards the finish line!

I had a very productive night on the stun prod!

I managed to wrap up all the animations that I needed to be done for the stun prod, the code to drive them, the holster system and the Doodle & Strikes integration.

There is now 3 striking heights, 4 idle stances (those two “over the shoulder” ones are just so precious) and one medium height “threaten” animation (when you aren’t aiming at anyone) that does a little wrist flick right as the electrodes begin sparking.

What is left to do: A HUD texture, A multi-crop HUD update for this one (at this point that’s like 3 tools that would use it, isn’t that a bit much?) and one very important texture set: the electrical bruise marks for the Doodle & Strikes system. Thankfully, a friend has given me… helpful references for this :3

Sidenote, would there be some interest for a Doodle & Strikes version that support [eL] Normal Tit Kit & [eL] Big Tit Kit?

Lattice Cage prototype on VRChat!

Since I already spent the time to make metalness/roughness maps for the Lattice Cage, I figured I would dust my c# skills a little bit and try to port it to VRChat.

If you ignore… most of the TouchBound features really, I did a pretty good job in just two days.

I’m not quite ready for a release on Booth.pm, but I’ve put out a little demonstration world you can visit (with a VRChat account obviously), the world should work fine whether you use desktop or VR mode.

Lattice Cage in VRChat

Click to open the world profile page.

Be warned that being inside a cage will prevent you from escaping with the respawn function or from unlocking it, that is by design.

The locks are a little iffy-looking, but I mostly focused on the code and animation side of things. That’s something I still need to work on.

 

Animation! sound?

Full disclosure, I was sick as a dog yesterday (Monday part 2 I guess), I tried to make up for the time lost today.

I finally tracked down a timing bug that caused the auto-recharge to fire unreliably, so that’s one less thing to worry about.

I came up with a clean and crisp sound for the electric arcing, combined with the particle effect & animation, I think it works well enough.

Animation wise, I just started really. The medium-height hit feel serviceable, but I’m not 100% sold on it.

I’d have posted a video, but I can’t record sound with it for some reason.

Anyway, until next update~

Some stun prod code progress

I have “most” of the code that I need for the stun prod written at this point, even made a somewhat decent looking particle system! Now I just need to make those all important assets: animations & sounds.

The bugs have been “fun” to bang my head against, especially the one where all my script timing was completely off due to “yet to be made” animations missing.

I’m still not 100% satisfied with the way it handles when hitting “Doodle & Strikes” surfaces, it is kind of slow, but I don’t think there is anything I can do about that.

There isn’t much more to say for today, I’d show pictures, but there isn’t a good way to showcase this right now.

Low productivity week

I’ve been doing very poorly this week, motivation has been hard to come by.

I did start writing the stun prod scripts but still haven’t gotten around to making the sound effects and animations for it.

I have a somewhat decent particle system and a bare-bones outline of how striking works with it.

It is a little different from the riding/spade crop, in the sense that it is not going to have an “armed” strike pose like these two, instead it will have a short “strike” animation that triggers as soon as you press down the attack key, and it will either strike the person in front of you, or be somewhat “brandished” so that the prongs crackle in the air.

The charge meter depletes as you hold the attack key pressed.

So far, the reload sequence autoplays after 5 seconds of inactivity so long as you do not have a full charge. It is currently non-interruptible (I could change that).

If the battery is fully drained, attacking will trigger reload immediately.

Finally some actual progress

I came back home mid-week… completely drained. Sorry again for dragging on with no actual progress for so long >_<

Thankfully, today was quite productive.

I have most of the code done for the heavy metal gag, including the animated bits and sounds working.

It is also completely modular, so you can actually add/remove mouthpieces, and each of them can have its own text mangling variant.

You should be able to extend the text mangling to non-Latin languages… possibly? It still uses a basic character replacement system, so that might not work so well on Chinese/Japanese…

Gag code feature creep, and more things.

I started the metal gag code, and I am working on some … kind of extendable approach, how can I explain this…

I’m effectively making the code that handles the different gag variants modular, which should make it possible to just “add” new ones later, or even create custom ones, I’m not entirely sure why I am doing this, other than reducing how much “snowflake code” having 4 different gags in one is creating.

This is also an opportunity to potentially code a bit better, go over old ways of doing things, using new functions, that sort of stuff. I thought I could wrap this up before the weekend, but that’s a little too optimistic.

Twitter appears to want a fairly large set of rights on any picture uploaded on their service, and I’m not sure that I want to give them those rights, so I’m considering adding some sort of watermarking, or maybe stop sending pictures to twitter entirely when posting updates. We’ll see.

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

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

July 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
Archives