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
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 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 action #354107
01/15/11 20:09
01/15/11 20:09
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
so for some reason, i created a small level, compiled and ran it. and it was completely black. It usually has a default lighting all over the level, but not anymore. No, i do not have any "lights" in the level. Next, i tried to create a light using code like this,
Code:
ENTITY* sun;

action sunlt()
{
     sun = me;
     sun.blue = 255;
     sun.lightrange = 1000;
}

but nothing happens. I've done this before and it worked fine, but not now. I use C-Script so lite-c won't help me.

Re: light action [Re: xbox] #354133
01/16/11 01:02
01/16/11 01:02
Joined: Jan 2011
Posts: 120
United States
Logan Offline
Member
Logan  Offline
Member

Joined: Jan 2011
Posts: 120
United States
COMPLETELY black? Like, is there a chance the level failed to load and that is why you can't see anything?

Re: light action [Re: Logan] #354139
01/16/11 02:24
01/16/11 02:24
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
not sure, because if i open the compiled level without WED, then its nice and bright and all textures are visible, but as soon i run it in WED its COMPLETELY black until i add a WED light.

Re: light action [Re: xbox] #354148
01/16/11 04:47
01/16/11 04:47
Joined: Sep 2003
Posts: 648
Switzerland
snake67 Offline
User
snake67  Offline
User

Joined: Sep 2003
Posts: 648
Switzerland
I tried this but wasnt able to reproduce, strange thing. Did you trie ambient light in "Map Properties"?

Re: light action [Re: snake67] #354149
01/16/11 05:01
01/16/11 05:01
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Nope, everything is set at default of 0

Re: light action [Re: xbox] #354159
01/16/11 08:51
01/16/11 08:51
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
Look in the "Map properties" and check does you level have sun lights on? And to make shadows a bit brighter, you can make sun ambient a bit brighter too. Good luck.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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