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
Getting picture to stay on the wall
stokesie95 Offline
Member

Posts: 87
Threads: 29
Joined: Nov 2011
Reputation: 4
#1
Getting picture to stay on the wall

i am wanting to put a
picture on a secret wall hiding the hole, but every time i test the map it falls off, I've put it as close to the wall i can without it falling off

Looking for scripting work
01-19-2013, 04:22 PM
Find
Hardarm Offline
Posting Freak

Posts: 891
Threads: 39
Joined: Apr 2011
Reputation: 43
#2
RE: Getting picture to stay on the wall

(01-19-2013, 04:22 PM)stokesie95 Wrote: i am wanting to put a
picture on a secret wall hiding the hole, but every time i test the map it falls off, I've put it as close to the wall i can without it falling off

What's the name of the picture you're using?
if it's painting03_dynamic then you should choose the "painting03" one.

listen to boards of canada
01-19-2013, 04:48 PM
Website Find
Streetboat Offline
Posting Freak

Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation: 56
#3
RE: Getting picture to stay on the wall

Go to the second tab of the entity settings and select 'static physics'. Then, when you want that painting to come off the wall, use the SetPropStaticPhysics function in your .hpl file. If you want the painting to come off when you touch it, create a script area roughly the size of the painting and have it be interactable with a function in the .hpl that uses the SetPropStaticPhysics line mentioned above.

[Image: signature-2.png]
01-19-2013, 05:13 PM
Find
Hardarm Offline
Posting Freak

Posts: 891
Threads: 39
Joined: Apr 2011
Reputation: 43
#4
RE: Getting picture to stay on the wall

Just... do what he said Blush

listen to boards of canada
01-19-2013, 06:59 PM
Website Find




Users browsing this thread: 1 Guest(s)