bees123 wrote:Mini update: Spitting Sims out is possible now! I'll upload an alpha version tomorrow once I've ironed out some bugs and messy code (Eg. the interaction to spit sims out is called "bepis" atm so I need to change that :p)
Also there's a bug at the mo that I'm unsure of how to fix. Basically, if one Sim is eaten (ie. has the custom ghost trait) then any Sim can let them out. I could just do a buff check, but that causes a similar issue in that if you had 4 Sims - A, B, C and Nigel - and got A to eat B, and C to eat Nigel, then C would be able to spit up B and A could spit up Nigel. Restricting interactions to the Pred Sim would fix that, but that would mean changing the system to hide the Prey Sim, which I still haven't figured out a good way to do. Moving them to an empty lot might work, but I don't believe it's possible to make a custom hidden lot
Excellent work so far! I can't wait to see where this mod goes!
I'm not going to pretend I know anything substantial about modding the Sims 4, but I have a few suggestions for already-existing game features that you may want to take a peak at so you can "borrow" code for your own use:
***
-
Jobs: With most jobs, sims leave the lot and disappear from the world for a definitive period of time. If you could somehow apply that to a sim who gets eaten, then that might be a way to handle and track eaten sims.
-
Rabbit hole objects: Certain objects, such as the rocket ship and the alien space ship encounter, have Sims disappear from view while they're interacting with the object. While I'm not sure if they disappear from the current lot completely (or if they're just T-posing inside the objects), it might be worth looking into as there must be some mechanism in the code that keeps track of the A, B, C, and Nigel problem that you mentioned in the case of multiple rocket ships or other similar objects.
-
Cow Plant: Need I say more? Again like with the rabbit hole objects, it might be worthwhile to see how the Sims 4 developers themselves handled their own kind of vore in their game.
-
Cellphone: With the above methods of making Sims disappear, having the prey sim become a ghost might not be possible. If that is the case, then interactions with prey through the cellphone may be the second best choice.
***
Again, I'm not an expert in Sims 4 modding and I have no idea how easy or hard it is to find and look through the code for what I mentioned above, or if you've already done so. I wish you the best of luck in your work and hope your efforts bear fruit.