![]() |
Lantern power change - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Lantern power change (/thread-8227.html) |
RE: Lantern power change - Tanshaydar - 05-26-2011 You can import glowstick, that's not impossible since you can use same animations with lantern. However, if you put two pickable item as lantern and glowstick, they will activate same handobject eventually, because there is only one lantern.ho file associated with game. RE: Lantern power change - DannieWest - 05-26-2011 Ooh, darn, I c ;o But oh well, suppose we'll call this one a dead end one maybe? :o RE: Lantern power change - Tanshaydar - 05-26-2011 My knowledge ends here. Maybe someone knows better. RE: Lantern power change - DannieWest - 05-26-2011 I shall salute thy anyways for a splendid effort! -raises hand to forehead- RE: Lantern power change - Apjjm - 05-26-2011 You can access "Player" as an entity through scripting - is there some way to do the same with the lantern? You may be able to find a work around if this is the case (You can certainly change the brightness in this case, making the model appear to change would be the challenge). RE: Lantern power change - Tanshaydar - 05-27-2011 void SetLanternActive(bool abX, bool abUseEffects); bool GetLanternActive(); void SetLanternDisabled(bool abX); void SetLanternLitCallback(string& asCallback); Only ones are these. None of these could serve the purpose. RE: Lantern power change - DannieWest - 05-27-2011 Just a small question, how do I remove the message on a door when it's unlocked? :o RE: Lantern power change - Apjjm - 05-27-2011 (05-27-2011, 06:54 AM)Tanshaydar Wrote: void SetLanternActive(bool abX, bool abUseEffects); I was thinking of something along the lines of this: Code: void SetEntityLightVisible(string entity, string light, bool visible) RE: Lantern power change - jens - 05-27-2011 I am not sure about the lantern as it is a bit special, but normally you can change stuff like lights in entities by NameOfEntity_NameOfBodyWithLightAttached_NameOfLight if that was not what you already tried to do. RE: Lantern power change - Tanshaydar - 05-27-2011 Wow. That was incredible. I think there is a lot we need to know about HPL2 ![]() |