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

Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A secret passage
vansd Offline
Junior Member

Posts: 8
Threads: 4
Joined: Apr 2011
Reputation: 0
A secret passage

Can you tell me how make a breakable wall with a secret passage in the details? Which script areas I need? What I have to write in HPS file? Help me please!
(This post was last modified: 04-30-2011, 12:09 PM by vansd.)
04-30-2011, 12:08 PM
Find Reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
RE: A secret passage

You can always open the official maps and see there how it's done.

04-30-2011, 12:36 PM
Website Find Reply
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
RE: A secret passage

I completely understand how it works, I could do it, but it would take around a hour to do so.
The script would include a wall that is empty and then being filled up with entities like bricks for example, and then you would go to each one's tab and check the box that says static physics. Then when the player uses some tool or something to bash the wall down, you could set all of the objects with physics again by using this script line: SetPropPhysics(string& asName, bool abX);

(This post was last modified: 04-30-2011, 01:01 PM by Kyle.)
04-30-2011, 12:57 PM
Find Reply

Users browsing this thread: 1 Guest(s)