OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: ArMaTeC on 29 Jun 2007, 14:35:15

Title: ArMaTeC Airlift chopper script with Real physics (DELAYED)
Post by: ArMaTeC on 29 Jun 2007, 14:35:15
Hello all i have started work on a MP complex Air-Lift script and would love your input in making it better and better.

Small video
http://armatechsquad.com/airlift.wmv (http://armatechsquad.com/airlift.wmv)
Full demo mission attachedRemoved while i bug check it some more
::Currenly::
Display system for both pickup and cargo.
Para drop.
Low level flying auto disconnect.
Warning system for pick up stage.
Multi pickup requests via image dialogs

::Credits::
T_D for his beta physics calculation with out that it looked kinda static.
Mando For all hos fantastic help

::Plans::
Multi transports (so that more then one chopper can carry a load at once).
Work out the mp side of it so its 100% (need help)

::Notes::
I know i can use an addon for the rope but i would rather do it via particals but that will come later on i hope after i work out with your help i hope how to fix this mp problem please post as i would love to know

:Edit:
Changed the code so now there is no hard coded units in the scripts also added a dialog so that you can select from an array of units that have Called for pick up.
Changed the way the array is built so hopfully it will build in mp - Thanks mando {AGAIN}
Re-Added commants to code

:Bug i need help with:
The selection list will not pick the selected unit but a random one insteadThanks mando and T_D
Exit dialog help test it and your see think i fixed it
After first drop and selecting the 2nd pickup object an error pops up
Any other optimizations/fix you see

uploaded new version 05.07.07 18.24am(GMT)


How to use:

1. Either have a human player in both lifted (tank) and lifter(chopper) or put a ai in the lifted
2. have the lifted click "Call pickup"
3. have the lifter click "Pickup list"
4. have lifter select the unit to pick up
5. have lifter move over the lifted at below 15m and above 10
6. pick up will engage
7. fly away and use the actions to cut the cargo free this will then engage a chute system or just drop the cargo
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: jerryhopper on 30 Jun 2007, 16:30:08
yay - its armatec in action!

im curious on the result !
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: ArMaTeC on 01 Jul 2007, 02:06:55
just adding a multi select option with dialog
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: Mandoble on 01 Jul 2007, 03:08:12
:Bug i need help with:
The selection list will not pick the selected unit but a random one instead

At least you might have indicated the problem is within carry.sqf, but not a single comment inside your code and not a single tip ...

Anyway for some reason you are filling up your listbox in inverted order of ArmA_Cargo.
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: ArMaTeC on 01 Jul 2007, 03:20:22
how would this fix it as in revert the list
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: Mandoble on 01 Jul 2007, 03:37:07
Your object list is 1, 2, 3, 4, 5, 6, 7, 8, ...
You fill up the list as 8, 7, 6, 5, 4, ...

Then you use the index of the selected list item to get your object from the object list.
So, if your ArmA_Cargo is A B C D and your list is D C B A, once you select index 0 from the list you select that item also from ArmA_Cargo. So, selected in list = D, selected in ArmA_Cargo = A.
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: ArMaTeC on 05 Jul 2007, 18:32:32
New version uploaded with comments and bug fixs and a video in top post
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: hoz on 05 Sep 2007, 16:20:18
There is no instructions on how to make the demo work. The readme is there but there is little information in it.

Do I order a unit into the helo and then run a radio trigger? The radio triggers should be more descriptive.
Title: Re: ArMaTeC Airlift chopper script with Real physics
Post by: ArMaTeC on 13 Nov 2007, 20:54:58
How to use:

1. Either have a human player in both lifted (tank) and lifter(chopper) or put a ai in the lifted
2. have the lifted click "Call pickup"
3. have the lifter click "Pickup list"
4. have lifter select the unit to pick up
5. have lifter move over the lifted at below 15m and above 10
6. pick up will engage
7. fly away and use the actions to cut the cargo free this will then engage a chute system or just drop the cargo
Title: Re: ArMaTeC Airlift chopper script with Real physics (TESTING)
Post by: Shadow.D. ^BOB^ on 21 Apr 2008, 00:30:40
Sorry for dragging this post back up, but has anyone got any idea how i can airlift artillery with this script?

Vehicles are fine, but for some reason when i try and airlift the artillery it goes funny (glitches in flight & doest uncouple properly)  i presume that it is because its static class and not a vehicle.

Any help would be appreciated.

Cheers.

EDIT1: Seen as this has been rejected, does anyone know of any good airlift scripts?
Title: Re: ArMaTeC Airlift chopper script with Real physics (REJECTED)
Post by: ArMaTeC on 22 Apr 2008, 14:12:10
ill make a remake of this when i have time and finish it up 100% before posting
Title: Re: ArMaTeC Airlift chopper script with Real physics (DELAYED)
Post by: Shadow.D. ^BOB^ on 23 Apr 2008, 00:11:11
Cool, sounds good.  Just a quick question, would it be possible to put something like optional weight restrictions on choppers? 

Cheers...
Title: Re: ArMaTeC Airlift chopper script with Real physics (DELAYED)
Post by: Mastercluster on 04 May 2008, 15:51:03
Hi dudes,

very nice script but i got 2 questions:

1. I would like to put the script in Evolution. i already put all needed folders in evo and add the init command into the evo init. When iam going to try it always says: Rescource Launcherselect not found

2. Is there a way to transport vehicles more than once? ( i found out to put the same Addaction command with different names like Pickup1, Pickup2 and so on ... but than i have alot of actioncmds in my menu :(

hope you guys can help me out!

regards