Nap on the Ground update: Sleep Added
Added 2019-01-25 02:18:11 +0000 UTCBefore we get into the update, let's talk some technical mumbo jumbo briefly. Scumbumbo released a library called XML Injector. The idea is that modders can do certain basic things that would normally require scripts and instead of needing their own scripts for every mod, each mod just needs to have the XML Injector installed for it to work.
This does not cover all types of scripts and script mods, but it does mean that for a number of my mods, I can change the dependency, so that they don't need their own script; you only need to have Scumbumbo's XML Injector installed.
I'm starting that process off with this update for Nap on the Ground. It will no longer have its own script. For the interactions to show up in-game, you'll need to have Scumbumbo's XML Injector installed and the package file from Nap on the Ground.
The gain of this is you only need to install Scumbumbo's XML Injector once (not for each mod). So it means less script files to deal with overall, for you, and a simpler process for some things, for modders.
Ok, I hope that made sense. If it didn't, don't worry. Scumbumbo explains all about how to set it up and make sure it's working on the page for his tool. I set it up in my own game last night and it's as simple as adding any other script mod.
Now let's get into the update.
I've been wanting to try my hand at custom animations for The Sims 4 for a while, but always figured it was too complicated and time-consuming. Turns out it's less complicated than I thought it would be, but it's every bit as time-consuming if you're a perfectionist about it. So I gave up on being a perfectionist about it and made something that I deem "good enough for now."
As you can probably guess from the title, this is what's used for Sleep. I added another interaction to the mod when targeting yourself, Sleep. The sim goes into corpse pose and then moves into a sort of curled up, sleeping on their side, position.
Like the Nap interaction, this Sleep interaction can happen autonomously. Let me know if you think it's happening in weird ways prioritized over beds or something like that and I'll take a look.
And that's it for the update. You can find it here: https://triplis.github.io/mods/nap-on-ground.html
In other news, if you're a modder and have any interest in using my Auto Hash tool, I put out a little update for that, partly to include support for the class type from Scumbumbo's XML Injector library. You can find that here: https://triplis.github.io/nav/tools.html
Comments
No problem!
2019-01-25 23:33:32 +0000 UTCThanks
BlackPiano
2019-01-25 21:48:13 +0000 UTCYou gotta click on your sim rather than the floor. They will then do it where they're currently standing. I'm honestly not sure why I did it this way back when I first made the mod, but that's how it's designed.
2019-01-25 21:46:26 +0000 UTCHow do I trigger the interaction? I click the floor and there is no option to nap there or anything.
BlackPiano
2019-01-25 21:36:59 +0000 UTC