|
| 09 Jan 2013 02:19 PM |
According to BLOBBYBLOB I can create a simple local lighting script using a local script... So I tried it out for myself, it works...
How ever when I try adding a loop, it doesn't respond or send a output out.
for i do, 1, .5 brightness = i; game.Lighting.Changed:connect(function() game.Lighting.Brightness = brightness; end end)
|
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 02:23 PM |
Local lighting is currently impossible. There used to be a small 'hack' to have a client-side lighting service for each player, but that doesn't work anymore.
However, after my stressing local lighting on the devs for the past two years, it sounds like they might actually consider doing it after focusing on having tons of parts in one game. |
|
|
| Report Abuse |
|
|
Monkey727
|
  |
| Joined: 12 Jan 2009 |
| Total Posts: 969 |
|
|
| 09 Jan 2013 02:32 PM |
| I've actually been working on a system to create local lighting, Or at least a fake version of it, Including skyboxes, time and fog. |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 02:41 PM |
Well thats what I thought, but its possible.
Blobby has it in his game: http://www.roblox.com/Rage-Mountain-III-place?id=29121215
I thought it was a GUI, but he clear states in his PM " No, local scripts aren't allowed to change the server lighting. It'll change it for the client, then the server will reject the change and try to change it back. " |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 02:59 PM |
I came up with it (both times, this time anew).
http://www.roblox.com/LocalLighting-place?id=100288339
Un copy locked, there you go. |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 03:39 PM |
| Huh, that's quite the interesting hack you've figured out there |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 03:44 PM |
| I understand how his method works, but it still confuses me. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 09 Jan 2013 03:44 PM |
Local lighting ain't impossible
brightness = .5 game.Lighting.LightingChanged:wait() game.Lighting.Brightness = brightness;
Not sure what you want :P
|
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 03:48 PM |
| It seems like it shouldn't work. Apparently Changed fires before anything is actually rendered in. Or Lua events connected must have enough time to execute before it switches between updating and drawing. |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Jan 2013 05:21 PM |
See its possible.. Back to the script.. I'm not good with loops... What would be the correct answer for the " for i = 1, .5 do " loop? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 09 Jan 2013 06:23 PM |
Ooops, for i = 1, .5 do --stuff end |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 06:29 PM |
"Ooops, for i = 1, .5 do --stuff end"
Errors. You'd have to put this:
for i = 1, .5,-.1 do --stuff end
And replace .1 with whatever increment you want. |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Jan 2013 06:55 PM |
| I have been trying to do this myself, to no avail. |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 07:02 PM |
| Ask blobby... He got it done. |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2013 07:23 PM |
| I hope the mods actually implement a Local Lighting so that there's no need to hack one. Crazy, keep asking them, you're someone they'll actually listen to. |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Jan 2013 09:28 PM |
| People confuse the definition of a 'hack.' Technically any computer code is hacking, since hacking is technically manipulating a computer to do what you want by some sort of logical technique. |
|
|
| Report Abuse |
|
|
| |
|