Lighting-related block variables
#7
I think the default value of the m_SpreadLightFalloff should still be 15 but the minimum should be reduced to 0 instead of 1. I know by know that m_Transparent also means, that grass can grow beneath the block that has the m_Transparent set to true so we can't just delete m_Transparent and just use m_SpreadLightFalloff. But in my opinion the server should handle the same Lightning-System as the vanilla one because of some issues like the one that LO1ZB explained. So my suggestion is: list everything that has the m_Transparent bool set to true in m_SpreadLightFalloff too with a value of 0 (not the water and lava, of course) and add the missing ones too...

[edit:] I Noticed that blocks like the mushroom is only listed in the m_Transparent list... Does that mean that everything that is listed in the Transparent list automatically has a m_SpreadLightFalloff of 0/1 or does the light don't get through the mushroom because the default SpreadLightFalloff is 15?
Reply
Thanks given by:


Messages In This Thread
RE: Lighting-related block variables - by xoft - 07-14-2014, 11:57 PM
RE: Lighting-related block variables - by xoft - 07-15-2014, 05:53 AM
RE: Lighting-related block variables - by tigerw - 07-16-2014, 01:09 AM
RE: Lighting-related block variables - by xoft - 07-16-2014, 04:19 AM
RE: Lighting-related block variables - by tigerw - 07-16-2014, 06:14 AM
RE: What we're doing - by LO1ZB - 07-14-2014, 09:17 PM
RE: What we're doing - by worktycho - 07-14-2014, 09:22 PM
RE: What we're doing - by AntherusCraft - 07-14-2014, 09:50 PM
RE: What we're doing - by worktycho - 07-14-2014, 09:52 PM
RE: What we're doing - by LO1ZB - 07-14-2014, 10:09 PM
RE: What we're doing - by AntherusCraft - 07-14-2014, 10:19 PM
RE: What we're doing - by xoft - 07-14-2014, 11:41 PM



Users browsing this thread: 3 Guest(s)