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
Learning the ropes: literally
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#3
RE: Learning the ropes: literally

Thought I'd just add:
I've been playing around with ropes recently and I've found out a few things.
- First off, setting the string's tension (I've forgot the parameter name - it's default value is 4) too high, the game will crash. I set the value to 100 and I got a blackbox error.
Setting Automove to true will instantly drop the rope to it's maxlength on start, even if the end entity is held at it's minimum length. If you don't want the rope to extend instantly, you will have to script it (look at bottom point)
- You can attach bodies to the rope by suffixing with the body name, ie: "cabinet_leftDoor".
- For some objects, physics will seem very strange when attached to a rope. You will have to make a joint between the main physics body and the point where the rope connects to fix it.
- Finally, there is a function called InteractConnectPropWithRope("","","", , , , , , , );
This behaves like InteractConnectPropWithMoveObject, except it has more parameters (some of which I don't understand, like alUsedStates or abInteractOnly
You can connect the rope directly to a wheel so spinning the wheel raise/lowers the rope, or you can connect the wheel to a door aswell (offscreen), so raise/lowering the door with script will spin the wheel, whiich raise/lowers the rope.
There is no other way to change the height of rope with script. I believe FG did it this way in Justine. Smile


(This post was last modified: 04-13-2012, 12:39 PM by DRedshot.)
04-13-2012, 12:30 PM
Find


Messages In This Thread
Learning the ropes: literally - by R. Peters - 04-12-2012, 07:35 AM
RE: Learning the ropes: literally - by DRedshot - 04-12-2012, 04:58 PM
RE: Learning the ropes: literally - by DRedshot - 04-13-2012, 12:30 PM
RE: Learning the ropes: literally - by Putmalk - 04-13-2012, 04:54 PM
RE: Learning the ropes: literally - by R. Peters - 04-13-2012, 07:32 PM
RE: Learning the ropes: literally - by Putmalk - 04-13-2012, 07:47 PM
RE: Learning the ropes: literally - by R. Peters - 04-15-2012, 12:47 PM
RE: Learning the ropes: literally - by DRedshot - 04-13-2012, 10:04 PM
RE: Learning the ropes: literally - by nemesis567 - 04-13-2012, 10:38 PM



Users browsing this thread: 1 Guest(s)