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
Script Help How to make sledgehammer break door?
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#6
RE: How to make sledgehammer break door?

Making a collidecallback would not be the best option in my opinion since the player can just hold the sledgehammer against the door and break it.

If you want to go a bit more advanced, you can make the sledgehammer into an item in the inventory, aswell as one with a joint. Use the joint one with the SetMoveObjectState script to make it look like the player is bashing the door when used on the door, and of course, add some sounds, particle systems and change the prop health gradually upon each swing.

Creator of The Dark Treasure.
04-17-2013, 09:26 AM
Website Find


Messages In This Thread
RE: How to make sledgehammer break door? - by Linus Ågren - 04-17-2013, 09:26 AM



Users browsing this thread: 1 Guest(s)