Frictional Games Forum (read-only)
Recreate AMFP Lamps - 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: Recreate AMFP Lamps (/thread-24344.html)



Recreate AMFP Lamps - RaideX - 01-10-2014

Hei thea.

Another quick and simple (i hope) question.


I'm probably missing something really big here but how would one recreate the amfp lamps that are placed around the mansion and other parts of the game (gas_lamp_desk_small_1 for the ones that are interested).

Somehow the game still recognizes it as a "lit-able" thing. So it requires tinderboxes and isn't extinguishable. I'd like it to work as in amfp.

Could it be some model argument i'm missing?


RE: Recreate AMFP Lamps - PutraenusAlivius - 01-11-2014

AAMFP doesn't have tinderboxes right? So if it's a lit lamp that argument would be invalid in AAMFP.

You can, however, make the lamps to be unlit-able by opening the model in the ModelEditor, go to the ObjectVariables(or something like that) and make un-tick Lit-able(or somewhere along those lines).


RE: Recreate AMFP Lamps - str4wberrypanic - 01-11-2014

You can use SetEntityInteractionDisabled also, so the player won't be able to lit the lamp. I had this same problem and that's how i solved it.


RE: Recreate AMFP Lamps - RaideX - 01-11-2014

Yeh i know of that Smile

But the real actual question is how to do it like it is in amfp. That means:

Turning lamps on/off without tinderboxes and without the tinderbox count when hovering over the lamp. Not sure if it is actually possible without setting up interaction callbacks for all the lamps.


RE: Recreate AMFP Lamps - DnALANGE - 01-12-2014

I've fixed this issue, REALLY easy!
Do this :
Go to the modeleditor -> Look for your lamp -> Open it -> Settings -> User defined variables -> Make the lamp be a BUTTON.
There you go Wink
Smarty smart lange Wink
---
Be sure to NOT overwrite the Original lamp.
AND be sure to save the lamp into YOUR STORY!
Bet, almost everyone knows this, just tell this for people who are new to this.


RE: Recreate AMFP Lamps - RaideX - 01-12-2014

(01-12-2014, 05:01 PM)DnALANGE Wrote: I've fixed this issue, REALLY easy!
Do this :
Go to the modeleditor -> Look for your lamp -> Open it -> Settings -> User defined variables -> Make the lamp be a BUTTON.
There you go Wink
Smarty smart lange Wink
---
Be sure to NOT overwrite the Original lamp.
AND be sure to save the lamp into YOUR STORY!
Bet, almost everyone knows this, just tell this for people who are new to this.

^ This. Thanks, helped me out a ton.