Jump to content
Sign in to follow this  
rellikki

Killing score

Recommended Posts

What config definition defines how much score to give for each type of kill? For example, in vanilla OFP one would get +1000 score for eliminating an officer and +200 for a normal rifleman. But where do these numbers come from?

I looked into the main config and couldn't find any kind of indications for that. I even tried tinkering with the existing available config values to see if any of them would modify the score, but with no results.

Share this post


Link to post
Share on other sites
What config definition defines how much score to give for each type of kill? For example, in vanilla OFP one would get +1000 score for eliminating an officer and +200 for a normal rifleman. But where do these numbers come from?

I looked into the main config and couldn't find any kind of indications for that. I even tried tinkering with the existing available config values to see if any of them would modify the score, but with no results.

Might be hardcoded into the engine, based on the rank + skill setting maybe?

As you may have noticed, I'm only guessing :p

Share this post


Link to post
Share on other sites

Are you talking about the multiplayer scoreboard?

Share this post


Link to post
Share on other sites
Might be hardcoded into the engine, based on the rank + skill setting maybe?

As you may have noticed, I'm only guessing :p

I've even tried to change the rank and skill settings of an invidual unit, but they have no effect on the score of its kill whatsoever. I don't think it's hardcoded into the engine either, because some custom units, like WW4 infantry or any other infantry addOn have different scores too.

Are you talking about the multiplayer scoreboard?

The score can be seen on the debriefing and works even in singleplayer, but I believe the multiplayer scoreboard is basicly the same thing.

Share this post


Link to post
Share on other sites
The score can be seen on the debriefing and works even in singleplayer, but I believe the multiplayer scoreboard is basicly the same thing.

Actually they're different scoring systems, the SP score is rating and MP score where you get 1 point for infantry, 3 for armor and so on is score. Rating of course applies for both SP and MP.

Share this post


Link to post
Share on other sites
Actually they're different scoring systems, the SP score is rating and MP score where you get 1 point for infantry, 3 for armor and so on is score. Rating of course applies for both SP and MP.

My mistake. I hardly ever pay any attention to the multiplayer scoreboard. Rating is what I'm talking about, as Celery explained.

http://community.bistudio.com/wiki/rating

Share this post


Link to post
Share on other sites
This is the beginning of an answer. The rank obviously plays a major role, but the basic score unrelated to the rank must be (1) hardcoded or (2) related in some way or another to the only parameter giving some "value" to a unit, ie the "cost=" value in the config. But i really don't see how.

Share this post


Link to post
Share on other sites

After much more testing, I've finally got some clues about how it all works. The cost value indeed does play a part in the given score.

Class OfficerW's cost value was defined 500000 which would give 500 points for its kill. Class OfficerE's cost value was 600000 which would give 1000 points. I tried changing OfficerW's cost value to the same as OfficerE's and it worked, killing OfficerW would now give 1000 points, just like with OfficerE.

But I still don't understand the logic behind it all. 500000 equals 500, 600000 equals 1000 and anything lower mostly 200? But nevertheless, this is a good start trying to figure it all out.

As far as I know, it all comes from the config of the unit and no in-game factors have any effect at all on the kill score. Rank, skill or courage don't seem to affect it anyhow, even though an unit gets "a base score" based on its rank, like seen on the Wiki page linked by ProfTournesol.

Share this post


Link to post
Share on other sites

Sounds like a function routine within the game engine running nested if loops to determine the points.

With more than less than conditions.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×