Jump to content
Sign in to follow this  
JacobJ

Rope script (not finished)

Recommended Posts

Hey there

I was looking for a rope script that could make a rope on a chopper come down. When the rope is down, a soldier would then go to the rope and with the addaction on the rope, attach himself to the rope. Then the chopper could fly away and put him down somewhere safe. I tried making a script like that, and with some more realistic rope, that would fly as in real like, dragging a bit after the choppers position, when the chopper flys forward.

It works to some extend, but the hard part is the deacceleration. In real life the rope/the soldier attached to it comes forward when the chopper slows down somehow fast, but I don't know how to make this happen.

If you guys have some ideas to this, please share.

Here is the script:

_dirheliDeg = getDir helikop;
_dirheli3 = rad _dirheliDeg;
_dirheli = cos _dirheli3;

while {true} do {
_helispeed = speed helikop;
pole setvectordirandup [[_dirheli,-280,_helispeed],[0,0,1]];
sleep 0.1;
};

/Jacob

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×