So I hate to start a new thread just for this, but I think it it something that is important enough to discuss by itself.
The Goal: I am creating a script that will allow you to send your own dwarves on scouting/raiding missions in fortress mode. There will obviously be some randomness involved, but a group of adamantine clad, legenedary warriors should be able to do much better on a raid then a group of naked peasants.
The Issue: We need some sort of formula to calculate a units combat/scouting "rating" (for lack of a better word). Off the top of my head, the things that are important are, health of the unit, skills and attributes, types of items worn, and materials of items worn.
The Question: What should the actual formula for calculating these things be? How should each aspect add/subtract/multiply/divide into eachother to give a reasonable estimating of a units abilities.
An Example:
(H) Health is a number (0-1) where perfectly healthy is 1, and missing limbs/nerve damage/breathing trouble/anything else decreases the number
(S) Skill is an accumulation of all the military skills valid for a unit (i.e. if they are using an Axe and a Shield make sure to count the AXE and SHIELD skill)
(A) Attributes is a sum of all attributes, each with a different weighting
Items is broken down into weapons and armor;
(I_W) Weapons takes the ATTACKS of the equipped weapon and takes the average "damage" a weapon can do
(I_A) Armor takes the ARMOR_LEVEL, COVERAGE, and anything else of the equipped armor and computes a score
(M) Materials take the various YIELD/COMPRESS/SHEAR factors and computes a material value
combat_rating = H*(S+A+M*(I_W+I_A))
Now obviously there is a lot that needs to be fleshed out there, and it may be necessary to factor in interaction abilities and the like so that spell casters aren't left in the dust.
What I am hoping from the community is some serious, math oriented feedback about how best to calculate a units combat rating. In reality these ratings should be able to be used to predict arena fights to at least some extent (i.e. a unit with a combat rating of 1000 should almost always beat a unit with combat rating 100). Without this, any sort of scouting/raiding script will be practically useless, so please, leave as much feed back as you can! This is a project that is going to take the input of many many people.