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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what the script Doorslam but reverse
Author Message
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#11
RE: what the script Doorslam but reverse

AddPropImpulse("doorlsam_1", 21.5, 0, -2.75, "");
Cuz X is 21.5 and y 0 and z is -2.75

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
12-27-2011, 04:32 PM
Website Find Reply
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#12
RE: what the script Doorslam but reverse

(12-27-2011, 04:32 PM)jessehmusic Wrote: AddPropImpulse("doorlsam_1", 21.5, 0, -2.75, "");
Cuz X is 21.5 and y 0 and z is -2.75
No, don't put the co-ordinates of the door in. Put the desired force in the the floats.

12-27-2011, 04:35 PM
Find Reply
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#13
RE: what the script Doorslam but reverse

the cords of the area then or do i have wrong this is so hard :S

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
12-27-2011, 04:37 PM
Website Find Reply
Linus Ă…gren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#14
RE: what the script Doorslam but reverse

You're not supposed to use the values from the position of the object. Test with different values to give the door the force you want it to. I tend to use values like 10.0f.

Creator of The Dark Treasure.
12-27-2011, 04:38 PM
Website Find Reply




Users browsing this thread: 1 Guest(s)