Frictional Games Forum (read-only)
[LVL ED] BoxLights - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LVL ED] BoxLights (/thread-22088.html)



BoxLights - The chaser - 07-10-2013

Hello there, forum!

I have ran into a problem with a gigantic outdoor map of mine. The problem isn't the map itself, is the BoxLight. It doesn't cause any graphical error, however:

It's nighttime, but I don't want the player to lose sanity. If I make the boxlight bright enough to make the player not to lose sanity, the map looks a bit bad.

I don't want to make a FC, but I'd like this problem to be solved. Any suggestions?


RE: BoxLights - 7heDubz - 07-10-2013

I am 100% there is a better way to do it but off the top of my head


void OnStart()
{
AddTimer("sanity", 1f, "timer");
SetLightVisible("PointLight_3", false);
}

void sanity(string &in asTimer)
{
GiveSanityBoost();
AddTimer("sanity", 1f, "timer");
}


RE: BoxLights - Statyk - 07-10-2013

Or, you know:

void OnStart()
{
SetSanityDrainDisabled(true);
}


RE: BoxLights - FlawlessHappiness - 07-11-2013

Or make it a full conversion and make the darkness that affects the player go down to 0.0

This also gets rid of the weird instant nightvision

I know you don't want to, but it's not that hard to make it an FC


RE: BoxLights - Statyk - 07-11-2013

:I


RE: BoxLights - The chaser - 07-11-2013

(07-11-2013, 01:13 AM)BeeKayK Wrote: Or make it a full conversion and make the darkness that affects the player go down to 0.0

This also gets rid of the weird instant nightvision

I know you don't want to, but it's not that hard to make it an FC

The reason I'm not making it a FC is because it's not that necessary. And, I wouldn't make it a FC simply to have a level look cool, I'll just search a workaround.

Many thanks to everyone for the answers :P
Especially Statyk, that was the solution I was searching :)