How to put a de/activable picture in-game ? - 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: How to put a de/activable picture in-game ? (/thread-27261.html) |
How to put a de/activable picture in-game ? - narutohokager - 11-15-2014 Hello ! I created a little "creepy-face" and i want to put it in-game and have the possibility to disable or enable this "creepy-face". Already tested the "decal method" but i can't deactivate it Thanks in advance if you can help me ! RE: How to put a de/activable picture in-game ? - FlawlessHappiness - 11-15-2014 Create a custom lamp. Make the mesh invisble. Apply the picture as a billboard. ???????????????? Profit ^.^ RE: How to put a de/activable picture in-game ? - 7heDubz - 11-16-2014 make it into an entity? RE: How to put a de/activable picture in-game ? - Daemian - 11-16-2014 -Put your image with a billboard. -Attach it to a small point light named rabbit. -turn on/off rabbit whenever you want to show/hide your billboard. -???. -profit. RE: How to put a de/activable picture in-game ? - DnALANGE - 11-16-2014 (11-16-2014, 02:52 AM)Daemian Wrote: -Put your image with a billboard. Then you should also say HOW to deactivate is My sexy friend! This is the function to DISABLE the Billboard and aso the light AND picture! PHP Code: SetLightVisible("YOURLIGHTFROMEDITORHERE", false); RE: How to put a de/activable picture in-game ? - narutohokager - 11-16-2014 Thanks for answering everyone ! Going to test Daemian first : - So i create a billboard in the Level Editor and i choose my picture in "Material File" ? - How do i attach the point light to the billboard ? CTRL + J ? Oh okay i managed to attach it to the lamp and it's working ! But my picture is like "transparent"... Some way to fix this ? :/ RE: How to put a de/activable picture in-game ? - Daemian - 11-16-2014 I think in the LE you can't see it when it's attached to a light. But in-game it's visible. You gotta set the light off at OnStart() with SetLightVisible. Then you turn it on/off whenever you want. RE: How to put a de/activable picture in-game ? - narutohokager - 11-19-2014 Oh okay ! 'going to test it ! |