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
Probably the easiest thing, but I can't do it.
TenmillionDead Offline
Junior Member

Posts: 1
Threads: 1
Joined: Dec 2010
Reputation: 0
#1
Probably the easiest thing, but I can't do it.

Ok, I need to know how to change the force for moving doors automatically. I want to make a door slam when the player gets near it. I can do the basic door open, just by copying the code form the "rainy halls" level from the game when the gallery door opens, but I don't know how to change it. Basically, how do I make it slam.

Sorry for the waste of time,

-TenmillionDead
(This post was last modified: 12-25-2010, 12:36 AM by TenmillionDead.)
12-25-2010, 12:35 AM
Find
Endrek03 Offline
Junior Member

Posts: 8
Threads: 3
Joined: Dec 2010
Reputation: 0
#2
RE: Probably the easiest thing, but I can't do it.

(12-25-2010, 12:35 AM)TenmillionDead Wrote: Ok, I need to know how to change the force for moving doors automatically. I want to make a door slam when the player gets near it. I can do the basic door open, just by copying the code form the "rainy halls" level from the game when the gallery door opens, but I don't know how to change it. Basically, how do I make it slam.

Sorry for the waste of time,

-TenmillionDead

No reason to beat yourself up or put yourself down. Tongue
I was new myself here a few weeks ago, and while I refrained from asking questions simply to learn on my own, I finally had to bite the bullet when the code just wasn't speaking my language. Everyone here has been great and understanding. Smile
That being said --
http://www.frictionalgames.com/forum/thr...dPropForce
Try that thread. Most of learning the HPL2 code is by trial and error and understanding why things are doing the things they are. You seemed to have had the right idea by checking out the actual code. Smile
Good luck!
12-25-2010, 12:44 AM
Find




Users browsing this thread: 1 Guest(s)