Jump to content

Potential AI strategy for larger maps


Leroy30
 Share

Recommended Posts

I've been thinking about the mechanics of processing a large number of units on a large geographical map (as in absolutely ginormous).

Would like to get some oppinions on the feasibility of my idea.

The idea is that the further away you get from the camera view and the longer the particular units have not been in view or issued commands then the more their fate belongs to probability ad opposed to actual calculations.

Example. We have 10 spearman walking up to close proximity of 5 enemy spearman. Unless we actually move the camera to where they are then we simply use probability, derrived from variables such as proximity, time duration, unit strength, unit speed etc, to calculate the probability of them finding and fighting each other and the outcome of the battle.

This way units not being focused on could theoretically be less processor intensive because we would not need to calculate every second.

Also i think units mining resources could be given a similar strategy.

Anyone think im on the right track? I might have to take a look at the source later and see if i can work out how it currently works.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...