Welcome to
Mod The Sims
Online: 1680
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 13 (Who?), Viewed: 7613 times.
Search this Thread
Old 3rd Jun 2015, 11:30 PM DefaultOutdoor Ceiling Lamps [keep for BHAV info in post] #1
raynuss
Original Poster

Field Researcher

Join Date: Oct 2004
Posts: 279


I cloned a lamp I meshed from a Maxis ceiling light. No problem there. However, the light is part of a Patio Set and I want to be able to place in outdoors on my patio roof without cheats. What BHAV do I have to add so I don't keep getting the message "Must be placed indoors"?
Thanks...
Old 4th Jun 2015, 12:50 AM #2
mustluvcatz
Former Hamster



Join Date: Jul 2008
Posts: 3,717
Thanks: 75889 in 149 Posts
31 Achievements

View My Journal


Try adding a placement flag to clear attached to ceiling.
[prim 0x0002] Expression (My 0x002A (placement flags) Clear Flag flag# Literal 0x000D (attached to ceiling))
Old 4th Jun 2015, 8:12 AM #3
raynuss
Original Poster

Field Researcher

Join Date: Oct 2004
Posts: 279


Sorry Maria, that didn't work.
Old 4th Jun 2015, 7:45 PM #4
mustluvcatz
Former Hamster



Join Date: Jul 2008
Posts: 3,717
Thanks: 75889 in 149 Posts
31 Achievements

View My Journal


I know (from a message elsewhere) that's about the only thing you didn't try. So you tried the more obvious things like allowing object/objects & sim intersection?

Wonder what setting a placement flag to "allow in air" would do? What you want to do -can- be done, I know that much.
Old 4th Jun 2015, 7:50 PM #5
Honeywell
Top Secret Researcher

Join Date: Jul 2008
Posts: 1,982
Thanks: 59802 in 97 Posts
35 Achievements

View My Journal


Allowing it to be placed on the ground and floor are the placement flags you want.

Calamity Hills Apocalypse (Sims 2 Let's Play) | Tumblr(s) | Twitter
Old 4th Jun 2015, 10:55 PM #6
mustluvcatz
Former Hamster



Join Date: Jul 2008
Posts: 3,717
Thanks: 75889 in 149 Posts
31 Achievements

View My Journal


^ And that's how, lol! Thanks for helping out here HW!!
Old 4th Jun 2015, 11:40 PM #7
raynuss
Original Poster

Field Researcher

Join Date: Oct 2004
Posts: 279


Thanks HW. I tried allowing on ground and allowing on floor, but not both. Gonna try it out now.

Followup...So sorry, that didn't work either. Added allow on floor and allow on terrain, still get the message "Must be placed indoors". It's driving me nuts!
Old 4th Jun 2015, 11:56 PM #8
Honeywell
Top Secret Researcher

Join Date: Jul 2008
Posts: 1,982
Thanks: 59802 in 97 Posts
35 Achievements

View My Journal


@MLC, I tried! lol

Quote:
Originally Posted by raynuss
Thanks HW. I tried allowing on ground and allowing on floor, but not both. Gonna try it out now.

Followup...So sorry, that didn't work either. Added allow on floor and allow on terrain, still get the message "Must be placed indoors". It's driving me nuts!

There's something in the BHAVs that needs to be cleared then similar to what MLC described in her post. I'm not sure how familiar you are with this stuff but If you look in the init bhav whatever it is that's preventing placement should be there. Or if you want to attach it I'll be happy to take a look at it for you.

Calamity Hills Apocalypse (Sims 2 Let's Play) | Tumblr(s) | Twitter
Old 5th Jun 2015, 12:12 AM #9
mustluvcatz
Former Hamster



Join Date: Jul 2008
Posts: 3,717
Thanks: 75889 in 149 Posts
31 Achievements

View My Journal




The only other thing I can think of is something to do with room/rooms. Or maybe set/clear needs to be something else, but I never remember what all of those little symbols - ie., := - mean.
Old 5th Jun 2015, 2:00 AM #10
raynuss
Original Poster

Field Researcher

Join Date: Oct 2004
Posts: 279


I'm pretty comfortable with BHAV editing. There are only two entries in the init bhav...[semi 0x0006] Function - Init with no arguments and [semi 0x0003] Init - Ceiling with no arguments. I viewed the BHAV's in each one and from what I observed, I added BHAV's to the Init. I cleared the placement flag for attached to ceiling and the exclusive placement flag for ceiling and it still doesn't work. Next I added a flag to allow on terrain...still nothing. There doesn't seem to be anything else except one for room placement with values of My, roomplacement, :=, Literal, 2 but I'm not sure what value to put in place of the "2". A little guidance there would be appreciated.

Maria, := in computer programming terms means "store the following value".
Last edited by raynuss : 5th Jun 2015 at 2:36 AM.
Old 5th Jun 2015, 2:35 AM #11
Honeywell
Top Secret Researcher

Join Date: Jul 2008
Posts: 1,982
Thanks: 59802 in 97 Posts
35 Achievements

View My Journal


Quote:
Originally Posted by raynuss
I'm pretty comfortable with BHAV editing. There are only two entries in the init bhav...[semi 0x0006] Function - Init with no arguments and [semi 0x0003] Init - Ceiling with no arguments. I viewed the BHAV's in each one and from what I observed, I added BHAV's to the Init. I cleared the placement flag for attached to ceiling and the exclusive placement flag for ceiling and it still doesn't work. Next I added a flag to allow on terrain...still nothing. There doesn't seem to be anything else except one for room placement with values of My, roomplacement, :=, Literal, 2 and I'm not sure how to change that. A little guidance there would be appreciated.


I went ahead and edited a light for you before your edit but I can't really explain this stuff well anyway so it's for the best. You're welcome to clone it, extract the bhav for your own package or just take a look to see what I changed. It's 0$ under ceiling lights.
Download - please read all instructions before downloading any files!
File Type: zip HW_outdoorCeilingLight-noCheats.zip (74.8 KB, 10 downloads) - View custom content

Calamity Hills Apocalypse (Sims 2 Let's Play) | Tumblr(s) | Twitter
Last edited by Honeywell : 5th Jun 2015 at 2:46 AM.
Old 5th Jun 2015, 2:38 AM #12
raynuss
Original Poster

Field Researcher

Join Date: Oct 2004
Posts: 279


Thanks HW. I'll take a look at what you did.

Looked at your ceiling lamp and in less than 1 minute, I was able to fix my ceiling lamp so it can be placed outdoors without cheats. Thanks for your help. I learned something new today thanks to you.
Last edited by raynuss : 5th Jun 2015 at 2:58 AM.
Old 5th Jun 2015, 3:05 AM #13
Honeywell
Top Secret Researcher

Join Date: Jul 2008
Posts: 1,982
Thanks: 59802 in 97 Posts
35 Achievements

View My Journal


You're welcome, raynuss. I'm glad you got it sorted.

Calamity Hills Apocalypse (Sims 2 Let's Play) | Tumblr(s) | Twitter
Old 5th Jun 2015, 3:20 AM #14
mustluvcatz
Former Hamster



Join Date: Jul 2008
Posts: 3,717
Thanks: 75889 in 149 Posts
31 Achievements

View My Journal


I see what you did there HW, never thought of doing that but it makes perfect sense now that I see it. *learned something new today too*
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.