Coder Social home page Coder Social logo

cf_bai's Introduction

Charlie Foxtrot Better AI mod

How to build
============

Using the Arma 3 tools in Steam under tools
Use the addon builder and it needs a source directory pointing at the cf_bai base directory, give it a destination that ends in cf_bai.pbo
Do not binarize as this doesn't seem to work properly, everything else can stay as defaults.

The mod then has a very simple layout with a single PBO file. All settings are handled with CBA_Settings and can be found in the Addon Options in the escape menu


What the mod attempts to fix
=============================

The observation after playing Arma 3 for some years is that the AI has a substantial advantage in forests over players than it does in more open ground. 
The theory we have is that the players eyes are drawn to the terrain and the camoflage the units wear works against us whereas it doesn't appear to be balanced to worked against the AI.
Thus the idea is to reduce the AI's skill dependent on the terrain they find themselves and the potential spotted target in.
In practice we have found some numbers that appear to normalise the AI's relatively skill in forests and other high vegetation areas and make it possible to utilise the same base sub skill settings and get even gameplay across scenarios.

The mod could also in theory address towns and other urban environments. We have found that AI has a disadvantage in these circumstances quite often and hence should probably get a boost in these sorts of surroundings.

How the mod works
=================

I never found an acceptable way to address reducing the AI's skill based on the players surroundings so currently the idea behind the mod is that the terrain around the AI itself is counted within a particular range and then based on that count
the subskills are reduced in defined ways. All currently alive AI are looped on a set schedule and their skills adjusted from their determined maximum skill.

Notes about skill reduction
===========================

One observation about terrain counting objects was that twice the count was around 4 times as actual blocking to the human eye. This relationship is very similar to the way in which light when it doubles the distances quarters its power
and for similar reasons. Thus the mod uses an approximation that is based on an X^2 algorithm as a percentage of the maximum terrain count, not a linear one. Half of the count, say 15 out of 30, will only reduce the skill 25% and not 50%.

cf_bai's People

Contributors

brightcandle avatar erichederstedt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.