项目作者: Synert

项目描述 :
AI squad in Unity
高级语言: C#
项目地址: git://github.com/Synert/AT-AI-Squad.git
创建时间: 2018-05-02T22:32:10Z
项目社区:https://github.com/Synert/AT-AI-Squad

开源协议:MIT License

下载


AI Squad

About

A user-directed AI squad created in Unity for my third year of university as part of the Advanced Technologies module.

Behavior

Squad members were designed to work autonomously or as part of a squad, with or without orders.
They will engage in combat with sighted enemy units, whilst managing their own cover and ammunition.
The player can also give them tasks to perform, such as breaching open doors or disarming bombs.
Orders can be given to individual units, or given to groups to form squads.

Different formations will be used depending on the squad size. When following the player, a plus (+) will be formed for maximum coverage.
Two units will both be looking forward, but will alternate their corner checking. Three units will have the third man watching the rear.

Simple enemy AI has also been implemented. Enemies will use cover and react to sounds from gunshots or bullet impacts.
They won’t take cover as quickly, only choosing to use cover once injured or if they are against multiple targets.
When not in combat, they will roam around the map at random, although they seem to often get stuck against the edge walls.

Development videos

Youtube