Kill ratio counter

Everything about mods can be found here.

Moderator: Morax

Kill ratio counter

Postby SentinelAeon » 31 Dec 2018, 15:50

Hello,

For my pet project, i would need the following thing displayed in real time: kills and losses counter, or at least a kill ratio counter. Right now it is displayed only when u finish a game - i would like that to be displayed during the game. I need it for plain vanilla supreme commander and also for forged alliance. How hard would it be to implement this ?
SentinelAeon
 
Posts: 3
Joined: 31 Dec 2018, 15:49
Has liked: 0 time
Been liked: 0 time
FAF User Name: SentinelAeon

Re: Kill ratio counter

Postby Franck83 » 31 Dec 2018, 15:55

It's easy to do but it gives your opponent some information about its dominance or not. Especially in 1 vs 1 fights.
Alliance of Heroes Mod is out ! Try it ! It's in the Mod Vault !
User avatar
Franck83
Evaluator
 
Posts: 538
Joined: 30 Dec 2016, 11:59
Location: France
Has liked: 114 times
Been liked: 122 times
FAF User Name: Franck83

Re: Kill ratio counter

Postby SentinelAeon » 31 Dec 2018, 16:27

I only need it for single player campaign, installation will be 1) pure vanilla supreme commander and 2) pure forged alliance. How would i accomplish this, maybe some pointers ?
SentinelAeon
 
Posts: 3
Joined: 31 Dec 2018, 15:49
Has liked: 0 time
Been liked: 0 time
FAF User Name: SentinelAeon

Re: Kill ratio counter

Postby Franck83 » 31 Dec 2018, 16:40

In order to do it, you just need to make a mod that hook some UI panel. Then read the data and show it.

Do you have any modding skill yet? You can join discord to ask help and have access to modding resources.
Alliance of Heroes Mod is out ! Try it ! It's in the Mod Vault !
User avatar
Franck83
Evaluator
 
Posts: 538
Joined: 30 Dec 2016, 11:59
Location: France
Has liked: 114 times
Been liked: 122 times
FAF User Name: Franck83

Re: Kill ratio counter

Postby SentinelAeon » 31 Dec 2018, 17:01

I am a computer science student, so i know programming. I never did any mods though. What about console, is it possible to simply call status of variables from there ? That way i could simply request the value of losses and kills ?
SentinelAeon
 
Posts: 3
Joined: 31 Dec 2018, 15:49
Has liked: 0 time
Been liked: 0 time
FAF User Name: SentinelAeon

Re: Kill ratio counter

Postby Franck83 » 31 Dec 2018, 17:06

You need to make mod, because ratio need to be calculated. https://discord.gg/Pkm4tf
Alliance of Heroes Mod is out ! Try it ! It's in the Mod Vault !
User avatar
Franck83
Evaluator
 
Posts: 538
Joined: 30 Dec 2016, 11:59
Location: France
Has liked: 114 times
Been liked: 122 times
FAF User Name: Franck83


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest