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


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

Posts: 8
Joined: Apr 2011
Reputation: 0
Post: #1
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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 67
Post: #2
RE: A secret passage

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

04-30-2011 12:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 911
Joined: Sep 2010
Reputation: 7
Post: #3
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 all posts by this user Quote this message in a reply
Post Reply 




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