M1ke_SK 230 Posted July 22, 2016 Hi, I am trying to attach balloon to player with rope. And balloon go up to certain height and it stay there until it pops when shoot it. balloon class Land_Balloon_01_air_F Code balloon enableRopeAttach true; myRope = ropeCreate [player, "RightHand", balloon, [0,0,0], 10]; for [{_x = 0}, {_x <= 10}, {_x = _x + 0.5}] do { _pos = getPos balloon; balloon setPos [_pos select 0, _pos select 1, _x]; sleep 1; }; Share this post Link to post Share on other sites
haleks 8212 Posted July 22, 2016 What are you asking exactly? How to make the balloon go up? Sounds like a remake of MGSV fulton extracts by the way! Share this post Link to post Share on other sites
M1ke_SK 230 Posted July 22, 2016 Yes, I want to ballon go up from ground. Attach ballon to players right hand with rope and balloon go up. Share this post Link to post Share on other sites
kylania 568 Posted July 22, 2016 Might want to look at this for some ideas. 1 Share this post Link to post Share on other sites
theend3r 83 Posted July 22, 2016 Your code won't work since the for loop will run its course and then stop. I never tried attaching ropes to object but let's assume it works as expected. Then you'd need to run something like: _alt = 10; while (alive balloon) do { _h = (getPos balloon) select 2; _adjust = (_alt - _h) / 10; balloon setVelocity ((velocity balloon) vectorAdd [0,0,_adjust]); sleep 0.1; }; (idea borrowed from Tajin from https://forums.bistudio.com/topic/192817-precise-chopper-flyinheight-at-low-altitudes/) Share this post Link to post Share on other sites
lexx 1391 Posted July 22, 2016 So you want to create a fulton extraction? :p Share this post Link to post Share on other sites
theend3r 83 Posted July 22, 2016 So you want to create a fulton extraction? :P Looking at his post and the code he posted, no he doesn't. Share this post Link to post Share on other sites
duda123 1341 Posted August 30, 2016 Thanks for the model name - was looking for a ballon! Btw - I'm going to attempt the Fulton extract. It's going to be awesome :) Follow development here (in addition to SPIE): https://forums.bistudio.com/topic/193784-spie-addon/ Share this post Link to post Share on other sites
Tajin 349 Posted August 31, 2016 If you want to attach a player to a rope you have to attach the player to something else first (small physic enabled object that can then be made invisible) and attach that to the rope instead. Attaching the player directly won't work. Share this post Link to post Share on other sites
M1ke_SK 230 Posted August 31, 2016 If you want to attach a player to a rope you have to attach the player to something else first (small physic enabled object that can then be made invisible) and attach that to the rope instead. Attaching the player directly won't work. But I make it attachable balloon enableRopeAttach true; Share this post Link to post Share on other sites
Tajin 349 Posted August 31, 2016 Well, there is a difference between attaching a balloon to the player and attaching the player to a balloon. Simply put: If you want to use a rope to actually move the player around then you need the workaround I mentioned. Share this post Link to post Share on other sites
M1ke_SK 230 Posted September 3, 2016 yes, this is what I am trying to acomplish Share this post Link to post Share on other sites
Von Quest 1163 Posted September 4, 2016 Holy shit, thats awesome! I got to play around with these ropes more. Forgot all about them. Share this post Link to post Share on other sites
johnnyboy 3797 Posted February 17, 2022 On 9/2/2016 at 7:38 PM, duda123 said: Hey Duda, if you're still around, do you mind posting the code for that? I have some rope related ideas and this could help me. That is beautiful btw! 🙂 Share this post Link to post Share on other sites