Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Lights shine trough wall
Author Message
iNs Offline
Junior Member

Posts: 21
Threads: 4
Joined: Mar 2011
Reputation: 0
#1
[SOLVED] Lights shine trough wall

Hey there.

I noticed that the candles in one room are shining trough the wall into the other room next to it.
So i can see the light of the candles behind the wall and on the floor in the other room, too.

How to fix that?


Regards
iNs
(This post was last modified: 04-04-2011, 12:01 AM by iNs.)
04-01-2011, 11:04 AM
Find Reply
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: Lights shine trough wall

In short?
No fix available, put candle further away.

04-01-2011, 11:15 AM
Find Reply
iNs Offline
Junior Member

Posts: 21
Threads: 4
Joined: Mar 2011
Reputation: 0
#3
RE: Lights shine trough wall

wow... that are really bad news. Sad

Its looks not really good when I leave a room, and outside in the hallway you
can see the light of the room...

Is there a script to turn of a candle in a room, when i leave it?


Edit:
I will try the following function with a ScriptArea in the door:
void SetLampLit(string& asName, bool abLit, bool abEffects);


Edit 2:
Is there a function to get the Status of a light?
Or do i have to take LocalVariable and Interact-function?
(This post was last modified: 04-01-2011, 05:25 PM by iNs.)
04-01-2011, 05:18 PM
Find Reply
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#4
RE: Lights shine trough wall

All functions are listed on the wiki page, so if there isn't a function checking the status of the light on it, then there probably isn't one. Wink
So your second guess in the second edit was right.

04-01-2011, 06:30 PM
Find Reply
Nye Offline
Senior Member

Posts: 250
Threads: 8
Joined: Jan 2011
Reputation: 2
#5
RE: Lights shine trough wall

(04-01-2011, 06:30 PM)Pandemoneus Wrote: All functions are listed on the wiki page, so if there isn't a function checking the status of the light on it, then there probably isn't one. Wink
So your second guess in the second edit was right.

Yup and big thanks to Pandemoneus for improving the script functions page to make it easier for newbies Smile

04-01-2011, 06:34 PM
Find Reply
iNs Offline
Junior Member

Posts: 21
Threads: 4
Joined: Mar 2011
Reputation: 0
#6
RE: Lights shine trough wall

I just did what I was thinking about and created some script areas to turn the
candle lights on/off and it works great. I just figured out some positions where
the player wont even notice that I switched the status of the candles, when
he leaves or enters the room.

It is not good, that the lights shine trough walls, but I found a solution that works.
So everything is fine now.

---
(04-01-2011, 06:34 PM)Nye Wrote: Yup and big thanks to Pandemoneus for improving the script functions page to make it easier for newbies Smile

Yes, the 'script functions page' is really usefull. Thank you for sharing it.


Regards
iNs
04-02-2011, 01:43 PM
Find Reply




Users browsing this thread: 1 Guest(s)