|
Post by onemorekayaker on May 19, 2024 8:44:02 GMT -5
Hi everyone! I have a question for you - I'm trying to use a dramanode to trigger a call from a specific sim (Pollination Technician 3) but am running into a snag. My coding works for other specific sims that already exist in-game (I tested with Vlad) and I'm able to get the call to trigger, but the Pollination Technician isn't generated in-game until someone actually gets abducted by aliens and the dramanode isn't enough to force her to generate so the interaction goes through but nothing happens afterwards.
Is there another way to force her to generate? The alien abduction file (alienAbduction_BeAbducted) uses the same filter that I used for the dramanode. I looked at her filter versus Vlad's filter (filter_AlienPollinator vs. filter_Vampires_IntroToVampireCaller) and they both link to a template to generate a sim if there isn't one already in the game. Master Herbalist works the same way, I believe, but generates when you load into the secret lot in Granite Falls (I think when the job_venue_masterherbalist file is loaded.)
This is a smaller part of a larger mod I'm working on, so I'm definitely open to doing other things to try and get her to generate, or even seeing if there's some kind of test I can do to hide the interaction until someone in the save gets abducted. I don't think I've ever seen any coding to check and see if a specific sim exists, but if there is I'd be very interested.
|
|
|
Post by shkatzchen on May 19, 2024 14:08:50 GMT -5
As a preface: I don't know anything about this and I don't use master controller with Sims 4. But in Sims 3, master controller or one of its addons had a thing where they assigned roles, so that whenever there were new carnivals and such I got notifications that they'd assigned roles to sims to fill the food booth positions. That is to say, maybe there is a way with the new master controller (or their people might know how to help) to get what you need. Good luck!
|
|
|
Post by onemorekayaker on May 19, 2024 17:10:20 GMT -5
As a preface: I don't know anything about this and I don't use master controller with Sims 4. But in Sims 3, master controller or one of its addons had a thing where they assigned roles, so that whenever there were new carnivals and such I got notifications that they'd assigned roles to sims to fill the food booth positions. That is to say, maybe there is a way with the new master controller (or their people might know how to help) to get what you need. Good luck! Thanks anyways! I ended up discovering that there were some cases where the game doesn't generate new townies no matter what, and it looks like dialogDramaNodes (and computer chat filters) are two of them. Someone on Discord suggested using an autonomousSimPicker to force-spawn the Pollination Technician and then having the dialogDramaNode run from that, but the coding involved was over my head and I couldn't find a good reference. The chat filter, as it turns out, is a bigger problem, since new games don't start with any alien townies even in hidden households.
I'm probably going to have to figure out some kind of workaround, maybe introducing another interaction to trigger an abduction before having the interaction that schedules the drama node be available, or possibly forcing the Technician and some other aliens to spawn through a walkby.
Edit: In case anyone is reading this thread after the fact, I discovered that the standard alien abduction interaction does not, in fact, generate the Pollination Technician, unless you specifically have a male sim get pregnant as a result. The debug interaction is what works to generate her. I also tried to get another custom alien to generate, but the tunable sim filter I used - which is supposed to generate new sims if none fit its parameters - didn't generate a new sim and instead recruited a random existing premade. I also don't see any way to generate walkbys without editing an existing walkby director/walkby tuning file. I'll update this if I get around to figuring out the autonomousSimPicker.
|
|