Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, juanex, Grant), 1,018 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Light from player is going through world blocks. #79625
06/27/06 04:23
06/27/06 04:23
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline OP
User
thegamedesigner  Offline OP
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
When I place a light in the level it does not go through the world blocks, but when it comes from the player, from code, it does. Can I make it so the player throws light that will not go through the walls?

Thanks
thegamedesigner.


My games - www.spyeart.com
Re: Light from player is going through world blocks. [Re: thegamedesigner] #79626
06/27/06 16:50
06/27/06 16:50
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
this can be because the lights you place in the level are compilated.
if you cast a light from the player it only colors the level's normals
If conitec has created lights that don't go through level blocks,
the engine will be very slow

I don't know if there is a solution, but not I never have seen any


Check out the throwing game here: The throwing game
Re: Light from player is going through world blocks. [Re: Roel] #79627
06/27/06 23:14
06/27/06 23:14
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
one solution - to plan and test your level. I had same problem with light from the model over the corner or behind closed door. I created some script to detect when I have to ON that lights.

Re: Light from player is going through world blocks. [Re: Lion_Ts] #79628
06/28/06 16:40
06/28/06 16:40
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline OP
User
thegamedesigner  Offline OP
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
Lion_TS: What do you mean? I am not sure I understand you?

And I thought I read somewhere on this forum there was a guy who solved this by putting map entitys with some flag on in his walls? I used the search but could not find it.

thanks
thegamedesigner


My games - www.spyeart.com

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1