I got the rotating text working - again!
You would not believe how much trouble this little sucker caused me.
I got the rotating words working before, but the mesh was just a 2D plane. It tended to vanish completely unless you were looking down on it, and even then it was a bit lackluster.
So I made a 3D version. Made the text in Inkscape, imported the SVG into Blender, extruded the mesh to get teh 3D. Then it was just a case of export it as OBJ, import that into Outfit Studio, remove the skinning and add it to the Creation Kit. And that worked fine, but I really wanted that rotation.
So I set out to rotate the 3D words the same way as the 2D mesh. And it crashed the game every single time. Some versions even crashed the CK! Investigating, it turns out that my SVG derived mesh had about 40k duplicated vertices, plus a number of degenerate nodes and edges and some non-manifold solids where the vector art looped back over itself, just a little bit. I tried several ways to clean that mess up, including redoing the SVG and hand editing the paths before importing into Blender. Nothing worked.
Eventually I started thinking and googled to see if there was an easier way to do 3d text in Blender. Turns out there's support built in. Add a text object, set the text, set the font, then add a path and put the text on the path. Fiddle with font size so the whole thing exports, and then extrude the text.. Voila! One 3D circle of daedric text. (Then you need to convert that to a mesh, remove duplicates and decimate about 90% of the nodes to get somehting suitable for the game).
Anyway, I did that, ran the mesh through the animation process and finally, it works.
So that was how I spent my Sunday.
The reason I put the little halo of text around the button like that (apart from a quick test to see if it rotated properly) was to mark the button I use to test the girl positioning. This was a bit of fun as well.
The problem here is that, to keep them in place, I have a Sit package and it looks for a nearby jar as a target. The trouble is, it doesn't necessarily find the nearest one, so the jar I move them too isn't usually the one they try and use. (I am having them Activate the furniture, but it doesn't seem to have much effect).
Then, once the words are in place, I got for a second round of movetos, which normally would fix any small drift of alignment. In this case though it bops them back to the wrong jar and they have to move back again. Amusing to watch, but potentially a problem with the finished mod.
Mind, it's not so bad for a single jar.
Although that second adjustment still puts her sitting on top of the jar for a moment. I wonder if I might do better with setPosition...
2 Comments
Recommended Comments