View Single Post
Old 11-24-19, 04:10 PM   #17
Boris-Barboris
Mate
 
Join Date: Dec 2010
Location: Moscow
Posts: 56
Downloads: 0
Uploads: 0
Default Working on AI

https://github.com/Boris-Barboris/ds...ses/tag/v0.0.3



Dedicated about 4 weekends to enemy AI. Managed to produce something resembling an easy combat bot, that only attacks what it hears, and a medium bot, that can use decoys, active sonar and tries to dodge the torps.


A little sandbox trace:



Modified the scenario, so that after killing a civilian passive bot an easy bot spawns, and medium bot spawns for each killed easy bot. All combat bots use the same Stork sub that the player has.


Torpedo range is better estimated on the client with respect to it's fuel consumption factors on different speeds.


Solution real-time phantom is drawn in TMA mode to make the process more obvious.


I'll try to work on variability for now, want to get to at least 3 submarines and 4-5 torpedoes. Hull hydrophones maybe.
Boris-Barboris is offline   Reply With Quote