View Full Version : Ceiling Light Help Please - BHAV?
MizzesSimmer
8th Feb 2007, 03:37 PM
Hi, :) I was wondering if someone could help me with my ceiling light.
You know when you zoom close to a ceiling light, it disappears? Well, I am creating a faux vanity with cabinets and would like it not to disappear.
I was thinking that I would have to clear the [prim 0x0002] Expression (My 0x0028 (flag field 2) Set Flag flag# Literal 0x0004 (Obstructs View))?
Thanks for your time :)
Inge Jones
8th Feb 2007, 03:44 PM
That's the one!
MizzesSimmer
8th Feb 2007, 03:57 PM
Great thankyou! :D
-Maylin-
11th Feb 2007, 03:25 PM
I was thinking that I would have to clear the [prim 0x0002] Expression (My 0x0028 (flag field 2) Set Flag flag# Literal 0x0004 (Obstructs View))?
Hi !
I've created an object with the same problem (it disappears when we zoom close to it)
I opened the BHAV and I found the function given by MizzesSimmer but I don't know how to clear it...
Please anyone can help me to fix it?
Inge Jones
11th Feb 2007, 04:58 PM
Click on the relevant line in the line listing. On the right of the list of lines, where it says "Operands", look along to the 6th little box that has "09" in it and change it to "0A". You will see the words change from "set flag" to "clear flag". Then commit and save.
-Maylin-
11th Feb 2007, 05:38 PM
Thanks for your answer Inge!
After several attempts, I don't know why but I can't change it!
I join a screenshot of it.
http://img162.imageshack.us/img162/71/20070211182703ap1.jpg (http://imageshack.us)
I join the package too if you want to have a look on it!
Inge Jones
11th Feb 2007, 08:02 PM
I think what I really need to be asking you is what you mean by couldn't change it. At what point did your attempt fail? Did you manage to type "0A" into the box - oh and you realise that is a zero not a capital letter O, don't you? At least let me know if you got that far.
-Maylin-
11th Feb 2007, 10:00 PM
When I write "Zero A" nothing change in the box"Zero 9"
Inge Jones
11th Feb 2007, 10:56 PM
You clicked on the box and put the cursor into it? Rub out the 09 and type 0A over it and your keystrokes do not come up?
-Maylin-
11th Feb 2007, 11:34 PM
Impossible to replace anything on "09" box.
Inge Jones
11th Feb 2007, 11:44 PM
I am sorry then I don't know something must be wrong with your user interface. Can you change any of the other boxes?
-Maylin-
12th Feb 2007, 07:57 AM
Inge, Thanks a lot for your patience!
In fact, I can change the numbers in these boxes:
http://img377.imageshack.us/img377/660/01db4.jpg (http://imageshack.us)
But I can't change anything in these boxes:
http://img377.imageshack.us/img377/1467/02pm0.jpg (http://imageshack.us)
Inge Jones
12th Feb 2007, 09:20 AM
In the third picture, the boxes have not been activated - you can see they have not become white.
This could be because either the line or the whole BHAV has not been actively selected. First try clicking on the BHAV in the Resource list, and then clicking on line 0 in the listing on the left. If you can get those Operand boxes to become white, you should be able to edit them.
Echo
12th Feb 2007, 10:39 AM
Maylin - Your final picture is of the "Init - Ceiling" BHAV. Have you actually imported that into your object, or did you just click on the "View BHAV" button in the "init" BHAV?
-Maylin-
12th Feb 2007, 11:16 AM
Inge and Echo:
I give you, one by one, the actions I have to do:
-click on the "BHAV"
-Ressource list "Init"
-PJSE Line 1 "Init - Ceiling"
-on the right: "View BHAV"
-Then Line 0 : [prim 0002] Expression (my flag field 2 set Flag Litteral 0x0004)
-On the right the boxes are not white and can't be edited
Inge Jones
12th Feb 2007, 11:25 AM
Maylin, Echo is right. You are in a view-only window looking at a BHAV in another file. You can only edit resources that are in your package. I finally downloaded your package to see if I could edit it myself, and I noticed the resource you have in your screenshot is not in your file. If you use "View BHAV" it's not opened in edit mode.
-Maylin-
12th Feb 2007, 12:38 PM
ok! I understand now my wrong way!
Is this the good window and the good line I have to change?
http://img364.imageshack.us/img364/8292/20070212133210bt9.jpg (http://imageshack.us)
Inge Jones
12th Feb 2007, 01:01 PM
Nope, that is allow object intersection. You need a line clearing the obstructs view flag, which you don't have in your package. You need to add that line to the end of your Init BHAV. After doing that, click on Special Buttons and use "Inge's Init Linker" to make sure your line runs.
-Maylin-
12th Feb 2007, 01:15 PM
Ah! Thanks Inge! I'll try this and I'll tell if it works now!
-Maylin-
12th Feb 2007, 01:36 PM
Yes! Your are fantastic Inge! Now it works!
You and Echo are so kind , thank you very much!
Inge Jones
12th Feb 2007, 03:43 PM
I am glad it worked out in the end :D
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.