New widget: Enemy Spotter
Moderator: Moderators
Re: New widget: Enemy Spotter
http://springrts.com/wiki/Lua_SyncedRea ... sts.2FInfo
Spring.GetTeamInfo
Spring.GetTeamInfo
Re: New widget: Enemy Spotter
....so I did it myself
It now renders different colors for diffrent allyTeams
(defined 16 colors)
I've to mention that with 1v1v1v1v... it wont use the actual playercolors. So that might me a little unpleasant to the eye, but is still better than all having the same color anyway.
enjoy!
It now renders different colors for diffrent allyTeams
(defined 16 colors)
I've to mention that with 1v1v1v1v... it wont use the actual playercolors. So that might me a little unpleasant to the eye, but is still better than all having the same color anyway.
enjoy!
- Attachments
-
- gui_enemy_spotter.lua
- (7.82 KiB) Downloaded 73 times
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: New widget: Enemy Spotter
So your EnemySpotter version marks allies?Floris wrote: It now renders different colors for diffrent allyTeams
(defined 16 colors)
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: New widget: Enemy Spotter
No, it doesn't (I have a copy of Floris' version atm). It marks allyTeams all one colour, with different colours for different allyTeams, except your own one which is left blank.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: New widget: Enemy Spotter
very_bad_soldier wrote:So your EnemySpotter version marks allies?Floris wrote: It now renders different colors for diffrent allyTeams
(defined 16 colors)
Ok, now I am totally confused xDSilentwings wrote:No, it doesn't (I have a copy of Floris' version atm). It marks allyTeams all one colour, with different colours for different allyTeams, except your own one which is left blank.
Re: New widget: Enemy Spotter
Yes, naming is confusing... but thats jut the way it is around here.
An allyTeam = group of players (also called teams).
I am still working on another version
- severely graphically enhanced
- well adjustable
- fits teamplayer colors
- supports different styles and can be randomly generated.

An allyTeam = group of players (also called teams).
I am still working on another version
- severely graphically enhanced
- well adjustable
- fits teamplayer colors
- supports different styles and can be randomly generated.

Re: New widget: Enemy Spotter
than your widget better than TeamPlatter?
name = "TeamPlatter",
desc = "Shows a team color platter above all visible units",
author = "trepan",
date = "Apr 16, 2007",
name = "TeamPlatter",
desc = "Shows a team color platter above all visible units",
author = "trepan",
date = "Apr 16, 2007",
Floris wrote:Yes, naming is confusing... but thats jut the way it is around here.
An allyTeam = group of players (also called teams).
I am still working on another version
- severely graphically enhanced
- well adjustable
- fits teamplayer colors
- supports different styles and can be randomly generated.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: New widget: Enemy Spotter
Right now its an alternative to teamplatter - people are using both and so, even though this and teamplatter can't really be used together, we keep both widgets in ba.
Re: New widget: Enemy Spotter
My widget is different because calling it 'AllySpotter' would match its functionality.
I am not sure about how to release it yet.
I will update the regular enemyspotter without the fancy options. (Using teamcolors if allyteams > 4)
And release the new one with the fancy options (which hasnt got a name yet). And each mod owner can just adjust it to their liking and bundle it with their mod.
But... It still needs a lot of tweaking in the part that generates random spotter circles if you ask me.
A feature I think would be nice to have is to retrieve each player trueskill value and use this as the number of stripes it renders, so you can see the skill of your opponent(s)
I am not sure about how to release it yet.
I will update the regular enemyspotter without the fancy options. (Using teamcolors if allyteams > 4)
And release the new one with the fancy options (which hasnt got a name yet). And each mod owner can just adjust it to their liking and bundle it with their mod.
But... It still needs a lot of tweaking in the part that generates random spotter circles if you ask me.
A feature I think would be nice to have is to retrieve each player trueskill value and use this as the number of stripes it renders, so you can see the skill of your opponent(s)
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: New widget: Enemy Spotter
Looks kinda cool!
How much does it cost compared to regular EnemySpotter perfomance wise?
How much does it cost compared to regular EnemySpotter perfomance wise?
Re: New widget: Enemy Spotter
not so much.. i only notice like 1..4 fps difference with on and off


- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: New widget: Enemy Spotter
Hm, means a perfomance drop of up to >10%. Thats imo quite a huge impact for a single widet, no?
Re: New widget: Enemy Spotter
nah that was with like 900+ units on screen when i tested, the diffrence with the plain enemyspotter really is minimal
(tested on mobile HD4670 gpu and MT client)
(tested on mobile HD4670 gpu and MT client)
Re: New widget: Enemy Spotter
(when allyTeams < 4 it will pick enemy teamcolors, when > 3 it will pick some standard colors defined in the config)
Also a video showing the FX version in action: (not released yet)
http://www.youtube.com/watch?v=zEM4O27K4Fs
edit: I must admit that without some AntiAliasing it doesnt look good, quitte odd really
Also a video showing the FX version in action: (not released yet)
http://www.youtube.com/watch?v=zEM4O27K4Fs
edit: I must admit that without some AntiAliasing it doesnt look good, quitte odd really
Last edited by Floris on 19 Mar 2013, 01:09, edited 2 times in total.
Re: New widget: Enemy Spotter
(the one without the fancy circles)
- Attachments
-
- gui_enemy_spotter.lua
- (9.78 KiB) Downloaded 19 times
Re: New widget: Enemy Spotter
I recently picked up the project again and the new 'enemyspotter fx' is availible.
It shows a config panel when pressing ctrl+f11
You can set it to use trueskill values, so you can see if your enemy is a capable player instantly.
note: I only tested the widget with BA.
edit: on request I added option to draw the enemyspotter for own team when playing
It shows a config panel when pressing ctrl+f11
You can set it to use trueskill values, so you can see if your enemy is a capable player instantly.
note: I only tested the widget with BA.
edit: on request I added option to draw the enemyspotter for own team when playing
- Attachments
-
- EnemySpotterFX.zip
- (20.87 KiB) Downloaded 15 times
Last edited by Floris on 31 Jan 2014, 01:43, edited 2 times in total.
Re: New widget: Enemy Spotter
i would like a super lightweight platter plugin with best information vs performance value
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: New widget: Enemy Spotter
Your tweakmode UI does not work, floris.