Forum Jump :

Author Message

jfett  



Posts: 4
Rank:


Level: Member

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

 
#1 Posted at 2016-02-01 18:59        
     
I am attempting to make an airplane or predator fly in a circle with a 2 mile radius. I have tried using multiple waypoints and also using the loiter waypoint. Does anyone know of a script or another strategy to do this? My attempts have failed. The plane doesn't fly in a circle like I want it, or flies in a circle but with square edges as it hits waypoints.


Author Message


Posts: 146
Rank:


Level: Member

Country: my
Location: Sabah
Occupation: No Occupations
Age: 20
In-game name: Phantom_Wolf

 
#2 Posted at 2016-02-01 19:07        
     
Loiter waypoint.

https://community.bistudio.com/wiki/setWaypointLoiterRadius
https://community.bistudio.com/wiki/setWaypointLoiterType

If you're interested in seeing it's effect, use a UAV and the terminal. Note: You have to place a waypoint and quickly set it to loiter type before the UAV 'finishes' it. You can then set the radius and height. It flies in a perfect circle after reaching said height and radius.

I have no signature.

Advertisement


Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 59
In-game name: Kobayashi Maru

 
#3 Posted at 2016-02-01 19:07        
     
There are 2 problems:
- waypoints are just successive directions, steady heading for a current branch, not a flight "attitude" like roll;
- their paths are following ground (set on height from terrain)

One way you could try is no waypoint but a loop adjusting the velocity vector on each frame.

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS

Author Message


Posts: 146
Rank:


Level: Member

Country: my
Location: Sabah
Occupation: No Occupations
Age: 20
In-game name: Phantom_Wolf

 
#4 Posted at 2016-02-01 19:50        
     
# Pierre MGI : There are 2 problems:
- waypoints are just successive directions, steady heading for a current branch, not a flight "attitude" like roll;
- their paths are following ground (set on height from terrain)

One way you could try is no waypoint but a loop adjusting the velocity vector on each frame.

Wouldn't that be process heavy?

I have no signature.

Author Message

jfett  



Posts: 4
Rank:


Level: Member

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

 
#5 Posted at 2016-02-01 20:20        
     
Does the loiter waypoint have a limit on the size of circle it can fly? I need about a 500 meter circle.


Author Message


Posts: 1189
Rank:


Level: Member

Country: tr
Location:
Occupation: Computer Science student
Age: 22
In-game name: Wak

 
#6 Posted at 2016-02-01 21:08        
     
# jfett : Does the loiter waypoint have a limit on the size of circle it can fly? I need about a 500 meter circle.

Check the links Phantom_Wolf already posted.

Sometimes I like to think as I started the whole "earplugs" thing.

W0lle: The only advice I can give you is: Do not try to understand BI. You will not succeed and it only makes your brain go boom. I would even go so far and say that not even they understand their own actions :-D.

#define getDamage getDammage

Author Message


Posts: 1522
Rank:


Level: Member

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

 
#7 Posted at 2016-02-02 00:13        
     
The limit with loiter seems to be the minimum distance which seems to be set by the vehicle type.

Tiny Darter drone seems to have a minimum radius of 110-120 even if you set it to 40
Bigger drone around 250
Jet 1000

I've not had an issue with large distance other than height which can be an issue over 800 meters I think it is, greater than that and they go into a circle on their own and won't follow waypoints.