healthbars widget (v7) *Jan. 4 08* - Page 5

healthbars widget (v7) *Jan. 4 08*

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

Moderator: Moderators

User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Re: healthbars widget (v7) *Jan. 4 08*

Post by LOrDo »

That, or get it from UF as jk just upped it there :D
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: healthbars widget (v7) *Jan. 4 08*

Post by Pendrokar »

Question: Are the healthbars rendered if the player screen is elsewhere? If yes here is a performance upgrade possibility :wink: !
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: healthbars widget (v7) *Jan. 4 08*

Post by jK »

Pendrokar wrote:Question: Are the healthbars rendered if the player screen is elsewhere? If yes here is a performance upgrade possibility :wink: !
lol no, even in the first version there was a visibility check. But in 75b2 the check was per unit and 76 has a new (faster and better) GetVisibleUnits() :D
On the other hand, there was an issue in the previous versions so it entered the unitspace even if there was no bar to render (with HideFullHealthbars, only a fraction of units need a bar).
So there were still many ways to speed it up and v7 should be really fast now 8)
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: healthbars widget (v7) *Jan. 4 08*

Post by ZellSF »

LuaUI::RunCallIn: error = 2, MorphFinished, [string "LuaUI\Widgets\unit_healthbars.lua"]:636: table index is nil

When finished morphing XTA com. doesn't crash anything though.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: healthbars widget (v7) *Jan. 4 08*

Post by jK »

XTA v9.3 uses an outdated morph gadget with multiple issues, so i don't know if I should hide this error. Instead the XTA devs should really update their gadget, because some of those issues are very critical (if you know how to exploit those).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: healthbars widget (v7) *Jan. 4 08*

Post by AF »

Yah but this widget isnt a single file. You've pretty much nuked the popularity of your widget JK by trying to lock it in. There's a reason people dont like locking in contracts with mobiles etc.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Re: healthbars widget (v7) *Jan. 4 08*

Post by tombom »

AF wrote:Yah but this widget isnt a single file. You've pretty much nuked the popularity of your widget JK by trying to lock it in. There's a reason people dont like locking in contracts with mobiles etc.
What the hell are you talking about? What is the point in posting inflammatory statements like this with absolutely no provocation?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: healthbars widget (v7) *Jan. 4 08*

Post by AF »

erm, same to you?

In an opensource community we should share and share alike, and right now the users are wanting something they can use. They dont want to go about downloading and testing the widget and looking for the supporting image files necessary! If anything this is one of jks most popular widgets, spreading it freely standalone can only serve to win him masses more kudos.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Re: healthbars widget (v7) *Jan. 4 08*

Post by tombom »

AF wrote:erm, same to you?

In an opensource community we should share and share alike, and right now the users are wanting something they can use. They dont want to go about downloading and testing the widget and looking for the supporting image files necessary! If anything this is one of jks most popular widgets, spreading it freely standalone can only serve to win him masses more kudos.
Woops, I forgot it wasn't available from unknown-files by the time I read your post!

yeah i'm kind of dumb
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: healthbars widget (v7) *Jan. 4 08*

Post by jK »

tombom wrote:
AF wrote:erm, same to you?

In an opensource community we should share and share alike, and right now the users are wanting something they can use. They dont want to go about downloading and testing the widget and looking for the supporting image files necessary! If anything this is one of jks most popular widgets, spreading it freely standalone can only serve to win him masses more kudos.
Woops, I forgot it wasn't available from unknown-files by the time I read your post!

yeah i'm kind of dumb
see:
LOrDo wrote:That, or get it from UF as jk just upped it there :D
it was (even by the time of my post you refer to) ;)

PS: the widget contains 2 files: the lua-file and the nuke picture (billboard fix is unneed in 76b1 and was removed)
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: healthbars widget (v7) *Jan. 4 08*

Post by Acidd_UK »

Is there anywhere the latest version of this from? I'm finding it's causing a wierd intermittant flickering issue across my whole screen and I want to check I have the latest version before I try to track the problem down...
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: healthbars widget (v7) *Jan. 4 08*

Post by LordMatt »

Look in CA.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: healthbars widget (v7) *Jan. 4 08*

Post by jK »

Acidd_UK wrote:Is there anywhere the latest version of this from? I'm finding it's causing a wierd intermittant flickering issue across my whole screen and I want to check I have the latest version before I try to track the problem down...
that's caused when a new unit is visible (new = new combo of unitdef+teamcolor), it is an engine issue (fixed in the svn).
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: healthbars widget (v7) *Jan. 4 08*

Post by Acidd_UK »

Ok, thanks!
Post Reply

Return to “Lua Scripts”