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
Static "light_box.ent" isn't showing Mesh!
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#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
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#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
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#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
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#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




Users browsing this thread: 1 Guest(s)