Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Make Invisible Decals?
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#11
RE: How To Make Invisible Decals?

(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.

Tutorials: From Noob to Pro
02-18-2012, 03:47 AM
Website Find
Thegood Offline
Junior Member

Posts: 20
Threads: 6
Joined: Feb 2012
Reputation: 0
#12
RE: How To Make Invisible Decals?

so if you made it so the light went from full brightness to full darkness, the billboard would appear and then disappear?
02-18-2012, 03:48 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#13
RE: How To Make Invisible Decals?

(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.

Tutorials: From Noob to Pro
02-18-2012, 04:14 AM
Website Find
Thegood Offline
Junior Member

Posts: 20
Threads: 6
Joined: Feb 2012
Reputation: 0
#14
RE: How To Make Invisible Decals?

Alright thanks, ill see how well that works out.
02-18-2012, 04:16 AM
Find
Thegood Offline
Junior Member

Posts: 20
Threads: 6
Joined: Feb 2012
Reputation: 0
#15
RE: How To Make Invisible Decals?

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".
02-18-2012, 06:59 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#16
RE: How To Make Invisible Decals?

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);
}
02-18-2012, 07:41 AM
Find
Thegood Offline
Junior Member

Posts: 20
Threads: 6
Joined: Feb 2012
Reputation: 0
#17
RE: How To Make Invisible Decals?

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.
(This post was last modified: 02-18-2012, 08:50 AM by Thegood.)
02-18-2012, 07:57 AM
Find




Users browsing this thread: 1 Guest(s)