Com Counter Display - Page 3

Com Counter Display

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

Moderator: Moderators

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

Re: Com Counter Display

Post by Jazcash »

Updated to BD's version on the Widget Database, thanks again BD!
klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: Com Counter Display

Post by klapmongool »

This widget does idd seem to have some cheating sideeffects. Now that it works properly we should ask BA devs to adjust BA to make sure this widget doesnt work like it does now.. :)
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Com Counter Display

Post by Jazcash »

klapmongool wrote:This widget does idd seem to have some cheating sideeffects. Now that it works properly we should ask BA devs to adjust BA to make sure this widget doesnt work like it does now.. :)
My opinion is that if you can see wrecks anywhere on the map then it's no biggie knowing whose units they were created from. Personally, if it was my say, I'd disable wrecks showing when not in LOS anyway.

But anywho, it doesn't have any "cheating side-effects". If it's exposing what the game is freely giving away via Lua then it's simply utilising the valid outputs, it's not doing anything naughty.

Besides, other people have widgets that do the same thing. Like I said before if there's a cheating widget out there, it's better that everybody has it rather than just a select few, otherwise it is unfair.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Com Counter Display

Post by smoth »

Jazcash wrote:My opinion is that if you can see wrecks anywhere on the map then it's no biggie knowing whose units they were created from. Personally, if it was my say, I'd disable wrecks showing when not in LOS anyway
IIRC that should be a setting, I remember a while back where walls showed up in LOS after being built because of some "optimization" or "somthing" and I cannot remember if that was even fixed but it is a good question. I'd say lua it but I don't think that is the right solution.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Com Counter Display

Post by Jazcash »

smoth wrote:
Jazcash wrote:My opinion is that if you can see wrecks anywhere on the map then it's no biggie knowing whose units they were created from. Personally, if it was my say, I'd disable wrecks showing when not in LOS anyway
IIRC that should be a setting, I remember a while back where walls showed up in LOS after being built because of some "optimization" or "somthing" and I cannot remember if that was even fixed but it is a good question. I'd say lua it but I don't think that is the right solution.
It is! It is Lua though, and it's a hacky sort of work around. Not sure how it works but it's definitely not a good solution.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Com Counter Display

Post by smoth »

If it is manually setting the LOS setting of the feature, that is the solution I was saying is no good. if it is a configuration setting, then there should be a mod option for that.
klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: Com Counter Display

Post by klapmongool »

Jazcash wrote:
klapmongool wrote:This widget does idd seem to have some cheating sideeffects. Now that it works properly we should ask BA devs to adjust BA to make sure this widget doesnt work like it does now.. :)
My opinion is that if you can see wrecks anywhere on the map then it's no biggie knowing whose units they were created from. Personally, if it was my say, I'd disable wrecks showing when not in LOS anyway.

But anywho, it doesn't have any "cheating side-effects". If it's exposing what the game is freely giving away via Lua then it's simply utilising the valid outputs, it's not doing anything naughty.

Besides, other people have widgets that do the same thing. Like I said before if there's a cheating widget out there, it's better that everybody has it rather than just a select few, otherwise it is unfair.
Thus I think that BA should be adjusted so that info isn't given away anymore.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Com Counter Display

Post by Jazcash »

klapmongool wrote:
Jazcash wrote:
klapmongool wrote:This widget does idd seem to have some cheating sideeffects. Now that it works properly we should ask BA devs to adjust BA to make sure this widget doesnt work like it does now.. :)
My opinion is that if you can see wrecks anywhere on the map then it's no biggie knowing whose units they were created from. Personally, if it was my say, I'd disable wrecks showing when not in LOS anyway.

But anywho, it doesn't have any "cheating side-effects". If it's exposing what the game is freely giving away via Lua then it's simply utilising the valid outputs, it's not doing anything naughty.

Besides, other people have widgets that do the same thing. Like I said before if there's a cheating widget out there, it's better that everybody has it rather than just a select few, otherwise it is unfair.
Thus I think that BA should be adjusted so that info isn't given away anymore.
I agree, unfortunately, Beherith disagrees :P
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Com Counter Display

Post by very_bad_soldier »

It should not be possible to reliable tell the amount of enemy coms ingame at any time... My opinion...
Not the widgets fault ofc
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Com Counter Display

Post by jamerlan »

with latest com counter I got (very rare):
[f=0079132] Error in GameFrame(): [string "LuaUI/Widgets/gui_comCounter.lua"]:404: attempt to concatenate local 'pName' (a nil value)
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Com Counter Display

Post by BrainDamage »

oh, I already fixed that a while ago, but forgot to publish ( link contains several other fixes ):
http://springrts.com/phpbb/download/fil ... ew&id=7888
Attachments
gui_comCounter.lua
(16.37 KiB) Downloaded 25 times
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Com Counter Display

Post by Silentwings »

It should not be possible to reliable tell the amount of enemy coms ingame at any time...
Do you know if its possible to implement this without engine changes?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Com Counter Display

Post by smoth »

create alternative gadget based methods with gadget controled restrictions on who can know what about the "commander" units.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Com Counter Display

Post by jamerlan »

BrainDamage wrote:oh, I already fixed that a while ago, but forgot to publish ( link contains several other fixes ):
http://springrts.com/phpbb/download/fil ... ew&id=7888
Great, thank you! :-)
The_Uber_Noob
Posts: 8
Joined: 12 Oct 2008, 14:56

Re: Com Counter Display

Post by The_Uber_Noob »

Agree with Klapmongol and very_bad_soldier: this widget has some definite cheating side effects:

1. those who have it know how many coms the enemy has left: this unbalances the game in favour of those who have it

2. those who have it know who are the enemy techers because they self-d their com at the beginning

the fix, imho, is: either the widget does not give any info regarding enemy coms (just ally coms), or just info concerning coms the ally team can see, or, the widget be integrated into BA such that everyone has the same widget and same info.

just my two cents

PS: how do you move the dam counter from center of screen?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Com Counter Display

Post by Silentwings »

1. those who have it know how many coms the enemy has left: this unbalances the game in favour of those who have it
No. It frequently miscounts.
...or, the widget be integrated into BA
This has already happened.
the fix, imho, is: either the widget does not give any info regarding enemy coms
Wouldn't be a fix, because anyone can still write another widget to gain the same info.
PS: how do you move the dam counter from center of screen?
Ctrl+f11 and middle click drag I expect, that's usually how to move widgets.
Post Reply

Return to “Lua Scripts”