So i finally made that little piece of lua that counts how much stuff you lose and how much stuff you kill. It has a lot of limits, though:
- any (enemy) unit that dies within your los counts as kill. No matter the cause. - any kills that occur outside of los as such (i.e, on radar) don't count (i didn't try hard enough, though i think it should be possible to identify radar blips to units if those units were los-sighted before going radar-only) - and if in ony other way you find yourself an ally, expect things to go gebork.
Also, it needs chili. So basically is limited to gundam, evo, and zk 1x1 games.
I'm just going to leave this here in case anyone wants it.
Attachments:
File comment: the wupget itself attrition.lua [2.99 KiB]
Downloaded 99 times
Joined: 17 Sep 2008, 03:36 Location: your imagination
Sorry to keep semi-off-topic-ing this direction, but I would love you if you made a gadget version. Particularly I am interested in getting quick stats when I'm watching replays of games I lose, to see where I stand eco-wise or army-wise.
Some interesting stats would probably current resource income, total resource income, current army value, current damage dealt, and the like.
Feel free to ask for me to setup any kind of script.luaui calls for widget if you need em. I cannot promise I will add them but hey, I can try and accomodate.
This is a block I eventually planned on working on sending. I have not YET covered these parts and planned on breaking them up into seperate calls but here you go, a few I have not finished yet
Sorry to keep semi-off-topic-ing this direction, but I would love you if you made a gadget version. Particularly I am interested in getting quick stats when I'm watching replays of games I lose, to see where I stand eco-wise or army-wise.
Some interesting stats would probably current resource income, total resource income, current army value, current damage dealt, and the like.
Also useful for commentators. :D
IceUI gives those stats and more. When you are a player from your entire team, when you are a spec from everyone.
I wonder if there is any way to determine when a ghosted building was busted outside of LOS in a non-spectator widget-based way.
Also, does anyone know if radar blips and los-sighted units share same uID? Or to detect when blips get killed?
You can use :UnitEntered/LeftRadar in the same manner as :UnitEntered/LeftLos to track radar dot death. You'd also need to add some unit def id storage if you want to do anything like costing when a radar dot dies.
I guess then my idea was right, but i did it wrong. Less alcohol next time!
(my suspicions were that maybe blips don't have uid's of full units, or that radar-callins would not detect kills. going to try enhancement this week)
On a side note, does that mean that if an unit was once spotted by LOS and then after a long delay emerges from some other point in space as a radar blip, we get to know it's unit type?
On a side note, does that mean that if an unit was once spotted by LOS and then after a long delay emerges from some other point in space as a radar blip, we get to know it's unit type?
Before you say it, yes it's considered a bug. Here's a suggestion I once gave to fix it. I can still hope it's implemented one day. viewtopic.php?p=411160#p411160
The game end screen already has pretty exhaustive stats - how doable would it be to bring that screen to spectators midgame? By widget or engine change, I don't care. Players ofc shouldn't get it.
( number teamID, string "metal" | "energy" ) -> nil | number currentLevel, number storage, number pull, number income, number expense, number share, number sent, number received
Spring.GetTeamUnitStats
( number teamID ) -> nil | number killed, number died, number capturedBy, number capturedFrom, number received, number sent
Spring.GetTeamResourceStats 0.82 and later
( number teamID, string "metal" | "energy" ) -> nil | number used, number produced, number excessed, number received, number sent
Tbh i would like some sort of general "stats" like economy comparison or combat performace so far..
Why don't you use Ecostats? It does just that: compares m and e income, army hp, buildpower ... on team basis. It even has one player mode and one spectator mode.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum