Quick Reply
Search this Thread
Lab Assistant
Original Poster
#1 Old 24th Sep 2025 at 5:44 PM Last edited by LowMotivesWarning : 10th Oct 2025 at 6:06 PM.
[RELEASED] creaturefixes and Grand Vampires - alternative fix?
hello, I noticed my Grand Vampires were unable to bite anyone and eventually, I discovered that it was creaturefixes causing this
this is what I know:
  • Grand Vampires by default do not pass through "Social - Kiss of the Vampire - TEST"
  • creaturefixes checks if the biting Sim is a Grand Vampire, and if so, it redirects them to "Social - Kiss of the Vampire - TEST"
  • creature fixes adds Grand Vampire specific checks to "Social - Kiss of the Vampire - TEST"
  • if the BHAV returns true, the Grand Vampire is allowed to bite, if it doesn't, they only Bleh at their victim, preventing objects.package from being modified if the Grand Vampire is pointed at an unsafe NPC
for some reason, it always returns "false" in my game, so my Grand Vampire is stuck Bleh-ing to a bladder failure extent

I did not like this, I like The Sims 2 for its unpredictability
I came to an override that I've been testing and it seems to be working
this is what it does:
  • since universal NPCs have nIDs too, I thought I could use it to identify them
  • first, for debugging purposes, it display a text notification showing the potential bitten Sim, whether the vampire (be it a Grand Vampire or a regular one) bites them or not
  • then checks if the potential victim is in the default household, a hobby maven or a service NPC (since they need to be available during the day)
  • if any of these conditions are met, the vampire ignores them
now with pictures:

the Grand Vampire bit Don, a playable Sim, now he's allowed to go biting Frenzy, the first Sim he chose was Unsavory Charlatan


Unsavory Charlatan is in the Service NPCs household, so he got ignored and bit Nina Caliente instead, but next one is... Mrs. CrumpleBottom?


as you can tell by the text notifications, she got ignored too
Grand Vampire did this once, it's a "Bleh!" interaction, it also happen with creaturefixes after biting frenzy


and it goes on and on... this cashier got ignored as intended


later, he chose Mrs. CrumpleBottom again


and got ignored again, chose the cashier again just to leave him alone (everyone is a vampire at this point, so he has no one else to turn)


now, after more testing, the Grand Vampire seems to choose any Sim-like being, i thought this was patched already
ignored as intended


more universal NPCs to test, ignored


the Vampire Bleh-ed at him, he couldn't react

by the way, Mrs CrumpleBottom looks like this in my game because of a replacement, it doesn't change her nID nor her FAMI, I tested vanilla too, the pictures were taken after that
are your Grand Vampires able to bite playables after creaturefixes?
did I made something useful or am I just re-inventing the wheel?

I included the file too so you could review my code and give me some feedback
thank you

please don't quote or write down my username in replies
Lab Assistant
Original Poster
#2 Old 26th Sep 2025 at 3:30 AM Last edited by LowMotivesWarning : 5th Oct 2025 at 7:03 PM.
reading its description, creaturefixes' seems to deliberately prevent biting
Quote:
2 - Eliminates random biting of NPCs.

please don't quote or write down my username in replies
Former Hamster
retired moderator
#3 Old 26th Sep 2025 at 2:49 PM
This is.'t a mod you're changing in some way and planning on uploading here? This is the Creator Feedback thread and is meant for creators to get feedback on their future uploads,
Lab Assistant
Original Poster
#4 Old 26th Sep 2025 at 3:42 PM Last edited by LowMotivesWarning : 26th Sep 2025 at 3:52 PM.
Quote: Originally posted by mustluvcatz
This isn't a mod you're changing in some way and planning on uploading here? This is the Creator Feedback thread and is meant for creators to get feedback on their future uploads,

yeah I'm planing on releasing it here, that's why I posted in this thread
I was hoping to get some feedback and make sure it's in a good state before submitting it to general public since is about preventing game corruption we're talking about
but it doesn't seem to have attracted much attention

I've been testing it myself anyway, and as documented in pictures, seems to work as intended

please don't quote or write down my username in replies
Lab Assistant
Original Poster
#5 Old 28th Sep 2025 at 5:20 PM Last edited by LowMotivesWarning : 15th Oct 2025 at 5:09 AM.
Screenshots

please don't quote or write down my username in replies
Lab Assistant
Original Poster
#6 Old 30th Sep 2025 at 2:41 AM Last edited by LowMotivesWarning : 30th Sep 2025 at 3:00 AM.
I found a way to stop Grand Vampires from even considering unsafe NPCs in the first place


I will need to keep an override to "Social - Kiss of the Vampire" so it loads after creaturefixes
so instead of having just dummy vanilla BHAV in there I might keep my text notification in public release, it's almost ready to post
Screenshots

please don't quote or write down my username in replies
Lab Assistant
Original Poster
#7 Old 30th Sep 2025 at 8:59 PM
after intensive testing, an improved version of the mod is in the moderation queue, the old file in this thread will be removed if it's approved

please don't quote or write down my username in replies
Top Secret Researcher
#8 Old 2nd Oct 2025 at 7:59 AM
I handle taming vampires in the following way that is more organic and doesn't require adjusting a mod to protect more people. Require the vampire to have some relationship first. Put 5 counts of vamprocillin in the victim's pocket to make him immune. Could be something else that you can gift.

I don't really care about unsafe NPCs as I never experienced the problem with that, but god damn whole neighborhood turning into vampyres in a short time span, including restaurant hosts and bartenders.

You can test the victim's original GUID to exclude certain NPCs, or look for his family number > 0.
Forum Resident
#9 Old 3rd Oct 2025 at 2:58 AM
Jfade made a set of vampire bite control mods, in three flavors (pick one):
1) No biting NPCs
2) Only bite on residential lots
3) No biting any Sims at all

Any of the above can be overridden by "Influence to Bite", if you really want to make more vamps.
https://sims.jfade.com/index.php-ca...=2&skip=20.html (scroll down)

Personally, I use the No Bite Anyone version (and claim they're Black Ribboners, see Pratchett's Discworld).
Lab Assistant
Original Poster
#10 Old 3rd Oct 2025 at 6:22 PM Last edited by LowMotivesWarning : 4th Oct 2025 at 12:34 AM.
hello, thank you for your feedback, I love that

Quote: Originally posted by jonasn
I don't really care about unsafe NPCs as I never experienced the problem with that, but god damn whole neighborhood turning into vampyres in a short time span, including restaurant hosts and bartenders.
You can test the victim's original GUID to exclude certain NPCs, or look for his family number > 0.

it is true, that there is no clear consensus about universal NPCs being bitten
I remember it clearly, reading through Nightlife patch notes saying that "corruption problems regarding Mrs. CrumpleBottom were fixed", but there were still online comments saying it happened to them years later
my tests confirm that they at least choose them, the function that looks for a victim only checks for "person" type by default, to which they belong
crucial or fail-safe... this wastes a loop
theoretically, at least Santa can be a dangerous victim since he develops a 100/100 relationship with every Sim he interact with (and we know that the Happy Holiday Stuff Packs was built upon outdated code in some parts)

since the BHAV identifies the victim as an Stack Object and extracts their nID I'm following the same method and then check their Family Instance to make exclusions, the improved version I sent to queue excludes services NPCs, hobby mavens and garden club
they need to be available during the day and some of them can stop doing their job if they're bitten, like the food judge
it also reduces biting chances because they were set too high to a point it's the only thing they do, and it gets worse when paired with anti-redundancy
this way Grand Vampires are no longer an annoyance without giving up to their scripted behaviour

Quote: Originally posted by Sims2Maven
Jfade made a set of vampire bite control mods

I do know about jfade mods, actually, they made me want to investigate further
the "no NPCs" and "only residential" flavours only affected playables for me, unless it was paired with creaturefixes (which redirects Grand Vampires to the guardian BHAV)
I can't figure out the "no biting at all" flavour, it makes the guardian always return false affecting for playables but always true for the social which is used by grand vampires, do you use it alongside creaturefixes?
can't tell if they didn't skip this BHAV before... we got a lot of updates after Nightlife
I completely misunderstood creaturefixes' changes to the biting interaction and that's what drove me here



I'd like to update the version I sent to the queue if it gets approved since I re-made a function so it's not re-sorted, tweaked chances and made the text notification optional

please don't quote or write down my username in replies
Forum Resident
#11 Old 4th Oct 2025 at 4:17 AM
Apparently I don't have creaturefixes installed (it must have conflicted with something). On the other hand I don't play with werewolves, keep tight control of vampires, and don't have a lot of playable witches (most of them are Neutral). Do keep us informed as to your progress.
Lab Assistant
Original Poster
#12 Old 5th Oct 2025 at 4:20 PM Last edited by LowMotivesWarning : 5th Oct 2025 at 6:21 PM.
Quote:
Apparently I don't have creaturefixes installed

I realized (sorry, sometimes I get confused with functions everywhere)
even if you used it alongside creaturefixes, only one of them could take effect since jfade mod affects both the social and the guardian
so, the social returns True but the action is never triggered
this might actually set the Grand Vampire as allowed to bite autonomously so if the mod is uninstalled they could do it
what I will do now is test if "Influence to bite" interaction can trigger biting frenzy and have a look at that interaction BHAVs

the changes I made in the improved version also disables Bleh-ing at universal NPCs, this is a secondary effect since both interaction use the same BHAV to find a target
since this interaction affects Bladder motive I'm not sure if being Bleh-ed at could affect them in some way

please don't quote or write down my username in replies
Lab Assistant
Original Poster
#13 Old 5th Oct 2025 at 6:18 PM
"Influence to Bite" uses another BHAV that acts as guardian
it can actually trigger biting frenzy, this explains Pescado's decision

please don't quote or write down my username in replies
Lab Assistant
Original Poster
#14 Old 10th Oct 2025 at 5:59 PM
seems like everything is in order now
now I can get feedback from public release so I think I must mark this one as closed

I'm very proud of how it turned out, I learned a lot
thank you for being part of this thread

please don't quote or write down my username in replies
Back to top