Frictional Games Forum (read-only)
ROPE question, Very difficult!!! - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: ROPE question, Very difficult!!! (/thread-21568.html)



ROPE question, Very difficult!!! - DnALANGE - 05-21-2013

I have a question for a friend of mine here on Frictional Games Forum.
I have made a VERY long rope and it looks good in the game..
SO that works fine..
I have a wooden box attached at the end of the rope.
If i toutch or throw the box it stay attached as i want it, so also good!
-
PROBLEM IS :
I also have a crank on the other site of the rope..
You can understand i think.... NOTHNG HAPPENS....

The rope is TIGHT\STRONG NOW, but must get looser to get the wooden box lower so i can use it like knee hight.
-
Could someone please help me!

as i think in the editor is everything fine.. here is my script:

InteractConnectPropWithRope("crankwithRope","crank_iron_26", "RopeArea_1", false, 1,1,1, false, 0);

and YES, i've watched some on youtube and the forums here, nothing realluy special what could help me..

This is another script from youtube maybe this would help me better?

void OnEnter()
{
for(int i=1; i<=10;i++)
{
InteractConnectPropWithRope("crankwithRope_"+i,"crank_iron_26", "RopeArea_"+i, false, 1,1,1, false, 0);
}
}

Btw what is the first one { crankwithrope }
-
Thank you if you help me out here!
Lange


RE: ROPE question, Very difficult!!! - Kullin - 05-21-2013

Try to post it in Deveolpment Support and you might get help easier.

But i think: for(int i=1; i<=7;i++) <--- that should to it, but im a noob with ropes so...


RE: ROPE question, Very difficult!!! - DnALANGE - 05-21-2013

(05-21-2013, 08:27 PM)Kullin Wrote: Try to post it in Deveolpment Support and you might get help easier.

But i think: for(int i=1; i<=7;i++) <--- that should to it, but im a noob with ropes so...

Why the 7?
Could you explane a bit more of this script?


RE: ROPE question, Very difficult!!! - OriginalUsername - 05-21-2013

(05-21-2013, 09:05 PM)dnalange Wrote:
(05-21-2013, 08:27 PM)Kullin Wrote: Try to post it in Deveolpment Support and you might get help easier.

But i think: for(int i=1; i<=7;i++) <--- that should to it, but im a noob with ropes so...

Why the 7?
Could you explane a bit more of this script?

It means: I'll loop from 1 until I hit 7. I++ means it keeps adding 1 until it hits 7.


RE: ROPE question, Very difficult!!! - DnALANGE - 05-21-2013

(05-21-2013, 09:13 PM)Smoke Wrote:
(05-21-2013, 09:05 PM)dnalange Wrote:
(05-21-2013, 08:27 PM)Kullin Wrote: Try to post it in Deveolpment Support and you might get help easier.

But i think: for(int i=1; i<=7;i++) <--- that should to it, but im a noob with ropes so...

Why the 7?
Could you explane a bit more of this script?

It means: I'll loop from 1 until I hit 7. I++ means it keeps adding 1 until it hits 7.

Wele..
Smoke,
You may help me better IF you want to help me in skype?
It is a bit annyoing in here..
THEN i need to make several screenshots and couple of scriptfunctions..
Would you like to add me and after we fixed it you can remove me anyways.
Also a bit faster, so i can show you what i intend to do on screen.
redmaster12345 is my skypename, Thank you.


RE: ROPE question, Very difficult!!! - OriginalUsername - 05-21-2013

I don't know anything about ropes.. If I did, I would've helped you with that


RE: ROPE question, Very difficult!!! - PutraenusAlivius - 05-22-2013

Your friend did it wrong. At the end of the Pos Node, add a thin but long block box. You have to "attach" the box to the block box. At the Rope Area, go to EndBody and wrote the name of the block box.


RE: ROPE question, Very difficult!!! - DnALANGE - 05-22-2013

(05-22-2013, 01:23 AM)JustAnotherPlayer Wrote: Your friend did it wrong. At the end of the Pos Node, add a thin but long block box. You have to "attach" the box to the block box. At the Rope Area, go to EndBody and wrote the name of the block box.

Not totally true here..
Tomorrow i will try to make a small movie\ pictures for the rest who ever wanted to try some stuff with the rope.
HARDER then causal scriptings\mapping..
but, if you know what to do, great fun!

Back tomorrow.


RE: ROPE question, Very difficult!!! - The chaser - 05-22-2013

This might help you, dnalange:

http://www.frictionalgames.com/forum/thread-18804.html

I'd like to have more information or we are going to a dead end, like:

-How much cranks you have there
-The complete script

Trust me, I know how to work with ropes Wink


RE: ROPE question, Very difficult!!! - DnALANGE - 05-22-2013

(05-22-2013, 02:10 PM)The chaser Wrote: This might help you, dnalange:

http://www.frictionalgames.com/forum/thread-18804.html

I'd like to have more information or we are going to a dead end, like:

-How much cranks you have there
-The complete script

Trust me, I know how to work with ropes Wink

I have made it to work.
So if anybody is interested in how "long" ropes + Several pulley's + a crank works, be free to ask me or anyone here on the forum.

It was quite a pain in the ass to get this to work.
-
If anyone ever have [problems or questions how to get it to work.
be free to ask me or offcourse more advanced moderators\players on the forum.
-

What i can help you with is what i've done and that;s this :

10 pully's
12 Posnodes
12 Ropearea's
13 long ropes }first tight -> after using the crank,ropes will be untight and hanging.
1 crank
1 box attached to the rope

NO BLOCKBOXES NEEDED-
So, my thing what i've build is this:

I made a very long rope that holds a box on one side and a crank on the other side.
The box is hanging high on the ceiling and when you turn the crank the box will lower down around the players waist.
-
Then there is another script that will be activate IF the box toutches the scriptarea "if the box is lowered" { the player must grab the box itself and throw the box to the area -> wooden plates to brake them }
then the player can continue his path AND then the biox will go up the ceiling by itself\another script..
-
For more information be free to ask.