View Full Version : Free space below/under my object
sophisim
15th Jan 2010, 03:06 PM
I made a shelf and changed the height of the slots.
There is one problem that bugs me though.
Under the shelf I would like to be able to put a table.
But the only way I can do that is with the move_objects cheat.
The object I cloned my mesh from, is a shelf having the same issue.
What, how and where can I change my file to be able not to have to use the cheat?
I don't really know how to address this problem. Is it change of footprints, slots or BHAV?
Appriciate any help on the matter.
HugeLunatic
15th Jan 2010, 03:18 PM
It sounds like the object you cloned was something that took floor space instead of wall space? To allow objects to be placed in the same floor tile without needing a cheat you need to add a line to the Init bhav.
Try this:
https://docs.google.com/View?docID=0ASpOiGZcCSZ5ZGhudmQ2cTJfMTRoczg0Z2Rkcw&revision=_latest
sophisim
15th Jan 2010, 06:55 PM
Thank you for your reply.
It is surely a great article, easy to understand and written in the most clear and simple way.
Still I cannot make these kind of changes.
My init looks like this:
http://i775.photobucket.com/albums/yy37/aoimg/sophi/Lounge/init.jpg
There are so many different kind of true targets in this file.
The last Function Init says: MT - Init - Wall placement
But should it be changed into something coming after that?
And my PJSE Editor popup doesn't look the same and I don't get the options you have selected in the popup.
So I don't really know what to do.
HugeLunatic
15th Jan 2010, 07:16 PM
Wow that's alot of Init's. :) I see you already have the box for Special Buttons ticked, so we will add via true. We need to find the last line called, and I see that there could be two of them. I'm not sure why there would be two but we can add a line with Insert via True, that way the linkage from one line to the next is automatic. I'm guessing it is an OFB shelf since I see shopping bhav's in there.
Please make sure you have a backup of your working object before changing values. So what I would do is select a similar bhav, and that wall placement would probably work. After selecting it click the button to the right that says "Insert via True". Then make sure your newly added bhav is selected and click the little button next to hte hammer/wrench button, the one that looks like ". Paste 08000300000903070000000000000000 those numbers into the box that pops up. You should then see that bhav allows object and person intersection. Make sure to commit.
If this doesn't work feel free to post your package.
Echo
16th Jan 2010, 06:06 AM
Just a quick tip, to make BHAVs like that a whole lot easier to read. See the button labeled "Sort"? Click that. :)
sophisim
18th Jan 2010, 04:40 PM
Thank you ever so much for trying to help me out. :lovestruc
But no matter how much I tried - backwards and forwards - I couldn't make any progress. In the end I cloned another mesh from Maxis, added a few more slots and now I have the object I wanted all along.
This with the BHAV...I will have to study that a bit more...
HugeLunatic
18th Jan 2010, 06:05 PM
Thanks for that tip Echo. When sorting, does it sort based on the order it is called/read?
sophisim - I'm sorry I couldn't help more. I'm still learning with bhav's and don't know nearly as much as I would like. But I'm glad that you have an object working as you wanted.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.