Frictional Games Forum (read-only)
Custom lamp - 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: Custom lamp (/thread-21782.html)



Custom lamp - OriginalUsername - 06-10-2013

Hey,

I'm creating a custom model for a CS. I wanted to make it a lamp so the player can lit the entity, but I didn't add any billboards or lights. When I go in-game, I can't lit the 'lamp'. I copied everything from another lamp in the model editor, so it can't be that.
Did I miss something?


RE: Custom lamp - JonnyAnomaly - 06-10-2013

Did you make sure to set it to a lamp entity in the user variables in the model editor?


RE: Custom lamp - OriginalUsername - 06-10-2013

(06-10-2013, 08:03 AM)JonnyAnomaly Wrote: Did you make sure to set it to a lamp entity in the user variables in the model editor?

Of course, I'm not that stupid Tongue


RE: Custom lamp - PutraenusAlivius - 06-10-2013

Make sure the "CanBeLitByPlayer" option is ticked.


RE: Custom lamp - OriginalUsername - 06-10-2013

(06-10-2013, 09:01 AM)JustAnotherPlayer Wrote: Make sure the "CanBeLitByPlayer" option is ticked.

It is.

Does it need to have a light and a billboard?


RE: Custom lamp - Fatalist - 06-10-2013

Lets try this:
Open "View --> Outline", select main body of the lamp (for example, Body_1), click "Edit attachments" and select everything. Click "Ok".

(06-10-2013, 09:30 AM)Smoke Wrote: Does it need to have a light and a billboard?
Yes, add any pointlight or spotlight.


RE: Custom lamp - OriginalUsername - 06-10-2013

(06-10-2013, 09:37 AM)Fatalist Wrote: Lets try this:
Open "View --> Outline", select main body of the lamp (for example, Body_1), click "Edit attachments" and select everything. Click "Ok".

(06-10-2013, 09:30 AM)Smoke Wrote: Does it need to have a light and a billboard?
Yes, add any pointlight or spotlight.

Worked! Thanks!