![]() |
How To Make Invisible Decals? - 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 Make Invisible Decals? (/thread-13397.html) Pages:
1
2
|
RE: How To Make Invisible Decals? - Your Computer - 02-18-2012 (02-18-2012, 03:43 AM)Thegood Wrote: Is it possible to use billboards and have those activate/deactivate? Billboards behave differently than decals, but you cannot deactivate billboards as you would an entity, you can only turn off the light they're connected to. RE: How To Make Invisible Decals? - Thegood - 02-18-2012 so if you made it so the light went from full brightness to full darkness, the billboard would appear and then disappear? RE: How To Make Invisible Decals? - Your Computer - 02-18-2012 (02-18-2012, 03:48 AM)Thegood Wrote: so if you made it so the light went from full brightness to full darkness, the billboard would appear and then disappear? Yeah, though you can also use SetLightVisible. RE: How To Make Invisible Decals? - Thegood - 02-18-2012 Alright thanks, ill see how well that works out. RE: How To Make Invisible Decals? - Thegood - 02-18-2012 Rgh... Can I get help on coding this, or atleast a link to a tutorial? the name of the billboards are "Billboard1"-"Billboard4", and the light is "BillboardLight1". RE: How To Make Invisible Decals? - Statyk - 02-18-2012 Go into the note in the level editor and go to the Entity tab and fill in the PlayerInteractCallback with "NDfunc" (NoteDecalFunction in my eyes). Then, anywhere in the script besides OnStart, OnLeave, or OnEnter, put this: void NDfunc(string &in asEntity) { SetLightVisible("BillboardLight1", true); } RE: How To Make Invisible Decals? - Thegood - 02-18-2012 It didn't work, should i set the billboards/light to a specific setting for this to work? Nevermind lol. I forgot to put the "SetLightVisible("BillboardLight1", false);" in the void OnStart XD thanks for the help. |