FansOfAll
Lazy Duchess
Lazy Duchess

patreon


Making The Sims 2 more moddable than ever before

(CAS Room is https://modthesims.info/d/652857/nightlife-inspired-cas-room.html)

Hi!

In this post I'll be going over a work in progress tool that will make TS2 moddable in ways that weren't previously possible. Heavily inspired by GTA IV and V's ScriptHook mod.

The video above shows a test script made with this new tool, which checks the current neighborhood type and changes the CAS lot accordingly, giving you a unique CAS room if you're in Downtown (Sorry about the long loading, by the way). This is achieved with this simple script:


This tool is a .dll that gives you access to a lot of the functions, classes and systems in TS2, and allows you to inject new code into the game that runs every frame, on startup, etc. It even lets you create custom cheats:

The custom cheat above goes through every object in the current lot and outputs its name.

This is similar to what I've been doing with .asi mods all this time, but now I'm building an interface that lets you and myself more easily manipulate the game code in new ways.

You could add new interactions to objects without replacing their pie menu, modify the lighting to add more states than just morning/day/evening/night, create cheats to allow users to configure your mod or interact with your mod, add keys that execute scripts or commands, and much more. 

It's similar to script modding for TS3 or TS4, but brought to TS2.

It's still a work in progress, reverse engineering is no easy task, but it's coming together great and I'm very excited about its capabilities. In the future I would also love to look into making a .Net layer - TS3 modders are going to be familiar with this - in order to make it more friendly.

Hopefully modders will be interested, and we'll get some great things made with it!

Comments

Amazing!

Mister Montgomeroo

Holy shit, this is actually nuts. I may have to change some priority on tools I want to make.

actioninja

You are fantastic, I'm always blown away when you post new stuff like this about the sims 2. It is amazing how much love you put into this almost 20 year old game and bringing it way further then ever thought possible.

TheLesbian Pyromaniac

Literally speechless! This will be amazing for all the new types of mods people will be able to create! :D

Anime_Boom

Oh my gosh! This is fascinating! Lazy Duchess, you continue to blow my mind with the possibilities of this game!

The Knightmare


More Creators