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
Solved Static "light_box.ent" isn't showing Mesh!
Author Message
Statyk Offline
Modmau5

Posts: 3,634
Joined: Sep 2011
Reputation: 200
Post: #1
Static "light_box.ent" isn't showing Mesh!
So I'm making a little trick where the lightbox is not allowed to be lit until you open a door with a key, then the script activates the REAL light_box.ent and you may light it then (since it is a "Lamp" entity, it can be lit from anywhere and that avoided the puzzle. I want it to only be able to be lit once the door is open. My solution? make a copy of the entity in the model editor but save it as a static_prop, then have it active, while the "lamp" one is inactive. once the door is opened, the static_prop deactivates and the "lamp" lightbox is activated so you may light it. but before the door is unlocked, the lightbox mesh doesn't show up. The billboards in front of it do though! but I don't need the billboards. I need just the mesh of the lightbox itself. I posted some screenshots.

(This post was last modified: 11-02-2011 02:46 AM by Statyk.)
10-28-2011 12:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,186
Joined: Mar 2011
Reputation: 56
Post: #2
RE: Static "light_box.ent" isn't showing Mesh!
Use script: SetEntityInteractionDisabled("light_box_1", true); to disable the interaction. Use boolean false to re-enable it.

10-28-2011 12:36 AM
Find all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,634
Joined: Sep 2011
Reputation: 200
Post: #3
RE: Static "light_box.ent" isn't showing Mesh!
(10-28-2011 12:36 AM)palistov Wrote:  Use script: SetEntityInteractionDisabled("light_box_1", true); to disable the interaction. Use boolean false to re-enable it.
JESUS CHRIST!! I'VE BEEN AT THIS FOR LIKE... 4 HOURS AND IT'S "WEIGSOHGTHHHHHAAAAATTTTTT" SIMPLE! GAH. hahahaa!!! thank you for the help dude, much more space saving and simpler... god damnit.

10-28-2011 12:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,186
Joined: Mar 2011
Reputation: 56
Post: #4
RE: Static "light_box.ent" isn't showing Mesh!
Haha no problem Tongue I've spent my own share of wasted hours on simple problems as well. Smile

(This post was last modified: 10-28-2011 01:26 AM by palistov.)
10-28-2011 01:26 AM
Find all posts by this user Quote this message in a reply
Post Reply 




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