MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Custom objects placeable on OFB displays and shelves *UPD 22APR*

by Numenor Posted 7th Mar 2006 at 9:29 PM - Updated 22nd Apr 2006 at 8:41 PM by Numenor : Included support for Windkeeper's "Placement on locked tiles" hack
329 Comments / replies (Who?) - 1 Feedback Posts, 4 Thanks Posts
This is a featured upload! It showcases the best talent and creativity available on MTS and in the community.
CUSTOM OBJECTS PLACEABLE ON O.F.B. DISPLAYS AND SHELVES
Global Hack - OFB required

----------------------------------------------------------------------
IMPORTANT: THIS HACK IS STILL IN TESTING! USE WITH CAUTION!
----------------------------------------------------------------------
IF YOU ARE EXPERIENCING THE "MISPLACED RESTOCK SIGN" BUG, PLEASE TEST THIS FIX
----------------------------------------------------------------------
If you want to place custom objects on the Business shelves, consider to batch-fix
your downloads (following THIS TUTORIAL)
instead of these hacks

----------------------------------------------------------------------

Both the "More" and "Less" hacks conflict with Windkeeper's "Locked Tile Fix". If you want the objects to be placed both on the OFB shelves and on the locked tiles, please download the "More+LockedTiles" or the "Less+LockedTiles" hacks, attached to this post. And read Windkeeper's original thread for info about the Locked Tiles!
As usual, you can have only ONE of the four versions in your game (that's why all these hacks have the same filename).

KNOWN MAXIS BUG: it has been reported by many users that sometimes - when a customer buys the item, or when your sims restock the shelves - the restock sign is misplaced (it will appear at a corner of the lot).
This happens more frequently if you use any of these hacks (the "More" version makes the bug occur more frequently than the "Less" version).
But the "restock sign misplacing" bug has been reported also by users that did NOT install these hacks. From the reports that I've collected, there is a Maxis bug that causes the restock signs to be "teleported" to a corner of your lot, especially if you:
  • place the objects using the move_objects cheat;
  • move or remove the restocks signs using the normal "hand" tool (you should use the "hand" only in Business Build Mode, i.e. selecting the "price tag" icon in the top-right panel);

If you have experienced this bug, read the method to get rid of misplaced restock signs in THIS POST.

----------------------------------------------------------------------

(Original post)

You may have noticed that the shelves and shop displays that came with Open For Business can hold only Maxis objects, and that - on the contrary - no custom-created objects are allowed on them.

This problem can be solved by installing the provided global hack.

WARNING: THIS IS A GLOBAL HACK (i.e. it affects all the objects in all the lots), and therefore IT MUST BE USED WITH CAUTION, just like any other global hack. Also, it may be included in your exported lots.

What does this hack do?
It changes on the fly a particular value in the Object Data of all the objects picked from the catalog (no permanent changes are made to the objects or to the packages), setting them as "placeable on shop shelves".
Once installed, you'll be able to place custom objects on all business shelves, including the "Magicsplay" that is used on the counters.
This hack works with all the existing custom objects, and all the future cloned object, too.

CHOOSE YOUR FAVOURITE VERSION!
  • The "MORE" version lets you place on the shelves more objects than Maxis decided; sometimes, the objects can just look too "crowded": in this case, you can fill completely the shelf and then remove the unwanted items.
    bla bla
  • The "LESS" version keeps the original Maxis settings for the objects (Maxis seems to like half empty shelves ): the shelves will look definitely less "overcrowded.
You can obviously have only one version in your Downloads folder! (both packages have the same name, so it would be hard to keep both, lol! )


Installation / Uninstallation
Extract the file "Numenor_GlobalHack_OFB_Custom-objects-placeable-on-shelves.package" from the chosen zip ("more" or "Less"), and place it in the Downloads folder. Remove it from the Downloads to restore the original situation.

Technical explanation
Maxis started to use a previously unused data field in the Object Data: the data field 0x004F [Unused - Shadow Brightness (Sims1)]. I've noticed that almost all the existing objects, before OFB, had this field set to zero or 0x96; while in OFB the objects have a value of 0x2 (small objects), 0x1 (medium objects) and 0x00 (large objects).
I've edited the global 0x010F "Init - Object" BHAV (that - in my experience - is called from *all* the objects init BHAV), appending the following line:
"0x0002 (Expression) - Stack Object's Master definition 0x004F Set to Literal 0x0002". This line overrides the value stored in the Object Data field 0x004F, "replacing" it with the value 0x2 (which, in my tests, is the only one that allows placement on business shelves).
The "Less" version performs the said change only if the existing value is >2 (so to keep the Maxis setting, if existing).

Please report any oddity you may notice while using this hack. Open For Business is required (obviously )..

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 2 Open for Business
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
LESS_Custom-objects-placeable-on-shelves+LOCKEDTILES.zip

Size: 379 Bytes · Downloads: 10,057 · 22nd Apr 2006
379 Bytes 10,057 22nd Apr 2006
MORE_Custom-objects-placeable-on-shelves+LOCKEDTILES.zip

Size: 433 Bytes · Downloads: 17,186 · 22nd Apr 2006
433 Bytes 17,186 22nd Apr 2006
LESS_Custom-objects-placeable-on-shelves.zip

Size: 356 Bytes · Downloads: 18,679 · 8th Mar 2006
356 Bytes 18,679 8th Mar 2006
MORE_Custom-objects-placeable-on-shelves.zip

Size: 411 Bytes · Downloads: 33,765 · 8th Mar 2006
411 Bytes 33,765 8th Mar 2006
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract the zip, rar, or 7z file.

3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
  • Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
  • Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
  • Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
  • Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
  • Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
Need more information?
 
329 Comments / Replies (Who?) - 315 Feedback Posts, 6 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 14 of 14
Test Subject
THANKS POST
#326 Old 5th Jul 2014 at 6:45 PM
Thank you ! :)
Top Secret Researcher
THANKS POST
#327 Old 14th Jan 2015 at 2:14 PM
Awesome, thank you.
Test Subject
THANKS POST
#328 Old 10th Mar 2016 at 3:49 AM
thanks
Field Researcher
#329 Old 21st Oct 2016 at 6:43 AM
Quote:
Originally Posted by Samarah
This seems to be such an awesome hack and I would love to be able to try it! But I had some problems when I installed the mod: my sims couldn't talk to the plants and they coudn't put the left overs of their meals in the fridge either. I desabled all the cc unless this mod and it still didn't work.
Has anybody else had this problems before?


I realise this is a very old thread, but yes I have the left overs problem. Removed the hack and all worked again. Pity because this was a great idea but it just doesnt work for me (Sims 2 Ultimate Collection).
Mad Poster
THANKS POST
#330 Old 21st Jun 2017 at 9:22 AM
I never thanked you for this after all this time? Really? My belated thanks, wherever you are. This mod is a must for my game!
Page 14 of 14