Greetings,
I don't know exactly how the OFP scoring system works (i.e. the exact amount of points given or deducted for a specific action), but it goes along something like this:
-Kills of enemy units grant you points. The higher ranking the enemy unit is, the more points you get. Destroying a vehicle also gives more points than killing an infantry soldier or officer.
-Points are awarded for completing objectives. [EDIT: No they're not.]
-Points are massively deducted for killing friendlies. If you kill an entire squad of enemy troops singlehandedly, you only have to kill two or three friendlies to reduce your score back to around zero. Again, more points are deducted if you kill higher ranking troops, or destroy friendly vehicles. Killing a single Colonel can reduce you instantly to the point where your own units will consider you a threat.
-If your score drops below a certain level (into negative numbers), you will be considered an enemy to everyone, including your own side.
You can use the addRating command to add or subtract points from units. For example, the command:
_unit addRating -10000
Would make _unit an enemy to everyone (unless he had accumulated over 10,000 points).
-Supr. Cmdr. PsyWarrior
-Psychic Productions