Jump to content
Sign in to follow this  
killbox90

Air lifting a vehicles?

Recommended Posts

Does anyone have a script for airlifting vehicles...

ex: Taking a Chinook and picking up a hummer with it.

My friend had one, but he couldn't get it to work.

Share this post


Link to post
Share on other sites

Yes I remember someone made a script where you could In-Game pick up vehicles etc... does anyone know where I could get this again?

Share this post


Link to post
Share on other sites

Ok I found some stuff, but problem is these are hard scripted... the one I saw before you could actually take off with a chinook for example, fly over a jeep (all in real time!wink.gif Action > Connect Vehicle and the thing would connect and u could raise altitude and fly it around, untill u wanted to drop it off you lowered Action > Disconnect Vehicle and it dropped off ... simple transportation... was a very neat idea... anyone know who made it or ANYTHING about it?

Share this post


Link to post
Share on other sites

Sure, i found a simple script. Just fly over a car and it will atteach itself to the plane/heli.

Share this post


Link to post
Share on other sites

when I see scripts like this i feel like crying! Your scritp can't be implanted in any other mission! I decided to make a few chnges here, so that the script can be executed in mp games...

CREATE A FILE NAMED "LIFT.SQS"!!!

put the following in it:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_jeep=_this select 0

@vehicle Player distance _Jeep <10

Vehicle player addaction ["Lift","Lift.sqs"];hint "Now You Can Lift Up The Vehicle!"

Drop=false

vehicle Player removeaction 0

vehicle player addaction ["Drop","Drop.sqs"]

#Loop

_Jeep setpos [getpos vehicle player select 0,getpos vehicle player select 1,(getpos vehicle player select 2)-3]

_Jeep setdir getdir vehicle player

?!Drop:goto "Loop"

Chute="Parachutewest" camcreate [getpos _Jeep select 0,getpos _Jeep select 1,(getpos _Jeep select 2)+10]

#Loop2

_Jeep setpos getpos Chute

?!Alive Chute:Exit

goto "Loop2"<span id='postcolor'>

NEXT CREATE FILE NAMED "DROP.SQS":

put the following in it:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Drop=true

exit<span id='postcolor'>

THIS SCRIPT WAS ORIGINALLY MADE BY InqWiper

MODIFIED BY FRUGO_PL

Description: now when you fly over a vehicle less than 10 meters, it will attach to the chopper/plane. If you want to drop it, select "Drop" from the action menu and watch the car parachute to the ground.

Usage: place the following in init field of the vehicle to be lifted: [this] exec "lift.sqs"

you can put this in as many vehicles as you want and it will work! It's perfect for mp!

Note: player has to be the pilot!

Share this post


Link to post
Share on other sites

PS. There are some not neededd parts of script. If you manage to optimize the script, feel free to post it here tounge.gif

Share this post


Link to post
Share on other sites

I just made it in 10 minutes or something, it was an example, it was not a complete script.

Share this post


Link to post
Share on other sites

OK, then I guess that you probably could've done it better if you spent more time on it. However, the fixed script is excellent for mp since all players can pick up many vehicles. It always annoyed me that most of the scripts are made in sp versions, being able to make it work only on one thing activated by one player. These scripts can't be used then in mp. I really think that ppl should make scripts that work both, in sp or mp, or make 2 versions of the script. The script above works well in both, mp and sp.

Share this post


Link to post
Share on other sites

U sure it works good in MP, have U tried using it with someone else on the server, it works when Ur alone on the server but how does it work when U see another player lifting a vehicle? For me using my first version the other player would see my chopper get stuck in the air and the vehicle flying away by itself(lol) while on my computer the vehicl would fly 200 meter behind me.

Share this post


Link to post
Share on other sites

I didn't test it really with many ppl, but in THEORY the script should work on many players & vehicles.

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  

×