TS2Hook Dev Log
🕑 Added 2023-07-22 19:14:17 +0000 UTCI'll definitely include easy to use functions to make this whole process a lot easier, cause I recognize this code looks really messy, but tldr, if you're a Sims 2 modder with TS2Hook you can inject new interactions also with custom check trees, without replacing any resources. Can even check if the user has testingcheats and is shift clicking to add new debug interactions.
I know that a lot of people like to use Monique's hacked computer, with this we could for example now add all of those interactions into all of the game's computers retroactively without replacing any resources, even custom ones, with no extra effort or setup.
Checking if TS2Hook is installed is also very easy:

This is a global variable that goes unused in the vanilla game, so it will always be 0. TS2Hook forces it to 1, so you can simply do something different if TS2Hook is not installed rather than having to make 2 versions of the same mod, for example.


Comments
Lazy Duchess
Hi! Thank you! Lovely seeing you here! C# is also my preferred language, one of my goals is eventually making a C# wrapper for TS2Hook in order to make it easier and more familiar to use :)
Sim State Dude
Urm I've been a TS3 modder potentially interested in jumping ship to TS2 and this looks amazing! C++ not C# but always fun to learn lol. Keep it up!
Joe Bay
You're my first patreon donation. Your dedicated work has saved my game so much. Your content is worth more than any expansion pack out there. Thank you so much.
Anime_Boom
Can't wait to see the new interactions people will be able to make without replacing any resources and adding in new debug interactions for testingcheats! It will be amazing! :D