turret algorithms

2 Comments·Started 04 March 2016 06:16 AM
Jean-paul FollacaJean-paul Follaca Forum SpeakerJean-paul FollacaComments: 18 ✭✭✭
Hello!

To enhance the ability to defend a base,

a turret could combine 4 basic algorithms to fire more efficiently (I hope):

DISTANCE PRIORITY:

default: AI of the game

furthest: shoot at furthest foe first

mid range: shoot at midrange foe first

closest: shoot at closest foe first



ANTI WEAPON PRIORITY:

default: AI of the game

anti gun: shoot foe equipped with gun first

anti rocket launcher: shoot foe equipped with rocket launcher first

anti machine gun: shoot foe equipped with machine gun first

anti weird: shoot foe equipped with weird weapons first



TYPE PRIORITY:

default: AI of the game

normal: shoot any normal bots first

elite: shoot any elite bots first

salamander: shoot salamander first

etc...

MOTION PRIORITY:

default: AI of the game

static: shoot at static foe first

moving: shoot at moving foe first


Maybe these abilities could be researched in a lab or exist at the beginning.
Of course they must be coherent: a gun can't fire at close range so this case is disabled.

Thank you!
· Share

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!