Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik > Daidalos Team discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 06-13-2016, 06:37 PM
Pursuivant Pursuivant is offline
Approved Member
 
Join Date: May 2010
Posts: 1,439
Default

Quote:
Originally Posted by RPS69 View Post
Zig Zags were for anti torpedo tactics, anti dive bombers tactics, they turn hard all the time.
My idea for "automatic zig-zag" option for ship movement in the FMB would be simpler than full AI for ships. All it would do is allow the mission builder to set a ship's course from Point A to Point B, and the "zig-zag" option would automatically turn that straight line movement into a series of S-curves by automatically plotting the additional waypoints needed.

You could use a simple sine wave function and plot new way points at maximum and minimum amplitude along a line described by the ship's baseline course. If the programmers wanted to get fancy, they could give options for amplitude and frequency to control width of each "curve" and frequency of course changes.

This would be realistic for "non-combat" movement by ships in a war zone, where zig-zagging was standard submarine defense.

For "emergency" movement against air attack, it would "good enough".

If you wanted to move into "pseudo AI" for ships, there are some simple "swarming" or "flocking" algorithms which could be used for basic station-keeping and collision avoidance, as long as ships are assumed to be in a convoy or some other formation and are programmed to keep a certain distance from other ships. These could be used to make a formation of ships all turn in the same direction when under attack.

Collision avoidance, especially realistic avoidance of shallow waters, and "intelligent" tactics vs. air attack, would require a lot more effort.

Realistic ship movement is way beyond IL2's ability, since it doesn't take factors such as hull draft, turning radius, acceleration, deceleration, heeling angle, waves, wind, etc. into effect when determining ship movement.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.