Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
to the Actionsoft Forums!

New to the forums? Go ahead and register! Why register? Click here to find out the difference of being a guest and a member. After you're done, go here to learn how to start posting. Make sure you've read and agree with the rules of posting here!

The forums is run by three administrators. Read here who they are and what you may (and may not) expect from them.

Actionsoft's latest game, Midnight Mansion 2: The Haunted Hills,  includes 28 mansions. The 8 Built-in mansions have 3 difficulties along with 4 extra custom mansions. We don't have that many other custom MM2 mansions yet. Design your own custom mansion! Info below.  You can find out more about the game here.

The original Midnight Mansion game contains over 150 mansions. The 8 included mansions which have 3 difficulty levels each, and about 115 approved custom mansions which you can download here and also several freely uploaded mansions. To know the difference between these three types of mansions, click here.

Are you a creative person and thinking of designing a mansion yourself? Or want to know about how to upload it? Click here and we'll show you! You'll find guidelines for betatesters here.

Midnight Mansion 2: The Haunted Hills version 1.0.2b has been released. This fixes a bug in Jasperlone Mountains Hard. Simply re-download the game, bring over your custom mansions folder from the old version and play on. All your saves and high scores will not be changed.

Midnight Mansion HD (MM1) is now available at the Mac App Store and at the Actionsoft website. A Windows version is now available.

Here is a list of downloadable MM1 HD ready custom mansions, which also work in the Windows version of the game.

The MM2 custom mansion Hanging Gardens of Babylon by Freddy/SandyBean/Josephine/brell was updated on 19. Nov 2023 to add a fourth section. Available here

Page Index Toggle Pages: 1
Send Topic Print
Reset your ObjectIDs! (Read 3115 times)
YaBB Administrator

Posts: 1064
Los Angeles, CA
Gender: male
Reset your ObjectIDs!
07.01.2010 at 04:07:15
Apparently there is a bug in Midnight Mansion where, if the currently in-use ObjectID is higher than 32,767, problems start to happen when levers attempt to control an object with an ID higher than this number.

But it's very rare to have this many objects in a mansion. So I recommend, while designing, resetting your ObjectIDs whenever the number seems to be getting higher. (You can reset them as often as you'd like.)

I'd double-check to make sure your levers still affect the same sprite, after you do the "Reset", but I believe the editor handles this properly.

A little background on what this is:

Every time you add a sprite to the game, the editor assigns it an objectID, starting with 1, and increasing with each object you add. If you get up to 100 objects, and then delete some old objects or entire rooms, the next ID used will still be 101, even though there are "available" objectIDs that can be reused, due to deleting other sprites.

"Reset Object IDs" re-numbers all objects in the entire mansion, starting from 1, so there are no unused IDs. This helps avoid problems where, if you exceed 32,767, apparently problems can happen. It's not supposed to happen, and I'll be looking into this to see if I can get this fixed, but in general, the "solution" is simple and easy.

If you let your objectIDs exceed 32,767, and *then* use Reset ObjectIDs, you may have problems with levers no longer controlling their target object properly, for any target objects that had a value higher than 32,767. So you may have to go back and re-enter the correct objectID into the lever for these objects. But the easy way to avoid this is to reset your object IDs before the number gets higher than 32,767.

I'm not sure if this is confusing, but if you have any questions, please ask.

Back to top
IP Logged
Page Index Toggle Pages: 1
Send Topic Print