Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enabling decals with script
Author Message
Homicide13 Offline
Senior Member

Posts: 323
Joined: Nov 2010
Reputation: 14
Post: #1
Enabling decals with script
Is there any way to enable/disable decals with script, so that you can make them appear/disappear during the level? I want to make a trail of blood that appears, but I can't for the life of me figure out how to do that. Sad

08-14-2011 11:41 PM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #2
RE: Enabling decals with script
Go to "Entities", then "decals", and then use one of those decals which can be used to be set active or inactive. They only show up when they're located on a surface, so they can't hover in the middle of the editor. Tongue

You'll also have to keep the decals a tiny bit off the ground so they aren't ontop of each other, which causes the texture of the blood decal to flash. I don't think you'll be able to use any of the other decals to be set active or not though. :/

08-14-2011 11:49 PM
Find all posts by this user Quote this message in a reply
Homicide13 Offline
Senior Member

Posts: 323
Joined: Nov 2010
Reputation: 14
Post: #3
RE: Enabling decals with script
There aren't really any good blood trail decals though... t__t

08-15-2011 01:36 AM
Find all posts by this user Quote this message in a reply
Homicide13 Offline
Senior Member

Posts: 323
Joined: Nov 2010
Reputation: 14
Post: #4
RE: Enabling decals with script
Hmm... sorry for the double post but, how would I go about making new custom decals (or at lest re-skinning the current decals)? I can't seem to figure it out...

08-15-2011 04:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)