Forum Jump :

Author Message


Posts: 189
Rank:


Level: Member

Country: us
Location: Boston MA
Occupation: U.S Army ranger to be...
Age:
In-game name: killer227

 
#1 Posted at 2011-07-20 02:38        
     
I am making a mission where two MV-22's fly in and unload troops....but when they reach their destination, they have to fly around in a huge circle....and then hover and land, is there a way to prevent it from Flying in a huge circle first?

"you don't want a game any more, you want Real life on a screen"

DeltaForce :Posted at 2011-10-28 11:46

Author Message

Pirin  



Posts: 1545
Rank:


Level: Member PFS

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 40
In-game name: kylania

 
#2 Posted at 2011-07-20 03:22        
     
Put a move waypoint nearish the LZ and reduce their speed first. They are probably circling since they are too high speed. Also remember invisible H where you want them to land. Angles and approaches have a lot to do with it.

Wow, I suggest using a different vehicle. After 45 minutes of moving waypoints and watching these morons FLY past the LZ, stop, turn around and immediately ram into the nearest tree, the other plane, or both, I've decided to give up trying to make a demo work for you. Sorry. :)

This post was edited by Pirin (2011-07-20 05:30, ago)


Advertisement


Author Message


Posts: 189
Rank:


Level: Member

Country: us
Location: Boston MA
Occupation: U.S Army ranger to be...
Age:
In-game name: killer227

 
#3 Posted at 2011-07-20 16:51        
     
# Pirin : Put a move waypoint nearish the LZ and reduce their speed first. They are probably circling since they are too high speed. Also remember invisible H where you want them to land. Angles and approaches have a lot to do with it.

Wow, I suggest using a different vehicle. After 45 minutes of moving waypoints and watching these morons FLY past the LZ, stop, turn around and immediately ram into the nearest tree, the other plane, or both, I've decided to give up trying to make a demo work for you. Sorry. :)

Yeah i think I'll just go with 4 or 6 hueys i guess....god i swear that the makers of ArmA did absolutley no work on path finding or trying to fix all of the problems with AI b4 selling the game, its like OFP had a great path finding system, y make it worse >:(




Well is there a way to make them go into auto hover tho?

This post was edited by Killer227 (2011-07-20 17:16, ago)

"you don't want a game any more, you want Real life on a screen"

DeltaForce :Posted at 2011-10-28 11:46

Author Message


Posts: 463
Rank:


Level: Member

Country: se
Location:
Occupation:
Age: 21
In-game name: Oksman

 
#4 Posted at 2011-07-20 18:24        
     
Perhaps using a manual disembark and land script?


MV22 land "helipadname";


Author Message

Pirin  



Posts: 1545
Rank:


Level: Member PFS

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 40
In-game name: kylania

 
#5 Posted at 2011-07-20 18:51        
     
The landing isn't really the problem, the problem is they fly in so fast that they overshoot the LZ, turn around slowly, then come back to it, often still going to fast and having to turn around again or more likely ramming into the first obstacle they can find.

If this is for a single player mission and it's just the insert you might also consider using UnitCapture/UnitPlay to record yourself doing the insert and playing it back for the mission.

Or if this is just the insert simply start the units on the ground and maybe have the Osprey take off and fly away right from the start. Or fake it all, start them in the Osprey flying towards the LZ, black things out and roll some credits, then fade back in at the LZ with the plane leaving. Skip all the messy bits. :)


Author Message


Posts: 189
Rank:


Level: Member

Country: us
Location: Boston MA
Occupation: U.S Army ranger to be...
Age:
In-game name: killer227

 
#6 Posted at 2011-07-20 19:12        
     
So there isn't a way to make it go into you know "helicopter mode"? (A.K.A have the rotors tilt up)

"you don't want a game any more, you want Real life on a screen"

DeltaForce :Posted at 2011-10-28 11:46

Author Message

Pirin  



Posts: 1545
Rank:


Level: Member PFS

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 40
In-game name: kylania

 
#7 Posted at 2011-07-20 19:29        
     
That happens at slow speeds automatically I believe. Don't think you can force it. In my tests last night I tried forcing speed to 50 and making it fly at 20m and it still flew like a plane. Can't even make it AutoHover since that only works for human pilots via action.


Author Message


Posts: 1230
Rank:


Level: Member PFS

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#8 Posted at 2011-07-20 22:12        
     
This may work, I just force them to slow down to a hover and then land. They seem to land without running around too much.


M22_hover...


Author Message

Pirin  



Posts: 1545
Rank:


Level: Member PFS

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 40
In-game name: kylania

 
#9 Posted at 2011-07-20 23:11        
     
Ahh, nice solution F2kSel! Works pretty nicely, but those guys are so slow. :) Also roofpad H didn't seem to work.


Author Message


Posts: 1230
Rank:


Level: Member PFS

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#10 Posted at 2011-07-20 23:24        
     
Yea it works until you do something like place an object somewhere or the speed of the PC changes. It's too critical to be reliable. The MV is also a little too large, choppers work better as they have a smaller wheel base well some do.

I just added a little downwards velocity and it lands a little quicker now, as it's height based it's not suitable for roof top landings.

As you know the more you mess with the AI the more it will kick you in the teeth and so will probably go wrong at the worst moment.


// nul=[planename] execvm "hover.sqf";
_plane = _this select 0;

while {Alive _plane and (speed _plane >= 9) } do
{
_xv = velocity _plane select 0;
_yv = velocity _plane select 1;
_zv = velocity _plane select 2;

_plane setvelocity [_xv/1.1,_yv/1.1,_zv];

sleep 0.2;
};

Hint format["%1 Landing",_plane];

while {Alive _plane and (getpos _plane select 2 >= 15)} do
{
	_xv = velocity _plane select 0;
_yv = velocity _plane select 1;
_zv = velocity _plane select 2;

	_plane setvelocity [_xv,_yv,_zv-1];
	
	sleep 0.2;
};

Hint format["%1 is Down",_plane];

This post was edited by F2kSel (2011-07-20 23:46, ago)


Author Message


Posts: 189
Rank:


Level: Member

Country: us
Location: Boston MA
Occupation: U.S Army ranger to be...
Age:
In-game name: killer227

 
#11 Posted at 2011-07-21 16:10        
     
Thank you it does actually work! but does any one else have the problem with the V-22s landing...then never taking off again? its not the script just yet ANOTHER bis bug that they decided to just skim over...

"you don't want a game any more, you want Real life on a screen"

DeltaForce :Posted at 2011-10-28 11:46

Author Message

Pirin  



Posts: 1545
Rank:


Level: Member PFS

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 40
In-game name: kylania

 
#12 Posted at 2011-07-21 16:31        
     
I'm quite sure it's not a BIS bug. The demo above used an incorrect format for the LAND command which is why they landed funny, but they did take back off again. Check the syntax for your code and waypoints, much more likely you have something in there wrong.


Author Message


Posts: 254
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age:
In-game name: [3rdSASR MAJ] 2Dumb2Live

 
#13 Posted at 2012-04-08 17:16        
     
just wondering what osprey addon your using. Would be keen to get a hold of it. Cheers

Arma Addicts Youtube channel

Simple Helicopter Insertion/Evacuation
Arma 2 Version
Arma 3 Version