Page 1 of 1
BlastRadius / GhostSite / UnitMarker
Posted: 25 Apr 2009, 18:04
by very_bad_soldier
These are the widgets split up from DefenseRange:
Blast Radius
-Shows the blast radius of currently selected units (Select units, then hold SPACE+X)
-Shows blast radius of a building while placing it (hole SPACE while placing). Blast radii for multiple buildings (building blocks) are not supported currently
Ghost Site
-Adds ghosted buildings for buildings under construction (in green)
-Adds ghosted features (like DragonTeeth/FortificationWall)
Unit Marker
Marks special buildings or units of interest on sight.
You can put a unit list into the widget for each mod, so adding your own units or mods is easy. By default, BA's and CA's Nukes and AntiNukes get marked.
When multiple players in one game use this, the marker is only placed once.
You can download them in SpringDownloader or use the web-interface:
http://spring.vsync.de/luaManager/
Re: BlastRadius / GhostSite / UnitMarker
Posted: 26 Apr 2009, 03:52
by Neddie
GhostSite and UnitMarker - For Dicks.
I'm just being harsh, good work very_bad.
Re: BlastRadius / GhostSite / UnitMarker
Posted: 26 Apr 2009, 09:05
by REVENGE
Nice. Back in August, I pirated your defensive range widget and made my own unit marking widget. Might dump this and make a custom version again.
And neddie is right btw, admins pretty much wanted to kick me when I had scouts marked XD.
Re: BlastRadius / GhostSite / UnitMarker
Posted: 27 Apr 2009, 23:57
by TheFatController
Gonna add this to these for the next BA:
Code: Select all
function widget:GameStart()
for i, widget in ipairs(widgetHandler.widgets) do
if (widget:GetInfo().name == 'Defense Range') then
local version = tonumber(string.match(widget:GetInfo().desc,'%d+%.%d+'))
if version and (version < tonumber("6")) then
widgetHandler:RemoveWidget(widget)
end
end
end
end
This way if someone has an older Defense Range in their /luaui/ folder the functionality wont be reproduced.
Re: BlastRadius / GhostSite / UnitMarker
Posted: 28 Apr 2009, 00:48
by Jazcash
Could the unit marker be modified to tag decoy Coms?
Re: BlastRadius / GhostSite / UnitMarker
Posted: 28 Apr 2009, 01:30
by Beherith
Commander nametags already does that

Re: BlastRadius / GhostSite / UnitMarker
Posted: 28 Apr 2009, 01:38
by lurker
On enemy units? Are you misreading the question or has a bug cropped up in the unitdef hiding that I missed.
Re: BlastRadius / GhostSite / UnitMarker
Posted: 03 May 2009, 10:02
by REVENGE
lurker wrote:On enemy units? Are you misreading the question or has a bug cropped up in the unitdef hiding that I missed.
No, fucker got my hopes up too.

Re: BlastRadius / GhostSite / UnitMarker
Posted: 15 May 2009, 15:10
by manolo_
help me again, why isnt it working with xta?
Re: BlastRadius / GhostSite / UnitMarker
Posted: 15 May 2009, 18:22
by very_bad_soldier
Cause this line clears the whole table and you have it in the code after filling the table:
This line is only needed once before filling the table.
Re: BlastRadius / GhostSite / UnitMarker
Posted: 16 May 2009, 08:20
by manolo_
thx,
include xta for the next time, so i dont have to ask :D
Re: BlastRadius / GhostSite / UnitMarker
Posted: 17 Jul 2009, 17:13
by manolo_
could the unit marker stop to spam more than one mark per object (if several players have the same units within the widget)?
Re: BlastRadius / GhostSite / UnitMarker
Posted: 18 Jul 2009, 15:37
by very_bad_soldier
could you take the time and test it with me?
Re: BlastRadius / GhostSite / UnitMarker
Posted: 18 Jul 2009, 15:40
by manolo_
very_bad_soldier wrote:could you take the time and test it with me?
sure