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

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

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

Size: 411 Bytes · Downloads: 33,763 · 8th Mar 2006
411 Bytes 33,763 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 7 of 14
Test Subject
#151 Old 10th Mar 2006 at 9:33 PM
Ive looked it up in the strategy guide, from the sound of things a customer looks at how full a shelf is, and a full shelf gets the full enviroment benifit of selling from a display shelf or mat, while Restocking signs lowers the buy score, so aparently the effect is simular.

But I think the effect of a "not full" shelf is less than a "not restocked" shelf
The ModFather
retired moderator
Original Poster
#152 Old 10th Mar 2006 at 9:59 PM
Quote:
Originally Posted by Havelock
I hope Meshers would make the needed updates in the Future or SimPE make it for them.


Quaxi is goint to include, in the next SimPE, a "scanner" that will check the dimensions of the objects (in terms of space used on a shelf), and will allow the users to set it correctly.

But this won't spare us from using my hack, because many creators just don't care about some "details" like this one

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
#153 Old 10th Mar 2006 at 10:31 PM Last edited by veezee : 10th Mar 2006 at 10:31 PM. Reason: More Corny idea
You know what I REALLY want?

Numenor's title changed from Scenegraphic Alchemist to "God of Mod"

or better still....The Modfather. :moose:

This is 10% Luck, 20% Skill, 15% Concentrated Power of Will, 5% Pleasure, 50% Pain and 100% Reason to Remember the Name- Mikey Schnizlle
Blenderized to Pieces
retired moderator
#154 Old 10th Mar 2006 at 10:43 PM
Thanks! I'll try it tonight. I've been hampered by being unable to place custom objetcs on shelves!

Now.... Can you fix it so we can put decorations on dressers & such? :-)
Lab Assistant
#155 Old 11th Mar 2006 at 3:16 AM
Thank you for this mod, Numenor. FYI, I tried the "More" version (before you made the "Less" one) on the Maxis-made Bakery (J'Adore?). One of the existing restock signs did indeed end up somewhere else--all the way across the street and out of the lot boundaries. I could not move it with the "hand" or move/delete it with "move_objects". In fact, the object disappeared when I went into buy or build mode. I sold off the stock and shelves, exited, removed the mod, and went back into the lot. Restock item sign was still there. I tried making everything there was to cook in order to restock that item and just kept getting the "item not in stock" message, so it was impossible to restock it. I sold off the business thinking maybe it would reset itself, then bought it again. Nope, restock sign still there. Playing the lot "as is" didn't work, because the stupid customers would walk across the street and stand and shake their heads at the restock sign and then the star with a minus sign would appear over their heads.

After fighting with this lot all day, I decided to uninstall OFB and then reinstall. My fault, I backed up the DL file and thought I had backed up the Neighborhood file as well. Wrong--my neighborhoods exploded into a big fiery ball visible from outer space, etc., etc. I also lost all the Lots in my LotsCatalog, which I thought would be unaffected. So that's it, 6 months of gameplay, families and lots down the tube...sigh. Please understand, Numenor, I am in no way blaming you for my mishap. It's my fault entirely for trying to do all this at 2 in the morning (!).

Well, enough ranting, I just really had to share this with other Simmers who may have also lost stuff from their games--or at least sympathize. Hubby doesn't really get it--LOL! I really wanted to let you know that your mod is a great idea, and also to let you know that the "workaround" you suggested did not work for me. I am playing with all Expansions, btw.

Now that I'm starting with a pristine neighborhood, I will try the "Less" version and see how that works.

Thanks again for a great mod which corrects a stupid oversight by Maxis!
Lab Assistant
#156 Old 11th Mar 2006 at 6:24 AM
I just wish to add that I had no problems with "more" version but I don't like the fact that the shelves must be cramped to the brim...before I can use the lower shelves. I don't like my products to be that cramped :P
So I am going to try the "less" version now ...
Lab Assistant
#157 Old 11th Mar 2006 at 7:57 AM
Quote:
Originally Posted by rich1lenore
FYI, I tried the "More" version (before you made the "Less" one) on the Maxis-made Bakery (J'Adore?). One of the existing restock signs did indeed end up somewhere else--all the way across the street and out of the lot boundaries. I could not move it with the "hand" or move/delete it with "move_objects". In fact, the object disappeared when I went into buy or build mode.

My condolences on losing so much of your game (ouch!), but I've heard of this bug before. There are a few OFB threads on the TSR forums where people are complaining about teleporting restock signs and objects that can't be moved. I suppose they might also have this mod, but it sounds likely that it's one of the Maxis bugs that this expansion shipped with. I love The Sims 2, but there's a reason I never buy a Maxis product until the patch comes out. (I hope they hurry with the patch for this one. Other than the bugs, it sounds like lots of fun!)
Lab Assistant
#158 Old 11th Mar 2006 at 12:58 PM
Quote:
Originally Posted by Numenor
Quaxi is goint to include, in the next SimPE, a "scanner" that will check the dimensions of the objects (in terms of space used on a shelf), and will allow the users to set it correctly.

But this won't spare us from using my hack, because many creators just don't care about some "details" like this one


Wow really good news!!

For the second we could do it yourself Before put ito Downloads Folder

:nod:
The ModFather
retired moderator
Original Poster
#159 Old 11th Mar 2006 at 5:43 PM
Default Workaround For Misplaced Restocking Sign
I'm really sorry if some users are experiencing problems with this hack, and I'm especially sorry for rich1lenore.

I'm still trying to understand what's wrong with the placement of the restocking sign (if we discover - at the end - that is a Maxis bug... Grrr! )


In the meantime, here is a method to get rid of the misplaced restocking signs:
  • Open the cheat box (CTRL+SHIFT+C)
  • activate the testing cheats (type exactly: boolProp testingCheatsEnabled true)
  • Shift-click on the misplaced restocking sign and choose the option Force Error
  • in the error window that pops up, choose Delete
  • repeat for all the misplaced signs (there may be multiple signs one overlapping the other, so deleting the first gives no visible results; just keep shift-clicking on the signs until all of them are deleted)
  • deactivate the testing cheats (open the cheat box and type exactly: boolProp testingCheatsEnabled false.

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
#160 Old 11th Mar 2006 at 6:25 PM
Thank you! I will copy the above directions and use that if the my restock signs decide to teleport themselves again!
Test Subject
#161 Old 11th Mar 2006 at 7:29 PM
Im almost suspecting its a bug, because I just did a clean install on my laptop without any mods and some of the restock signs are turning up in the darnest places on the lots
Test Subject
#162 Old 11th Mar 2006 at 7:31 PM
Quote:
Originally Posted by Numenor
Quaxi is goint to include, in the next SimPE, a "scanner" that will check the dimensions of the objects (in terms of space used on a shelf), and will allow the users to set it correctly.

But this won't spare us from using my hack, because many creators just don't care about some "details" like this one
Simple solution, anyone who doesnt include the shelf size information will have their items rates only for thoes Xpacks that are pre OFB.
Lab Assistant
#163 Old 11th Mar 2006 at 7:55 PM
i voted. but i read about the stock sign error. i'll tell you if i get the same problem.
Test Subject
#164 Old 11th Mar 2006 at 10:41 PM Last edited by FatedCircle : 11th Mar 2006 at 10:55 PM.
I've not posted here before, but this problem is forcing me out of my lurkdom. I also have the problem with the misplaced stock signs, but I noticed the problem before installing this hack. When I placed objects on shelves using moveobjects to give it that crowded look, that's when I first noticed the stock signs winding up across the street. When I restocked the item, it did not appear anywhere, not on the shelf, nor where the stock sign had been. So I am loosing money from this.

Now, I have the more version of this hack installed, and I have this problem to a large degree. It seems to be with custom objects, and inventory objects. All objects were crafted after installing the hack, shelves were placed after installing, etc.

So I don't think it's this hack specifically, but the fact that the shelves are overcrowded. It's like the game doesn't know where it's supposed to put the stuff, so it defaults to somewhere else. The major pain of it is, that once it happens, you lose the money for the object. It's not just bakery items, but any custom item, so far. I've not noticed it with Maxis items, but them, I don't sell a lot of maxis items anyways.

I hope this helps narrow down the problem, for now, I am taking out the more version of this, and putting in the less to see if that solves the problem.
The ModFather
retired moderator
Original Poster
#165 Old 12th Mar 2006 at 12:04 AM
Drakenred, FatedCircle: really you experienced this problem before installing my hack?! From one hand, I feel relieved, because it's not completely my fault, then (after all, the LESS version keeps the original Maxis settings!).

But this means that there is a bug that should be fixed as soon as possible, because we don't like having restock signs wandering free throughout our lots

Please confirm me: you have experienced the known problem putting on the shelves Maxis objects, right? Without my hack, custom objects just can't be placed on shelves...

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.
Field Researcher
#166 Old 12th Mar 2006 at 12:12 AM
Quote:
Originally Posted by earl2blue
I just wish to add that I had no problems with "more" version but I don't like the fact that the shelves must be cramped to the brim...before I can use the lower shelves. I don't like my products to be that cramped :P
So I am going to try the "less" version now ...


Actually I've tried the shelves with Numenors hack and without it, either way, you have to fill the top half first, most of the time. Sometimes it will let me fill the bottom, but that was rare. It seems that it is an OFB bug, or maybe intentional?!
I've also noticed the stock sign problem, but it was easy to fix.
I like cramping my shelves so thanks for the more version, lol. I bow to you Numenor!
Test Subject
#167 Old 12th Mar 2006 at 1:28 AM
I'm having a problem with restocking too. So far only the bakery and toy store. Things end up behind the buildings, across the street and who knows where else. Then I get the message saying that there is no stock in the inventory and there is. Someone over at BBS said it was this mod that was causing the problem so I removed it and it's still doing the same thing. I think it has to be a glitch in the game. I wish Maxis would get the damn patch out soon to fix some of these bugs! GRRRRRRRRRRR.......
Test Subject
#168 Old 12th Mar 2006 at 1:44 AM
Well, before your hack, custom objects could go on the platform type shelves, using move objects. And if you used moveobjects to place any item on shelves, you were able to get the "crowding" effect you see with the more version of the hack.

I first noticed the problem with the sergeant cuddles bear, which is classified as CC in my game, even though it is a maxis object. I also noticed the problem with items made on the work bench. And now with a lot of custom items. Actually, thinking about it now, I did have a few holiday candles disappear this way too, which are Maxis items, and not classified as CC in my game. I have not noticed it with other maxis items, but that's not to say it wouldn't happen...I just don't use a lot of the maxis items (cuz most of them are butt ugly).

So yes, I experienced this before installing this hack into my game when I put a ton of sergeant cuddles bears on one shelf, and with some CC items on the platform shelves, crowded together using move objects. Until this hack, CC could only go on those shelves. At least, that's been my experience.
The ModFather
retired moderator
Original Poster
#169 Old 12th Mar 2006 at 2:47 AM
I want to take a look at the BBS, to read the experiences of other users (though they are not clever as you all in reporting bugs! )

I can say that using the move_object cheat is much like using this hack, and I'm not surprised if the "restock issue" appears for objects placed on the shelves with the move_object.

I'd like to understand if the problem occurs also without any cheat or hack; and what Grannysims reports above makes me seriously think of a bug in the game.

I'll keep investigate this subject. In the meantime, please go on keeping your eyes open and reporting here any oddity (with or without the hack installed).

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
#170 Old 12th Mar 2006 at 8:22 AM
Hi there, I also had this problem BEFORE I installed your hack. Mine was in the flower shop, with the maxis made plants, and I didn't have the move_objects cheat on. The plants ended up through the back wall, and on the path opposite. I just deleted the restock signs, but they kept reappearing. Personally I think it's a glitch.
The ModFather
retired moderator
Original Poster
#171 Old 12th Mar 2006 at 10:44 AM
Thanks, Joan, your report is very useful.

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
#172 Old 12th Mar 2006 at 12:48 PM
I am also having a problem with placing objects. I dont really think its your hack, I think its the custom content. If an object is bigger than the Object it was created from it wont work. I will try to explain. I have a tea set that I think someone made from a Maxis coffee cup , When I put it on the top shelf it is so big that it covers the entire top shelf If I try to put one on the bottem shelf under it, it will go to the top and just sit on it. S0 the only way to get one on bottem is to stack the top one with as many as it will hold then put one on bottem and go back and delete the ones on top except for the one. I have noticed many costum objects are doing this. Thats about as good as I can explain it. I really dont think its your hack like I said , I think some custom objects are just not going to sit on a shelf right without problems.
Lab Assistant
#173 Old 12th Mar 2006 at 12:51 PM
oh by the way I was not using the move objects cheat
Lab Assistant
#174 Old 12th Mar 2006 at 1:44 PM
the out of stock sign stayed on the shelf. weird... mabye only custom content out of stock signs do that error. plus, only some of my downloaded custom content will show up with your hack
Lab Assistant
#175 Old 12th Mar 2006 at 3:12 PM
Sorry I had to remove it because I just had to many problems, Now my maxis stuff is working right. Take for instance the new orbs in a bowl, well with this hack they are bleeding into each other.
Page 7 of 14