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
Padlocks
assassinhawk45 Offline
Junior Member

Posts: 31
Threads: 11
Joined: Dec 2012
Reputation: 0
#1
Padlocks

I am wondering how to put a padlock on a door, and they break it with a hammer. Is it a script or something else?

The Necromancer's Touch: WIP Coming March 2013
01-22-2013, 11:13 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Padlocks

That's a script yes.

You create a callback for the hammer on the padlock (AddUseItemCallback)
And then in the function you set the padlock inactive, maybe plays some sounds.

Trying is the first step to success.
01-23-2013, 07:23 AM
Find
taylor23 Offline
Junior Member

Posts: 3
Threads: 0
Joined: Jan 2013
Reputation: 0
#3
RE: Padlocks

For puting the padlock on a door, you need to keep in position the small part of the hasp on the mounting holes.Than inserting the screws in the mounting holes and drive them into the door frame. Against the door face hold the large part of the hasp for padlock insertion.


Shop Shutter
(This post was last modified: 01-28-2013, 05:45 AM by taylor23.)
01-23-2013, 08:11 AM
Find




Users browsing this thread: 1 Guest(s)