In game statistic [kills - losses] like TA

In game statistic [kills - losses] like TA

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Falcrum
Posts: 149
Joined: 14 Nov 2007, 01:03

In game statistic [kills - losses] like TA

Post by Falcrum »

What you think about this in Spring ? I like it on TA

Image
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: In game statistic [kills - losses] like TA

Post by Jazcash »

Falcrum wrote:What you think about this in Spring ? I like it on TA

Image
What about an EXP system? I liked that on Pokemon.
Ashnal
Posts: 104
Joined: 24 Jun 2008, 00:57

Re: In game statistic [kills - losses] like TA

Post by Ashnal »

IceUI has a kills / losses counter with satiriks player list
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: In game statistic [kills - losses] like TA

Post by Masure »

Ashnal wrote:IceUI has a kills / losses counter with satiriks player list
Beware, should contain viruses and troj
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: In game statistic [kills - losses] like TA

Post by smoth »

I liked the ota kills bar. It was a simple thing that you could show/hide but it was fun.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: In game statistic [kills - losses] like TA

Post by zwzsg »

In before "Lua it!"

However, can a widget know about enemy units that die outside your view?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: In game statistic [kills - losses] like TA

Post by smoth »

I don't know. I asked about one a long time ago and I was told unpossible.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: In game statistic [kills - losses] like TA

Post by Tobi »

zwzsg wrote:However, can a widget know about enemy units that die outside your view?
No AFAIK (assuming with view you mean everything in LOS of your allyteam)
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: In game statistic [kills - losses] like TA

Post by TheFatController »

Spring.GetTeamStatsHistory might work in unsynced/midgame (haven't tested, too lazy to test)
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: In game statistic [kills - losses] like TA

Post by lurker »

Which updates every several seconds, could work well enough.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: In game statistic [kills - losses] like TA

Post by trepan »

Code: Select all

int LuaSyncedRead::GetTeamStatsHistory(lua_State* L)
...
  if (!IsAlliedTeam(teamID) && !game->gameOver) {
    return 0;
  }
...
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: In game statistic [kills - losses] like TA

Post by lurker »

So we need a gadget to expose it to the widget.
BaNa
Posts: 1562
Joined: 09 Sep 2007, 21:05

Re: In game statistic [kills - losses] like TA

Post by BaNa »

lurker wrote:So we need a gadget to expose it to the widget.
I'd expose my gadget to your widget, if you know what i mean.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: In game statistic [kills - losses] like TA

Post by Jools »

I really like the way this works in OTA, and with risk of asking before finding out, why wouldnd't it work in spring if it works in OTA?

This is one of the best features of OTA, it's a quick way of knowing who is attacking and who is porcing. In OTA you could even hide it with the F4 key.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: In game statistic [kills - losses] like TA

Post by manolo_ »

jools u could use iceui-playerinfo to show kills/losses
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: In game statistic [kills - losses] like TA

Post by Jools »

manolo_ wrote:jools u could use iceui-playerinfo to show kills/losses
Above it was written it contains malware.
User avatar
Peet
Malcontent
Posts: 4383
Joined: 27 Feb 2006, 22:04

Re: In game statistic [kills - losses] like TA

Post by Peet »

Jools wrote:
manolo_ wrote:jools u could use iceui-playerinfo to show kills/losses
Above it was written it contains troll
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: In game statistic [kills - losses] like TA

Post by Jools »

Peet wrote:
Jools wrote:
manolo_ wrote:jools u could use iceui-playerinfo to show kills/losses
Above it was written it contains troll
Welcome to the forum to you too.
User avatar
Peet
Malcontent
Posts: 4383
Joined: 27 Feb 2006, 22:04

Re: In game statistic [kills - losses] like TA

Post by Peet »

It would seem you have misunderstood me...Masure was just trolling with reference to certain events of late. IceUI does not contain malware.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: In game statistic [kills - losses] like TA

Post by Jools »

Ok, yes, I misunderstood both you and masure. I'll check out IceUI later. Thanks.
Post Reply

Return to “Lua Scripts”