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?) - 25 Feedback 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,059 · 22nd Apr 2006
379 Bytes 10,059 22nd Apr 2006
MORE_Custom-objects-placeable-on-shelves+LOCKEDTILES.zip

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

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

Size: 411 Bytes · Downloads: 33,773 · 8th Mar 2006
411 Bytes 33,773 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 11 of 14
The ModFather
retired moderator
Original Poster
#251 Old 22nd Apr 2006 at 10:45 PM
Lol! I only hope you grandmother dowsn't browse MTS2!
With all the due respect, I prefer you give the entire granny to Wind :D

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
The ModFather
retired moderator
Original Poster
#252 Old 22nd Apr 2006 at 10:59 PM
Quote:
Originally Posted by Orbit45244
my mods are not identical to yours. And I don't need to ask your permission, since I haven't copied your mod.
[...]
And, I have nothing against you, Numenor.


I know you have nothing against me, why should you? But nevertheless "expanding" or "updating" other users' creations is something that fair persons don't do; at least, not without permission.

If my hack doesn't work in someone's game, I'd like to know: that's why these hacks are "in testing".

I haven't accused you to have copied my work (though you say in your thread that my work was taken as base for yours). I was just saying that your Less hack - ignoring the unlinked lines, that are NOT executed anyway - is exactly identical to mine: let's say that you, using only your own skills and resources, have reached the very same goal as me; but this means that if my hack is "not compatible" with something, yours is not compatible, too...

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#253 Old 23rd Apr 2006 at 12:30 AM
Numenor you're Italian right? If I remember correctly...(I see you live in Italy, but I'm still asking.)
The blood line is so similar in Mediterranian countries. The quick flame and trying to make peace with everyone, even if you're right :D
Test Subject
#254 Old 23rd Apr 2006 at 1:44 AM
Quote:
Originally Posted by Numenor
I know you have nothing against me, why should you? But nevertheless "expanding" or "updating" other users' creations is something that fair persons don't do; at least, not without permission.

If my hack doesn't work in someone's game, I'd like to know: that's why these hacks are "in testing".

I haven't accused you to have copied my work (though you say in your thread that my work was taken as base for yours). I was just saying that your Less hack - ignoring the unlinked lines, that are NOT executed anyway - is exactly identical to mine: let's say that you, using only your own skills and resources, have reached the very same goal as me; but this means that if my hack is "not compatible" with something, yours is not compatible, too...


I wasn't trying to take people away from this mod either..... In the end, I was just trying to help, but I guess I didn't...... Sorry....
Test Subject
#255 Old 27th Apr 2006 at 4:33 AM Last edited by sunrise140 : 27th Apr 2006 at 4:49 AM. Reason: Clarification
I have a similar problem to what Xelas is describing. I used batchfix so that I could sell custom objects without the hack (thanks for the instructions for that, Numenor) but I put the hack back because I like the option to put more of things on shelves. I put in the OFB (I do not have FFS) patch before I added this hack back. So with the patch and the hack in, the first time I went in I could place more items on the shelf (maxis and custom) but since that first time I loaded the game, the "more" options are gone. Since it's maxis items I want more of on my shelves too, I'm unsure what to do.

cheers.
The ModFather
retired moderator
Original Poster
#256 Old 27th Apr 2006 at 8:39 AM
Sunrise, both the hacks (More and Less) are quite limited, meaning that:
1) they are supposed to mainly apply to custom objects (the title of this thread is "Custom Objects placeable on Maxis shelves");
2) the "More" version is the only one that applies also to Maxis objects, but it never touches the food and - in general - the serving plates. I'm not sure about the craftable flowers: it is possible that they are treated by the game like the plates, and therefore are ignored by the hack.

An important note: the very first version of this hack applied to all the objects, with no exceptions; but the problem with the Restocking signs forced me to change the code, making it "smarter" (most problems were with the food, so I instructed the More hack to ignore food and plates). That's why some users complained about "having lost the More functions".

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Test Subject
#257 Old 27th Apr 2006 at 11:07 AM Last edited by sunrise140 : 27th Apr 2006 at 11:52 AM. Reason: Adding a little more info
ack, I wasn't specific enough. The objects I'm mainly concerned with are actually mostly toys such as teddy bears and re-colors of teddy bears and toys taken from the toybox. Some are custom items, some are not. Actually I really don't run stores very much, what I mainly do is use the shelves to place teddy bears and the toys I want just for decoration on the cube shelves to make a little storage unit in kid's bedrooms. It did work great allowing me to place more of the items on the cube than usual, then literally the next day when I loaded the game, the effect is gone, and I can only place the standard amount of toys on the shelves. It's very weird. I don't know if its a conflict with some other hack or whatever, just thought I'd mention it.


Actually, I think I might mess around with it some more and see if I can make it "do it again" and report back.

Edit:
Here's what I figured out. I THINK what happened was my own fault (isn't it always?) but it's still weird. What was happening was toys that had been placed on the shelf without the hack (after I used batch fix and thought I didn't need the hack anymore) set down in the middle of the shelf in the places they would normally go in with regular maxis limits. Then I decided I didn't like that and put your More hack back in, and found I could fill the shelves to my satisifaction with NEW toys. However the next time I loaded the game and tried to put some more toys in the cubes, I thought that the hack was no longer working because I couldn't put the toys I had placed on the floor several days ago anywhere but in the middle of the cube allowing only one toy instead of four as if the hack weren't there. After messing with it I realized that I had placed those exact same toys (not the same kind of toy but exactly the same toy) before on cubes without the hack and they went in that same location on the cube. So I pulled them off the shelf, stuck them on the floor and forgot them and now with or without the hack, that's the only way they will go on the shelf. Once I deleted those toys and bought new ones like them and stuck them on the shelf with the hack installed, there they placed properly on the shelf.

I'm not sure this makes any sense the way I wrote it, or if its even relevant for testing purposes, but if anyone else is experiencing this and thinks the hack isn't working for them, try deleting the object and buying a new one to put on the shelves. That MIGHT work for you.

Thanks Numenor!
Lab Assistant
#258 Old 6th May 2006 at 2:12 PM
hey numenor
thanks for another great mod. since we used both Windkeeper's blocked tile fix and your less version of the shelf hack we switched to your new combined "less" version. unfortunately it seems like now we sometimes can put the mailbox/trashcan and so on on the street and sometimes not. could there be a conflict between your mod and another one? or is it related to the ffs patch? (we have all expansions and the latest ffs patch)
The ModFather
retired moderator
Original Poster
#259 Old 6th May 2006 at 7:18 PM
No, both my "less" hack and Windkeeper's one, and also the "combined" version, are very simple hacks and are unlikely to conflict with anything. I personally have the FFS patched, and I had no problems.

Double check if, by chance, you still have multiple versions of the hacks: you can have *only one* hack at a time. if you use the combined version, you must remove any "single" versions (Less-only, More-only or TileFix-only).

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#260 Old 9th May 2006 at 9:10 PM
thanks for the quick response, numenor.
after a while of testing with both the "less" and the "more" version of your hack we found out that the "more" version works without a problem (the combined one of course). we will use that one for now then. don't know if you plan on checking into the "less" version again then or not.
Test Subject
#261 Old 11th May 2006 at 1:27 AM
Hi Numenor,

I'm using your "more" hack and I think I'm experiencing a similar problem to what Sunrise140 describes in post #250 but have a bit more info to add. I've noticed that custom objects placed on OFB shelves using your hack seem to revert to their original settings (i.e. not being allowed on OFB shelves) every time the game is restarted.

I stocked up my store shelves just fine after installing your hack, then the next time I played I tried to move a few items around only to discover that the game wouldn't let me place them on another shelf, not even back where the came from! (Which, of course, would later result in teleported stock signs if I continued to play.)

Initially I figured out that I could just delete the objects currently on the shelves and replace them with new ones reset from the catalog. I soon realized, however, that that process was WAY too tedious to be doing [i]every time[i/] I restarted my game, especially with a larger business. However, yesterday I discovered that I could achieve the same result by just using the eyedropper tool to copy one of each object then immediately delete the copy without placing it -- which still somehow resets the object(s) still on the shelves to the size designated by your hack. But... even that way is still quite tedious. Is there any way to keep the items currently on shelves from reverting to their original settings every time the game is restarted?
Test Subject
#262 Old 16th May 2006 at 4:22 PM
sweet! now i can sell more computers and stuff

The early brid gets the worm... but look what happens to the early worm!
Lab Assistant
#263 Old 26th May 2006 at 8:58 AM
I know there is a way to chose which place on the shelf we want an object to sit; I read it in a post and now can't find it. Can anyone tell me what key(s) stroke to use?
The ModFather
retired moderator
Original Poster
#264 Old 26th May 2006 at 10:08 AM
Galxe - Thanks for your report, but my hack, in its current configuration, modifies the objects when you pick them from the catalog, or when they are created by the game during the restock.
Some (many) objects, once placed, just stay there and are not "reverted" by the game when loading; but other objects are affected by special "load" routines every time the game loads up. I can't do anything to fix that, because the "load" routines are defined on a "per object" basis, and I can only hack global routines.

But I don't understand why you have to change placement to the objects on sale so frequently: personally, I do that quite seldom (when the shelf is set up, it will go on working fine, even after a reload, if you don't move the items already placed on it).


Jron - Pick the object from the catalog and bring it on the shelf; before clicking the left mouse button (wich would snap the object on the shelf), press M on the keyboard until the object is in the desired position. Then left-click to snap the object.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#265 Old 26th Jun 2006 at 11:27 PM
Is it true that the latest Maxis patches fix the "locked tile" problem? I want to make sure before I revert to the regular-flavor "more" hack! ;-)

...I wonder what would happen if I kept using the "more + locked tile" hack after patching. Does anyone know?

Support a hungry coyfox (me!). Buy some wonderful flavored tea: Coy o'Teas

*10% goes to environmental causes*
The ModFather
retired moderator
Original Poster
#266 Old 27th Jun 2006 at 1:06 AM
On the official site they say:
Quote:
Originally Posted by Maxis
Moveobject cheat can now be used to manipulate and place objects in out of bounds tiles.

I think we can trust them

But - before getting rid of the "locked tile" hack - please notice that the hack will let you place the objects over locked tiles without using the moveobjects cheat. That said, you choose whether you want to remove or keep it.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#267 Old 27th Jun 2006 at 4:07 AM
Ahh! Yes, a very good distinction. Thank you, Numenor.

...For everything ;-)

Support a hungry coyfox (me!). Buy some wonderful flavored tea: Coy o'Teas

*10% goes to environmental causes*
Field Researcher
#268 Old 28th Jun 2006 at 8:15 PM
Thank you thank you thank you!!!!!!!!!! You wonderful man!!!!!!

Can't. Stop. Downloading.!!!
Test Subject
#269 Old 8th Jul 2006 at 8:01 PM
This hack works great. In fact it works TOO great. Now the food freezer holds 6 items on top and 6 on the bottom and the plates overlap. The default is that the freezer can hold 2 items per shelf so I'm stuck between too many and too few. Filling the shelves and then removing some is sometimes difficult to select the right ones to remove and removing items from the freezer causes the spaces to look awkward to me. Can you make a version that places 4 items per shelf on the freezer?
The ModFather
retired moderator
Original Poster
#270 Old 9th Jul 2006 at 7:28 PM
No, it's not possible: the shelves (including the freezers) are capable to hold, alternatively, 1, 2 or 6 items. I can only use these values.

But I have a suggestion: when placing the items on the freezer, use the "M" key to select the slot you want the dish to snap into; this way, you should be able to leave empty the central slots.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Test Subject
#271 Old 14th Jul 2006 at 2:57 AM
You never cease to amaze me Numenor, This is amazing. Thanks!

Im megas3300 and I approve this message.
Test Subject
#272 Old 16th Jul 2006 at 10:48 AM
I noticed that when using this hack, my environment score stays at 0 for all my sims whenever there is a freezer holding any sort of objects including both maxis and custom made objects in the room they are in. I wasn't sure if this is only a problem for me, or if this hack is incompatible with other ones I have.

But I did enjoy this mod, though it screwed some of the custimers mood due to a 0 score in environment...
The ModFather
retired moderator
Original Poster
#273 Old 17th Jul 2006 at 12:44 AM
Freezers? This hack should allow you to place custom object on shelves: putting custom non-food objects in a freezer I believe it's impossible without using cheats, and placing custom foods in a freezer should work even without this hack...

I'm not sure that your problem is related to this hack, but I will check nevertheless.

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Test Subject
#274 Old 17th Jul 2006 at 5:17 AM
Well, I didn't try putting non-food objects in the freezers, just food related objects. Some of the foods were custom made, so I'm not sure if those particular foods caused the problem. Sorry for not being specific.

I didn't try shelves though since the only businesses I have run pertained to the foood industry... but I should probably check on shelves just to see.
Lab Assistant
#275 Old 2nd Aug 2006 at 9:55 PM
Thanks! This'll help me save money on shelves in my crumbling eletrics business.
Page 11 of 14